Merge 6c99c32ca9 into 7d51c8cdd5
This commit is contained in:
commit
66625745ff
|
|
@ -123,6 +123,25 @@
|
||||||
</input>
|
</input>
|
||||||
</macro>
|
</macro>
|
||||||
|
|
||||||
|
<macro name="voicemail_deleted_message_count">
|
||||||
|
<input pattern="^(1):(.*)$" break_on_match="true">
|
||||||
|
<match>
|
||||||
|
<action function="play-file" data="voicemail/vm-you_have.wav"/>
|
||||||
|
<action function="say" data="$1" method="pronounced" type="items"/>
|
||||||
|
<action function="play-file" data="voicemail/vm-$2.wav"/>
|
||||||
|
<action function="play-file" data="voicemail/vm-message.wav"/>
|
||||||
|
</match>
|
||||||
|
</input>
|
||||||
|
<input pattern="^(\d+):(.*)$">
|
||||||
|
<match>
|
||||||
|
<action function="play-file" data="voicemail/vm-you_have.wav"/>
|
||||||
|
<action function="say" data="$1" method="pronounced" type="items"/>
|
||||||
|
<action function="play-file" data="voicemail/vm-$2.wav"/>
|
||||||
|
<action function="play-file" data="voicemail/vm-messages.wav"/>
|
||||||
|
</match>
|
||||||
|
</input>
|
||||||
|
</macro>
|
||||||
|
|
||||||
<macro name="voicemail_menu">
|
<macro name="voicemail_menu">
|
||||||
<input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
|
<input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">
|
||||||
<match>
|
<match>
|
||||||
|
|
|
||||||
|
|
@ -79,13 +79,13 @@
|
||||||
if (debug["info"]) then
|
if (debug["info"]) then
|
||||||
freeswitch.consoleLog("notice", "[voicemail][deleted] message: " .. uuid .. "\n");
|
freeswitch.consoleLog("notice", "[voicemail][deleted] message: " .. uuid .. "\n");
|
||||||
end
|
end
|
||||||
|
message_number = message_number + 1;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
--clear the variable
|
--clear the variable
|
||||||
db_voicemail_uuid = '';
|
db_voicemail_uuid = '';
|
||||||
messages_to_delete = {};
|
messages_to_delete = {};
|
||||||
|
|
||||||
--flush dtmf digits from the input buffer
|
--flush dtmf digits from the input buffer
|
||||||
session:flushDigits();
|
session:flushDigits();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue