Configuring a Call Route
A call route defines routing rules for outgoing calls, and is bound to a call prefix and a trunk group. After a call route is configured, the PBX can correctly route outgoing calls.
Context
A trunk group supports a maximum of 48 routes, and the system supports a maximum of 1024 routes.
When a user calls an inter-office user, the PBX extracts the inter-office call prefix from the number, finds a trunk group bound to the call prefix, and then finds the called party.
According to the example in Figure 2-32, the process of an outgoing call is as follows:
- Intra-office user 7001 calls inter-office user 8001.
- After the PBX receives the number, it finds the prefix in the DN set bound to the calling number.
- The PBX finds a trunk group bound to the call route according to inter-office call prefix 8.
- The PBX selects an inter-office line to PBX B according to trunk group 2.
Prerequisites
- The operations of Configuring a Call Prefix have been performed.
- The operations of Configuring Trunk Groups have been performed.
Procedure
Step |
Action |
Command |
---|---|---|
1 |
Enter the system view. |
system-view |
2 |
Enter the voice view. |
voice |
3 |
Create a call route. |
callroute callroute-name |
4 |
Return to the system view. |
quit |
5 |
Enter the call prefix profile view. |
callprefix callprefix-name |
6 |
Bind a call route to the call prefix. |
callroute callroute-name |
7 |
Return to the system view. |
quit |
8 |
Enter the SIP AT0 trunk group view. |
trunk-group trunk-group-name |
9 |
Bind a call route to the trunk group. |
callroute callroute-name |
10 |
Return to the system view. |
quit |
11 |
Save the configuration. |
save |
Follow-up Procedure
- Perform the operations of Configuring a Post-routing Number Change Plan.
- Configure the custom routing selection policy. For details, see Configuring Intelligent Routing.
Example
Bind inter-office call prefix 8 and trunk group pra01 to the call route route01. When an intra-office user dials the inter-office number starting from 8, the outgoing call is made over the trunk group pra01.
# Create a call route plan. <Huawei> system-view [Huawei] voice [Huawei-voice] callroute route01 [Huawei-voice-callroute-route01] quit # Bind a call prefix to the call route plan. [Huawei-voice] callprefix 8 [Huawei-voice-callprefix-8] callroute route01 [Huawei-voice-callprefix-8] quit # Bind a trunk group to the call route plan. [Huawei-voice] trunk-group pra01 [Huawei-voice-trunkgroup-pra01] callroute route01 [Huawei-voice-trunkgroup-pra01] save
Verification
Action |
Command |
Expected Result |
---|---|---|
Verify the call prefix configuration. |
display voice callprefix [ callprefix-name ] |
The value of Call route name is consistent with the setting. |
Verify the trunk group configuration. |
display voice trunk-group [ name [ para-value ] ] |
The value of Relate call route name is consistent with the setting. |