Ring Group Member - Call Forward (#2951)

After checking for Call Forward loops, set the destination_number to the call forward target.
This commit is contained in:
konradSC 2018-01-08 14:14:08 -05:00 committed by FusionPBX
parent 0d887276e5
commit e8b8f559c3
1 changed files with 2 additions and 1 deletions

View File

@ -410,7 +410,8 @@
--follow the forwards
count, destination_number = get_forward_all(0, row.destination_number, leg_domain_name);
row['destination_number'] = destination_number
--check if the user exists
cmd = "user_exists id ".. destination_number .." "..domain_name;
user_exists = api:executeString(cmd);