How does the 1900 implement the function of displaying the same number for outgoing calls from multiple numbers?
53Different outgoing calling numbers can be displayed as a corresponding unified calling number. To achieve so, configure the trunk bearer and the call source.
Number requirements:
An enterprise has two switchboard numbers 88881234 and 88885678 and two departments that are allocated with extension numbers 6000-6009 and 8000-8009 respectively. It is required that internal enterprise users use short numbers to call each other, 88881234 be displayed as the calling number for short numbers 6000-6009, and 88885678 be displayed as the calling number for short numbers 8000-8009. Assume that 9 is used as the outgoing prefix.
Requirements analysis:
Add two switchboard numbers, and configure the number change rule to change outgoing calling numbers to 88881234. At this moment, 88881234 is also displayed as the calling number for numbers starting with 8, which does not meet requirements. Trunk bearers can be configured, together with the call source, to perform number change for numbers starting with 8 so that 88885678 is displayed as the calling number for the numbers starting with 8. The following procedure starts from the number change configuration and assumes that both the office route and office route selection code are 0. For details about how to configure trunks and allocate numbers, see the relevant guide.
Configuration procedure:
Step 1 Run the following commands to add three number change indexes.
config add predeal index 1 changetype delete changepos 0 changelen 1
config add predeal index 2 changetype modify changepos 0 changelen 4 newdn 88881234
config add predeal index 3 changetype modify changepos 0 changelen 4 newdn 88885678
Step 2 Create outgoing prefix 9, configure 88881234 as the calling number (that is, calling number change uses index 2), bind outgoing prefix 9 to office route selection code 0, and route calls through the trunk whose office route is 0.
config add prefix dn 9 callcategory basic callattribute local cldpredeal yes cldindex 1 officeselectcode 0 clipredeal yes cliindex 2
Step 3 Add numbers starting with 8 to another call source.
config add callsource no 1
config modify subs dn 8000 callsourceno 1 number 10
Step 4 Configure route reanalysis so that users can use numbers belonging to call source 1 to make outgoing calls.
conf add routeanalysis officeselectcode 0 callsourceno 1 officeno 0
Step 5 Add trunk bearers so that when all calls whose call source is 1 pass through the trunk, number change is performed again for the calling numbers according to rules.
conf add tgld callsourceno 1 officeno 0 protocol pra prefix 0 clipredeal yes cliindex 3
conf add tgld callsourceno 1 officeno 0 protocol pra prefix 1 clipredeal yes cliindex 3
conf add tgld callsourceno 1 officeno 0 protocol pra prefix 2 clipredeal yes cliindex 3
conf add tgld callsourceno 1 officeno 0 protocol pra prefix 3 clipredeal yes cliindex 3
conf add tgld callsourceno 1 officeno 0 protocol pra prefix 4 clipredeal yes cliindex 3
conf add tgld callsourceno 1 officeno 0 protocol pra prefix 5 clipredeal yes cliindex 3
conf add tgld callsourceno 1 officeno 0 protocol pra prefix 6 clipredeal yes cliindex 3
conf add tgld callsourceno 1 officeno 0 protocol pra prefix 7 clipredeal yes cliindex 3
conf add tgld callsourceno 1 officeno 0 protocol pra prefix 8 clipredeal yes cliindex 3
conf add tgld callsourceno 1 officeno 0 protocol pra prefix 9 clipredeal yes cliindex 3
In the preceding trunk bearer configuration commands, the prefix parameter applies to the called numbers after number change. At this moment, outgoing prefix 9 has been removed from the called numbers. The digit following 9 can range from 0 to 9. Therefore, 10 trunk bearers need to be added so that different calling numbers are displayed for numbers starting with different digits.