How to specify the trunks for routing outgoing calls for specific users
101Example of configuring trunks for routing outgoing calls for specific users on the U1900:
Enable outgoing calls from numbers 8001 to 8010 to be routed through the trunk corresponding to office route 0, and calls from numbers 9001 to 9010 through the trunk corresponding to office route 1.
Step 1 Add two office routes and associate them with one office route selection code.
config add office no 0 officeselectcode 0
config add office no 1 officeselectcode 0
Step 2 Configure a prefix and associate it with the office route selection code.
config add prefix dn 9 callcategory basic callattribute ddd cldpredeal no officeselectcode 0
Step 3 Add a number change rule.
config add predeal index 1 changetype delete changepos 0 changelen 1
Step 4 Add two call sources.
Config add callsource no 1
Config add callsource no 2
Step 5 Add required numbers to the two call sources. Specifically, add 10 numbers starting from 8001 to call source 1 and 10 numbers starting from 9001 to call source 2.
config modify subs dn 8001 callsourceno 1 number 10
config modify subs dn 9001 callsourceno 2 number 10
Step 6 Configure route reanalysis.
config add routeanalysis officeselectcode 0 callsourceno 1 officeno 0
config add routeanalysis officeselectcode 0 callsourceno 2 officeno 1