Update macro.lua
This commit is contained in:
parent
ad93950d25
commit
4490709b23
|
|
@ -39,15 +39,13 @@
|
||||||
end
|
end
|
||||||
--the person at extension 101 is not available record your message at the tone press any key or stop talking to end the recording
|
--the person at extension 101 is not available record your message at the tone press any key or stop talking to end the recording
|
||||||
if (name == "person_not_available_record_message") then
|
if (name == "person_not_available_record_message") then
|
||||||
local voicemail_greet_id
|
|
||||||
table.insert(actions, {app="streamFile",data="voicemail/vm-person.wav"});
|
table.insert(actions, {app="streamFile",data="voicemail/vm-person.wav"});
|
||||||
--pronounce the voicemail_id
|
--pronounce the voicemail_id
|
||||||
if (session:getVariable("voicemail_alternate_greet_id")) then
|
if (session:getVariable("voicemail_alternate_greet_id")) then
|
||||||
voicemail_greet_id = session:getVariable("voicemail_alternate_greet_id");
|
table.insert(actions, {app="say.number.iterated",data=voicemail_alternate_greet_id});
|
||||||
else
|
else
|
||||||
voicemail_greet_id = voicemail_id;
|
table.insert(actions, {app="say.number.iterated",data=voicemail_greet_id});
|
||||||
end
|
end
|
||||||
table.insert(actions, {app="say.number.iterated",data=voicemail_greet_id});
|
|
||||||
table.insert(actions, {app="streamFile",data="voicemail/vm-not_available.wav"});
|
table.insert(actions, {app="streamFile",data="voicemail/vm-not_available.wav"});
|
||||||
end
|
end
|
||||||
--record your message at the tone press any key or stop talking to end the recording
|
--record your message at the tone press any key or stop talking to end the recording
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue