Update index.lua
This commit is contained in:
parent
620eaf86d4
commit
7ab304399c
|
|
@ -350,7 +350,7 @@
|
|||
destinations[x] = row;
|
||||
end
|
||||
--determine if the user is registered if not registered then lookup
|
||||
cmd = "sofia_contact ".. row.destination_number .."@" ..leg_domain_name;
|
||||
cmd = "sofia_contact */".. row.destination_number .."@" ..leg_domain_name;
|
||||
if (api:executeString(cmd) == "error/user_not_registered") then
|
||||
cmd = "user_data ".. row.destination_number .."@" ..leg_domain_name.." var forward_user_not_registered_enabled";
|
||||
if (api:executeString(cmd) == "true") then
|
||||
|
|
|
|||
Loading…
Reference in New Issue