Voicemail use tail calls (#5984)
reference https://www.lua.org/pil/6.3.html
This commit is contained in:
parent
17a7dff859
commit
7fd5f53384
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue