Update index.lua
This commit is contained in:
parent
0fa4daf938
commit
5cddd37b85
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue