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:
Mark Crane
2013-08-13 06:09:45 +00:00
parent f6bd332d16
commit 4da0178365
3 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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