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 1073fc21ce
commit 4bcbc7edee

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);