Update index.lua

This commit is contained in:
FusionPBX 2019-09-02 08:29:25 -06:00 committed by GitHub
parent 01f11b4153
commit 312f3655a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -301,8 +301,12 @@
--set the outbound caller id
if (session:ready() and caller_is_local) then
caller_id_name = outbound_caller_id_name;
caller_id_number = outbound_caller_id_number;
if (outbound_caller_id_name ~= nil) then
caller_id_name = outbound_caller_id_name;
end
if (outbound_caller_id_number ~= nil) then
caller_id_number = outbound_caller_id_number;
end
end
--set the caller id
@ -403,4 +407,3 @@
end
end
end