Update macro.lua
This commit is contained in:
parent
c33853f88c
commit
e7ecc27901
|
|
@ -41,7 +41,12 @@
|
||||||
if (name == "person_not_available_record_message") then
|
if (name == "person_not_available_record_message") then
|
||||||
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
|
||||||
table.insert(actions, {app="say.number.iterated",data=voicemail_id});
|
if (session:getVariable("voicemail_alternate_greet_id")) then
|
||||||
|
local voicemail_greet_id = session:getVariable("voicemail_alternate_greet_id");
|
||||||
|
else
|
||||||
|
local voicemail_greet_id = voicemail_id;
|
||||||
|
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