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:
parent
0d887276e5
commit
e8b8f559c3
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue