Update index.lua
This commit is contained in:
parent
44528780b0
commit
4b1cd6d7eb
|
|
@ -199,10 +199,10 @@
|
|||
|
||||
--set the caller id
|
||||
if (session:ready()) then
|
||||
if (ring_group_cid_name_prefix ~= nil) then
|
||||
if (ring_group_cid_name_prefix ~= nil and string.len(ring_group_cid_name_prefix) > 0) then
|
||||
session:execute("export", "effective_caller_id_name="..ring_group_cid_name_prefix.."#"..caller_id_name);
|
||||
end
|
||||
if (ring_group_cid_number_prefix ~= nil) then
|
||||
if (ring_group_cid_number_prefix ~= nil and string.len(ring_group_cid_number_prefix) > 0) then
|
||||
session:execute("export", "effective_caller_id_number="..ring_group_cid_number_prefix..caller_id_number);
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue