Update index.lua

Get the sip_from_user and sip_number_alias from the session.
This commit is contained in:
FusionPBX 2016-11-23 01:20:00 -07:00 committed by GitHub
parent 571e42508f
commit cb987f24b9
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@
record_silence_threshold = 300;
end
voicemail_authorized = session:getVariable("voicemail_authorized");
sip_from_user = session:getVariable("sip_from_user");
sip_number_alias = session:getVariable("sip_number_alias");
if (not vm_message_ext) then vm_message_ext = 'wav'; end
--set the sounds path for the language, dialect and voice