Example for Connecting an AR to a Cisco CUCM Through a SIP IP Trunk Highlighted

Created Feb 09, 2017 15:48:31Latest reply Feb 10, 2017 08:51:09 2642 1 0 0

Overview

The PBX supports three types of SIP trunk groups: SIP AT0, SIP PRA, and SIP IP. A SIP IP trunk group implements voice communication between PBX users and inter-office users.

SIP Overview

SIP is an application-layer signaling protocol that creates, modifies, and releases sessions of one or more parties.

Trunk Overview

A trunk is a logical link between two exchange offices. Inter-office calls must be transmitted by trunks. A trunk is bound to the signaling and media addresses of the local office and signaling address of the remote office so that a channel can be established between local and remote offices.

SIP Trunk Overview

A SIP trunk uses SIP to connect to the remote device through an Ethernet cable.

Unlike a circuit trunk that defines a physical channel, a SIP trunk defines a logical channel and solves authentication and addressing problems between local and remote offices.

Table 1-1 describes transport protocols used by the SIP trunk.

Table 1-1 Transport protocols that can be used by a SIP trunk

Transport Protocol

Description

UDP

Connectionless transport-layer protocol that provides event-based, simplified, and unreliable information transmission. When UDP is used to transmit data, each datagram is independent and contains the source and destination. Because UDP is unreliable, data may not reach the destination, and the time data reaches the destination and data integrity cannot be ensured.

TCP

Connection-oriented protocol. Before data transmission, both ends must establish a virtual channel.

 

The PBX at one end of a SIP IP trunk does not need to register with the device at the other end. When you configure a SIP IP trunk for a PBX, the remote end must support the SIP IP trunk, as shown in Figure 1-1.

Figure 1-1 Networking of SIP IP trunk groups

20170209161940785.png

 

Configuration Notes

Table 1-2 describes the applicable product models and versions.

Table 1-2 Matching product models and versions

Device Vendor

Product Model

Version

Huawei

AR1220

Later versions of V100R005C20

Cisco

CUCM

-

 

Networking Requirements

In Figure 1-2, the AR1220 connects to the phone of user 82000 and Cisco CUCM connects to the phone of user 80001. The AR1220 connects to the Cisco CUCM through a SIP trunk so that the user of the Cisco CUCM can make intra-office calls through the SIP trunk.

Figure 1-2 Connecting the AR1220 to the Cisco CUCM through a SIP trunk

20170209161953017.png 

Data Plan

Before the configuration, plan data according to Table 1-3 and Table 1-4. The data in this document is used for reference only.

Table 1-3 Data preparation for connecting the AR to the Cisco CUCM

Device Vendor

Data

Administrator user name and password of the AR

admin/huawei123

User connected to the AR

82000

User connected to the Cisco CUCM

80001  

 

Table 1-4 Plan of the SIP IP trunk

Signaling IP Address

Port Number

Media IP Address

Remote IP Address

Remote Port Number

Route

10.1.1.2

5070

10.1.1.2

10.1.1.3

5060

SIP

 

Configuration Procedure

Configuring the AR

Configuration Roadmap

The configuration roadmap is as follows:

1.      Configure a voice user.

2.      Configure a call route and a SIP trunk group.

3.      Configure intra-office and inter-office call prefixes.

Procedure

                      Step 1    Configure a voice user.

<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 82000 pots
[Huawei-voice-pbxuser-82000] port 1/0/0
[Huawei-voice-pbxuser-82000] telno 82000
[Huawei-voice-pbxuser-82000] quit

                      Step 2    Configure a call route UCM.

[Huawei] voice
[Huawei-voice] callroute UCM
[Huawei-voice-callroute-UCM] quit

                      Step 3    Create and configure a trunk group UCM1.

[Huawei-voice] trunk-group UCM1 sip no-register
[Huawei-voice-trunkgroup-UCM1] callroute UCM
[Huawei-voice-trunkgroup-UCM1] signalling-address ip 10.1.1.2 port 5070
[Huawei-voice-trunkgroup-UCM1] media-ip 10.1.1.2
[Huawei-voice-trunkgroup-UCM1] peer-address static 10.1.1.3 5060
[Huawei-voice-trunkgroup-UCM1] home-domain 10.1.1.3
[Huawei-voice-trunkgroup-UCM1] number-parameter 53 0
[Huawei-voice-trunkgroup-UCM1] reset
[Huawei-voice-trunkgroup-UCM1] quit
[Huawei-voice] 
 Note: Trunkgroup reset succeeds.

                      Step 4    Configure intra-office and inter-office call prefixes.

# Configure an intra-office call prefix. Create a call prefix profile 82, set the call prefix to 82, specify the basic service, configure the intra-office call, and set the maximum and minimum lengths of a number that can be parsed to 5 and 2 respectively.

[Huawei-voice] callprefix 82
[Huawei-voice-callprefix-82] prefix 82
[Huawei-voice-callprefix-82] call-type category basic-service attribute 0
[Huawei-voice-callprefix-82] digit-length 2 5
[Huawei-voice-callprefix-62] quit

# Configure an inter-office call prefix. Create a call prefix profile 80, set the call prefix to 80, specify the basic service, configure the local call, and set the maximum and minimum lengths of a number that can be parsed to 5 and 2 respectively.

[Huawei-voice] callprefix 80
[Huawei-voice-callprefix-80] prefix 80
[Huawei-voice-callprefix-80] call-type category basic-service attribute 1
[Huawei-voice-callprefix-80] callroute UCM
[Huawei-voice-callprefix-80] digit-length 2 5
[Huawei-voice-callprefix-80] quit

                      Step 5    Save the configuration.

[Huawei-voice] save

----End

Configuring the Cisco CUCM

Configuration Roadmap

The configuration roadmap is as follows:

1.      Configure a SIP trunk.

2.      Configure parameters of the remote device, such as the IP address and port number.

3.      Configure a routing rule.

Procedure

                      Step 1    Access the CUCM main menu and choose Device > Trunk to access the Trunk Configuration page, as shown in Figure 1-18. Set Trunk Type to SIP Trunk, specify SIP, and click Next.

Figure 1-3 Trunk configuration

20170209154824590003.png

 

                      Step 2    In Device Information, enter parameters of the remote device, such as the name of the remote device, as shown in Figure 1-19.

Figure 1-4 Device information

20170209154825838004.png

 

                      Step 3    In SIP Information, enter the IP address and port number of the remote device, as shown in Figure 1-20.

Figure 1-5 SIP information

20170209154826626005.png

 

                      Step 4    Click Save to save configured parameters. Click Reset to make the configuration take effect.

                      Step 5    Choose Call Routing > Route/Hunt > Route Pattern to configure a routing rule. The routing rule is triggered when the Cisco CUCM receives a called number that starts with 82 and has three characters following 82. Select the IP address of the CUCM from the Gateway/Router List drop-down list box. Click Save to save the configuration, as shown in Figure 1-21.

Figure 1-6 Configuring a routing rule

20170209154827558006.png

 

----End

Verification

When the user of phone 80001 calls the user of phone 82000, phone 82000 rings.

Exception Handling

If the communication fails, run the debugging voice sipmsg all command to enable log collection of the sipmsg module and contact technical support personnel.

 

This post was last edited by 关关系列 at 2017-2-9 16:19.
  • x
  • convention:

gululu  Admin   Created Feb 10, 2017 08:51:09 Helpful(0) Helpful(0)

thanks for your sharing
  • x
  • convention:

Come on!

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top