mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
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:
@@ -410,7 +410,8 @@
|
|||||||
|
|
||||||
--follow the forwards
|
--follow the forwards
|
||||||
count, destination_number = get_forward_all(0, row.destination_number, leg_domain_name);
|
count, destination_number = get_forward_all(0, row.destination_number, leg_domain_name);
|
||||||
|
row['destination_number'] = destination_number
|
||||||
|
|
||||||
--check if the user exists
|
--check if the user exists
|
||||||
cmd = "user_exists id ".. destination_number .." "..domain_name;
|
cmd = "user_exists id ".. destination_number .." "..domain_name;
|
||||||
user_exists = api:executeString(cmd);
|
user_exists = api:executeString(cmd);
|
||||||
|
|||||||
Reference in New Issue
Block a user