Play the message number first then the caller id number.
This commit is contained in:
@@ -46,6 +46,12 @@
|
|||||||
dtmf_digits = macro(session, "message_number", 1, 100, '');
|
dtmf_digits = macro(session, "message_number", 1, 100, '');
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
--say the number
|
||||||
|
if (session:ready()) then
|
||||||
|
if (string.len(dtmf_digits) == 0) then
|
||||||
|
session:say(message_number, default_language, "number", "pronounced");
|
||||||
|
end
|
||||||
|
end
|
||||||
--say the caller id number
|
--say the caller id number
|
||||||
if (session:ready() and caller_id_number ~= nil) then
|
if (session:ready() and caller_id_number ~= nil) then
|
||||||
if (vm_say_caller_id_number ~= nil) then
|
if (vm_say_caller_id_number ~= nil) then
|
||||||
@@ -55,12 +61,6 @@
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
--say the number
|
|
||||||
if (session:ready()) then
|
|
||||||
if (string.len(dtmf_digits) == 0) then
|
|
||||||
session:say(message_number, default_language, "number", "pronounced");
|
|
||||||
end
|
|
||||||
end
|
|
||||||
--say the message date
|
--say the message date
|
||||||
if (session:ready()) then
|
if (session:ready()) then
|
||||||
if (string.len(dtmf_digits) == 0) then
|
if (string.len(dtmf_digits) == 0) then
|
||||||
|
|||||||
Reference in New Issue
Block a user