mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 18:53:49 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user