Default settings will override channel variables
These two settings when enabled - message_caller_id_number - message_date_time Override the following channel variables - vm_say_caller_id_number - vm_say_date_time
This commit is contained in:
parent
9ef904fed1
commit
eda9ee41fb
|
|
@ -182,21 +182,17 @@
|
|||
end
|
||||
end
|
||||
|
||||
if (not vm_say_caller_id_number) then
|
||||
if (settings['voicemail']['message_caller_id_number'] ~= nil) then
|
||||
if (settings['voicemail']['message_caller_id_number']['text'] ~= nil) then
|
||||
vm_say_caller_id_number = settings['voicemail']['message_caller_id_number']['text'];
|
||||
end
|
||||
end;
|
||||
end
|
||||
|
||||
if (not vm_say_date_time) then
|
||||
if (settings['voicemail']['message_date_time'] ~= nil) then
|
||||
if (settings['voicemail']['message_date_time']['text'] ~= nil) then
|
||||
vm_say_date_time = settings['voicemail']['message_date_time']['text'];
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if (not vm_say_caller_id_number) then
|
||||
vm_say_caller_id_number = "before";
|
||||
|
|
|
|||
Loading…
Reference in New Issue