Update index.lua

This commit is contained in:
FusionPBX 2017-09-12 14:32:13 -05:00 committed by GitHub
parent 620eaf86d4
commit 7ab304399c
1 changed files with 1 additions and 1 deletions

View File

@ -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