Backwards comptability for these channel variables
- vm_say_caller_id_number - vm_say_date_time
This commit is contained in:
@@ -187,9 +187,7 @@
|
|||||||
if (settings['voicemail']['message_caller_id_number']['text'] ~= nil) then
|
if (settings['voicemail']['message_caller_id_number']['text'] ~= nil) then
|
||||||
vm_say_caller_id_number = settings['voicemail']['message_caller_id_number']['text'];
|
vm_say_caller_id_number = settings['voicemail']['message_caller_id_number']['text'];
|
||||||
end
|
end
|
||||||
end
|
end;
|
||||||
else
|
|
||||||
vm_say_caller_id_number = "before";
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if (not vm_say_date_time) then
|
if (not vm_say_date_time) then
|
||||||
@@ -198,7 +196,13 @@
|
|||||||
vm_say_date_time = settings['voicemail']['message_date_time']['text'];
|
vm_say_date_time = settings['voicemail']['message_date_time']['text'];
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
end
|
||||||
|
|
||||||
|
if (not vm_say_caller_id_number) then
|
||||||
|
vm_say_caller_id_number = "before";
|
||||||
|
end
|
||||||
|
|
||||||
|
if (not vm_say_date_time) then
|
||||||
vm_say_date_time = "before";
|
vm_say_date_time = "before";
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user