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 085b6e9419
commit eafabdb2ca

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