mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Update main_menu.lua
This commit is contained in:
@@ -29,7 +29,14 @@
|
||||
--clear the value
|
||||
dtmf_digits = '';
|
||||
--flush dtmf digits from the input buffer
|
||||
session:flushDigits();
|
||||
if (session ~= nil) then
|
||||
session:flushDigits();
|
||||
end
|
||||
--answer the session
|
||||
if (session ~= nil) then
|
||||
session:answer();
|
||||
session:execute("sleep", "1000");
|
||||
end
|
||||
--new voicemail count
|
||||
if (session:ready()) then
|
||||
local sql = [[SELECT count(*) as new_messages FROM v_voicemail_messages
|
||||
|
||||
Reference in New Issue
Block a user