Update index.lua
This commit is contained in:
@@ -301,8 +301,12 @@
|
|||||||
|
|
||||||
--set the outbound caller id
|
--set the outbound caller id
|
||||||
if (session:ready() and caller_is_local) then
|
if (session:ready() and caller_is_local) then
|
||||||
caller_id_name = outbound_caller_id_name;
|
if (outbound_caller_id_name ~= nil) then
|
||||||
caller_id_number = outbound_caller_id_number;
|
caller_id_name = outbound_caller_id_name;
|
||||||
|
end
|
||||||
|
if (outbound_caller_id_number ~= nil) then
|
||||||
|
caller_id_number = outbound_caller_id_number;
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--set the caller id
|
--set the caller id
|
||||||
@@ -403,4 +407,3 @@
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user