Backwards comptability for these channel variables

- vm_say_caller_id_number
- vm_say_date_time
This commit is contained in:
FusionPBX 2023-02-14 17:33:25 -07:00 committed by GitHub
parent 4c29c3c4cf
commit 9ef904fed1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -187,9 +187,7 @@
if (settings['voicemail']['message_caller_id_number']['text'] ~= nil) then
vm_say_caller_id_number = settings['voicemail']['message_caller_id_number']['text'];
end
end
else
vm_say_caller_id_number = "before";
end;
end
if (not vm_say_date_time) then
@ -198,7 +196,13 @@
vm_say_date_time = settings['voicemail']['message_date_time']['text'];
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";
end