Configuring Trunks

<< Click to Display Table of Contents >>

Navigation:  Configuration > Configuration Examples in Typical Scenarios > Traditional PBX Interworking Scenario >

Configuring Trunks

Navigation: Configuration > Configuration Examples in Typical Scenarios > Traditional PBX Interworking Scenario >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

This topic describes how to configure the office routes, prefixes, and trunks based on the data plan.

Procedure

1.Log in to the unified gateway web management system.

2.Configure number change indexes.

Add the following number change indexes:

ϒ⁄Add number change index 0, which is used to delete the first digit of the called number when an outgoing call is made.

ϒ⁄Add number change index 1, which is used to change the calling number of a non-DID user to the switchboard number 68907888 when an outgoing call is made.

ϒ⁄Add number change index 2, which is used to delete the first three digits of the called number when an outgoing call is made.

ϒ⁄Add number change index 3, which is used to configure the calling number change for re-routing, specifically, changing the calling numbers to the main number of the PBX.

To add a number change index, proceed as follows:

ϒ⁄Choose Trunk > Office Route Configuration > Number Change Index.

ϒ⁄Click Create, and set the relevant parameters.

ϒ⁄Click OK.

ϒ⁄Click Create, and configure number change index 1.

ϒ⁄Click Create, and configure number change index 2.

ϒ⁄Click Create, and configure number change index 3.

3.Configure office routes and office route selection codes.

In this scenario, the office routes and office route selection codes are the same and planned as follows:

ϒ⁄Connection to carrier B's network: 0. Whether to select a new route based on the standby office route selection code 1 corresponding to the failure processing index if the call fails to be routed according to the office route selection code 0.

ϒ⁄Connection to carrier A's network: 1.

ϒ⁄Connection to the traditional PBX: 2.

To configure office routes and office route selection codes, proceed as follows:

ϒ⁄Choose Trunk > Office Route Configuration > Office Route Selection Code.

ϒ⁄Click Create, and configure office route selection code 1.

ϒ⁄Click Create, and configure office route selection code 2.

ϒ⁄Choose Trunk > Office Route Configuration > Failure Processing Index.

ϒ⁄Click Create, and set the relevant parameters.

ϒ⁄Click OK.

ϒ⁄Choose Trunk > Office Route Configuration > Office Route Selection Code.

ϒ⁄Click Create, and set the relevant parameters.

ϒ⁄Click OK.

ϒ⁄Choose Trunk > Office Route Configuration > Office Route.

ϒ⁄Click Create, and set the relevant parameters.

ϒ⁄Click OK.

ϒ⁄Click Create, and configure office route 1.

ϒ⁄Click Create, and configure office route 2.

4.Configure the number mapping.

ϒ⁄Map numbers 68905000-83785009 to original user numbers 83785000-83785009 in the PBX.

ϒ⁄Map the number 68905888 to the original PBX switchboard number 83785888.

ϒ⁄Map numbers 0225000-0225019 to the original PBX user numbers 5000-5019. When unified gateway users directly dial the short numbers under the original PBX, the prefix 022 is added to the short numbers through the number mapping.

ϒ⁄Choose Trunk > Office Route Configuration > Number mapping.

ϒ⁄Click Create, and set the relevant parameters.

ϒ⁄Click OK.

Repeat step 4.a to step 4.c to configure other number mappings. Set the relevant parameters by referring to Table 1.

Table 1 Number mapping parameters

Internal Number

External Number

83785000-83785009

68905000-68905009

83785888

68905888

0225000-0225019

5010-5019

5.Configure intra-office prefixes.

When an intra-office subscriber or an external subscriber dials an intra-office number, the unified gateway analyzes whether the called party is an intra-office subscriber based on this prefix.

68907: Long number analysis prefix, based on which the unified gateway analyzes whether the called party is an intra-office subscriber when an intra-office or external subscriber dials the long number of an intra-office subscriber.

ϒ⁄Choose Trunk > Called Prefix Configuration.

ϒ⁄Click Create, and set the relevant parameters.

ϒ⁄Click OK.

6.Configure outgoing prefixes are routed out from the network of carrier B.

ϒ⁄Configure the outgoing prefixes 0 to 9, All outgoing calls are routed out from the network of carrier B through unified gateway. Make an outgoing call by dialing the called number without a prefix. The office direction selection code is 0. For DID subscribers, the long number is displayed; for non-DID subscribers, the main number is displayed.

ϒ⁄Configure the outgoing prefixes 1 to 9, All outgoing calls are routed out from the network of carrier B through unified gateway. Make an outgoing call by dialing the called number without a prefix. The office direction selection code is 0. For DID subscribers, the long number is displayed; for non-DID subscribers, the main number is displayed.

