mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-05 19:23:49 +00:00
Voicemail use tail calls (#5984)
reference https://www.lua.org/pil/6.3.html
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
if (debug["info"]) then
|
||||
freeswitch.consoleLog("notice", message_number.." "..string.lower(row["voicemail_message_uuid"]).." "..row["created_epoch"]);
|
||||
end
|
||||
listen_to_recording(message_number, string.lower(row["voicemail_message_uuid"]), row["created_epoch"], row["caller_id_name"], row["caller_id_number"], message_status);
|
||||
return listen_to_recording(message_number, string.lower(row["voicemail_message_uuid"]), row["created_epoch"], row["caller_id_name"], row["caller_id_number"], message_status);
|
||||
end
|
||||
end);
|
||||
end
|
||||
@@ -110,6 +110,6 @@
|
||||
--send back to the main menu
|
||||
if (session:ready()) then
|
||||
timeouts = 0;
|
||||
main_menu();
|
||||
return main_menu();
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user