Configuring the Default Call Route
The default call route defines routing rules for inter-office calls, and is bound to a trunk group. A call for which no prefix can be matched is routed out through the default call route.
Context
When a user makes an inter-office call, the PBX analyzes the dialed number to obtain the inter-office call prefix. If the inter-office call prefix fails to be analyzed, the PBX sends the call request to the office where the called party is located through the trunk group corresponding to a call route bound to the default call route.
In Figure 2-33, the process of the inter-office call is as follows:
- Intra-office user 7001 calls inter-office user 8001.
- After collecting the digits, the PBX searches for the prefix in the DN set corresponding to the calling number.
- If no prefix is found, the PBX searches for the corresponding trunk group in the bound call routes based on the default call route.
- Based on the found trunk group (trunk group 2 in the preceding figure), the PBX routes the inter-office call to PBX B.
Prerequisites
Trunk groups have been configured. For details, see Configuring Trunk Groups.
Procedure
Step |
Operation |
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 |
Create a default call route and enter its view. |
default-callroute |
6 |
(Optional) Configure the enterprise and DN set to which the default call route belongs. |
enterprise enterprise-name dn-set dn-set-name |
7 |
Bind the call route to the default call route. |
callroute callroute-name |
8 |
Return to the system view. |
quit |
9 |
Enter the trunk group view. |
trunk-group trunk-group-name |
10 |
Bind the call route in the trunk group view. |
callroute callroute-name |
11 |
Return to the system view. |
quit |
12 |
Save the configuration. |
save |
Follow-up Procedure
Configure user-defined route selection policies. For details, see Configuring Intelligent Routing.
Configuration Example
Bind the default call route and trunk group pra01 to the call route route01 to route calls for which no prefix can be matched through the call route route01.
# Create a call route. <Huawei> system-view [Huawei] voice [huawei-voice] callroute route01 [huawei-voice-callroute-route01] quit # Bind the call route in the default call route view. [huawei-voice] default-callroute [Huawei-voice-default-callroute] enterprise default dn-set DefaultDialPlan [huawei-voice-default-callroute] callroute route01 [huawei-voice-default-callroute] quit # Bind the call route in the trunk group view. [huawei-voice] trunk-group pra01 [huawei-voice-trunkgroup-pra01] callroute route01 [huawei-voice-trunkgroup-pra01] save
Verification
Operation |
Command |
Expected Result |
---|---|---|
Display information about the default call route. |
display voice default-callroute |
<Huawei> display voice default-callroute Enterprise : default Dn-set : DefaultDialPlan Call route name : default Call route name : route01 |