ϒ⁄The short numbers under the PBX (start with 5) or unified gateway (start with 7) may be the same as the first several digits of the local number, so prefix 5 and 7 must be configured as the intra-office or local call prefix. The office route selection code corresponding to the prefix is 0 and the corresponding office route is that of the unified gateway. The intra-office and inter-office numbers sent by the PBX are processed by the unified gateway.

ϒ⁄Configure outgoing prefix 5 to enable unified gateway subscribers to call PBX subscribers' short numbers. PBX subscribers can make outgoing calls that are routed out from the network of carrier B through unified gateway.

ϒ⁄Configure outgoing prefix 7 to enable the unified gateway subscribers to call each others' 4-digit short number and make prefix-free outgoing calls.

ϒ⁄Choose Trunk > Called Prefix Configuration.

ϒ⁄Click Create, and set the relevant parameters.

ϒ⁄Click OK.

Repeat step 6.a to step 6.c to add international toll call prefix 00 and local prefixes 1 to 4, 6, 8, and 9.

ϒ⁄Click Create, and configure prefix 5.

ϒ⁄Click Create, and configure prefix 7. The parameters values of prefix 7 is the same as that of prefix 5.

7.Configure a prefix for the subscribers under the unified gateway to dial the subscribers under the original PBX.

ϒ⁄Configure prefix 8378: Long number prefix for the subscribers under the unified gateway to dial the long numbers under the original PBX through the PRA trunk. During actual deployment, configure this prefix according to the distribution of the original numbers of customers.

ϒ⁄Configure prefix 022: Short number prefix for the subscribers under the unified gateway to directly dial the short numbers under the PBX.

ϒ⁄Configure prefix 68905: Intra-office users can dial the long numbers on the new number segment to call the DID users under the original PBX.

ϒ⁄Choose Trunk > Called Prefix Configuration.

ϒ⁄Click Create, and set the relevant parameters.

ϒ⁄Click OK.

ϒ⁄Click Create, and configure prefix 022.

ϒ⁄Click Create, and configure prefix 68905.

8.Configure the Trunk.

ϒ⁄Configure the PRA trunk through which the unified gateway connects to carrier B's network.

Add a PRA link. Set the link number to 0, slot number to 7, E1/T1 port number to 0, and position to user. This parameter must be set through negotiations with the peer office. Different values must be set for the two offices.

ϒ⁄Configure the PRA trunk through which the unified gateway connects to carrier A's network.

Add a PRA link. Set the link number to 1, slot number to 7, E1/T1 port number to 1, and position to user. This parameter must be set through negotiations with the peer office. Different values must be set for the two offices.

ϒ⁄Configure the SIP trunk for interworking with the original PBX.

ϒ⁄Choose Trunk > Trunk Configuration > PRA.

ϒ⁄Click Add A Peer Office.

ϒ⁄Click the connection line to configure the Trunk. Set the relevant parameters.

ϒ⁄Click OK.

The PRA trunk is connected to carrier B's network.

ϒ⁄Click Add A Peer Office.

ϒ⁄Click the connection line to configure the Trunk. Set the relevant parameters.

ϒ⁄Click OK.

ϒ⁄Choose Trunk > Trunk Configuration > SIP.

ϒ⁄Click Add A Peer Office.

ϒ⁄Click the connection line to configure the Trunk. Set the relevant parameters.

ϒ⁄Click OK.

The SIP trunk is connected to the original PBX.

9.Configure the clock source.

ϒ⁄If the unified gateway connects to an upper-level device through the E1/T1 trunk, clock source configuration ensures that time on the unified gateway and the upper-level device are synchronized. This prevents frame slip (voice packet loss).

ϒ⁄If the unified gateway connects to multiple devices through E1/T1 trunks, configure the clock source on any of these devices. The unified gateway will synchronize time with this device.

ϒ⁄If the unified gateway provides the clock source, you do not need to configure the clock source.

In this example, the unified gateway uses carrier B's time.

ϒ⁄Choose System > Clock Source Configuration.

ϒ⁄From the Select clock source drop-down list box, select the Peer device.

Configure the active clock source as prompted based on the installation information about the E1/T1 trunk connected to the peer device.

ϒ⁄Click OK.

10.Click Data Save in the upper right corner of the web management system.

public_sys-resources_notice_3.0-en-us

The unsaved configurations will be deleted after the device is restarted.

Follow-up Procedure

In the actual scenario, if the dialing mode of the customer is dialing without prefix, that is, making outgoing calls by directly dialing the called number, and if an intra-office short number is the same as the first several digits of a local call number, change the call attribute of the outgoing prefix to Local or Intra-Office Call (interlocal). Set the minimum number length to the number length for intra-office numbers and the maximum number length to the number length for outer-office numbers. At the same time, set the WaitNextNumTimerLen parameter.

Parent Topic: Traditional PBX Interworking Scenario

 

 

< Previous topic Next topic >