Update macro.lua

Add forward_add_intro to macro.lua.
This commit is contained in:
FusionPBX
2016-07-29 09:46:56 -06:00
committed by GitHub
parent 3b438f5d0e
commit 795113c2b1

View File

@@ -214,6 +214,12 @@
table.insert(actions, {app="streamFile",data="voicemail/vm-press.wav"});
table.insert(actions, {app="streamFile",data="digits/5.wav"});
end
--To add an introduction to this message press 1
if (name == "forward_add_intro") then
table.insert(actions, {app="streamFile",data="voicemail/vm-forward_add_intro.wav"});
table.insert(actions, {app="streamFile",data="voicemail/vm-press.wav"});
table.insert(actions, {app="streamFile",data="digits/1.wav"});
end
--To forward this message press 8
if (name == "to_forward_message") then
table.insert(actions, {app="streamFile",data="voicemail/vm-to_forward.wav"});
@@ -304,4 +310,4 @@
return '';
end
end
end
end