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:
parent
461f4465ef
commit
87dca160d6
|
|
@ -998,7 +998,7 @@
|
||||||
timeouts = 0;
|
timeouts = 0;
|
||||||
advanced();
|
advanced();
|
||||||
elseif (dtmf_digits == "0") then
|
elseif (dtmf_digits == "0") then
|
||||||
session:transfer("0", "XML", context);
|
main_menu();
|
||||||
elseif (dtmf_digits == "*") then
|
elseif (dtmf_digits == "*") then
|
||||||
dtmf_digits = '';
|
dtmf_digits = '';
|
||||||
macro(session, "goodbye", 1, 100, '');
|
macro(session, "goodbye", 1, 100, '');
|
||||||
|
|
@ -1116,7 +1116,8 @@
|
||||||
macro(session, "message_saved", 1, 100, '');
|
macro(session, "message_saved", 1, 100, '');
|
||||||
elseif (dtmf_digits == "9") then
|
elseif (dtmf_digits == "9") then
|
||||||
send_email(voicemail_id, uuid);
|
send_email(voicemail_id, uuid);
|
||||||
macro(session, "emailed", 1, 1000, '');
|
dtmf_digits = '';
|
||||||
|
macro(session, "emailed", 1, 100, '');
|
||||||
elseif (dtmf_digits == "*") then
|
elseif (dtmf_digits == "*") then
|
||||||
timeouts = 0;
|
timeouts = 0;
|
||||||
main_menu();
|
main_menu();
|
||||||
|
|
@ -1770,6 +1771,9 @@
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--close the database connection
|
||||||
|
dbh:release();
|
||||||
|
|
||||||
--notes
|
--notes
|
||||||
--record the video
|
--record the video
|
||||||
--records audio only
|
--records audio only
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue