mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-21 18:36:31 +00:00
Comment out uuid_display. It caused the call to switch codecs, interrupt the audio and added a dtmf delay to voicemail after pressing 1 for new messages or 2 for old messages. Also added a lua copy function.
This commit is contained in:
@@ -32,9 +32,9 @@
|
||||
--flush dtmf digits from the input buffer
|
||||
session:flushDigits();
|
||||
--set the display
|
||||
if (session:ready()) then
|
||||
reply = api:executeString("uuid_display "..session:get_uuid().." "..caller_id_number);
|
||||
end
|
||||
--if (session:ready()) then
|
||||
-- reply = api:executeString("uuid_display "..session:get_uuid().." "..caller_id_number);
|
||||
--end
|
||||
--say the message number
|
||||
if (session:ready()) then
|
||||
if (string.len(dtmf_digits) == 0) then
|
||||
|
||||
@@ -299,7 +299,7 @@
|
||||
elseif (row.app == "say.number.iterated") then
|
||||
session:say(row.data, default_language, "number", "iterated");
|
||||
end
|
||||
session:streamFile("silence_stream://100");
|
||||
--session:streamFile("silence_stream://100");
|
||||
end --if
|
||||
end --session:ready
|
||||
end --for
|
||||
|
||||
@@ -99,9 +99,9 @@
|
||||
end
|
||||
|
||||
--set the display
|
||||
if (session:ready()) then
|
||||
reply = api:executeString("uuid_display "..session:get_uuid().." "..destination_number);
|
||||
end
|
||||
--if (session:ready()) then
|
||||
-- reply = api:executeString("uuid_display "..session:get_uuid().." "..destination_number);
|
||||
--end
|
||||
|
||||
--send back to the main menu
|
||||
if (session:ready()) then
|
||||
|
||||
Reference in New Issue
Block a user