Voicemail - When reviewing voicemail the menu 0 goes to the main menu. When a voicemail is being left use 0 will send the call to the operator. When 9 is pressed fix the emailed notification.

This commit is contained in:
Mark Crane
2013-01-17 02:09:45 +00:00
parent 461f4465ef
commit 87dca160d6

View File

@@ -998,7 +998,7 @@
timeouts = 0;
advanced();
elseif (dtmf_digits == "0") then
session:transfer("0", "XML", context);
main_menu();
elseif (dtmf_digits == "*") then
dtmf_digits = '';
macro(session, "goodbye", 1, 100, '');
@@ -1116,7 +1116,8 @@
macro(session, "message_saved", 1, 100, '');
elseif (dtmf_digits == "9") then
send_email(voicemail_id, uuid);
macro(session, "emailed", 1, 1000, '');
dtmf_digits = '';
macro(session, "emailed", 1, 100, '');
elseif (dtmf_digits == "*") then
timeouts = 0;
main_menu();
@@ -1770,6 +1771,9 @@
end
end
--close the database connection
dbh:release();
--notes
--record the video
--records audio only