Update index.lua
Get the sip_from_user and sip_number_alias from the session.
This commit is contained in:
parent
085b6e9419
commit
eafabdb2ca
|
|
@ -91,6 +91,8 @@
|
||||||
record_silence_threshold = 300;
|
record_silence_threshold = 300;
|
||||||
end
|
end
|
||||||
voicemail_authorized = session:getVariable("voicemail_authorized");
|
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
|
if (not vm_message_ext) then vm_message_ext = 'wav'; end
|
||||||
|
|
||||||
--set the sounds path for the language, dialect and voice
|
--set the sounds path for the language, dialect and voice
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue