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