Hello everyone,
Today I will share with you the example for connecting an AR to a Cisco device through a BRE Trunk.
Overview
The Integrated Services Digital Network (ISDN) evolves from the Integrated Digital Network (IDN), provides end-to-end digital connections, and supports a wide range of services, including voice, high-speed fax, video phone, intelligent telegraph, and Teletext services.
A BRI interface is an ISDN interface and supports two data channels and one signaling channel. The data channel (channel B) with the bandwidth of 64 kbit/s can carry voice or data services, and the signaling channel (channel D) with the bandwidth of 16 kbit/s transmits signaling of the ISDN. That is, the bandwidth of a BRI interface is 144 kbit/s (sum of bandwidths of two data channels and one signaling channel).
A BRA trunk is a digital circuit trunk that supports calls over a maximum of two channels. A BRA trunk group implements voice communication between PBX users and inter-office users.
Precautions
The AR uses a 2BST card to connect to a Cisco device through the RJ45 interface and needs to be configured to work in NT mode.
Table 1-1 describes the AR models that support voice communication.
Table 1-1 AR models that support voice communication
Series | Model Supporting Voice Communication | Description |
AR150 | AR157VW, and AR158EVW | - |
AR160 | AR169FVW, AR169FGVW-L, AR169FVW-8S, and AR161FV-1P | - |
AR200 | AR207V, AR207V-P, AR207VW, and AR201VW-P | - |
AR1200 | AR1220V, AR1220VW, AR1220EV, and AR1220EVW | - |
AR2200 | All models except the AR2201 and AR2202 | l The AR220X or AR2220L needs to be configured with the hardware that supports voice functions. l The DSP module needs to be configured. |
AR3200 | All models |
The voice functions are controlled by the license. By default, voice functions are disabled on a newly purchased device. To use the voice functions, apply for and purchase the license.
In this example, the commands on the Cisco router are recommended ones. The product version is Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.1(4)M1, RELEASE SOFTWARE (fc1). For details, visit http://www.cisco.com/techsupport.
Networking Requirements
In Figure 1-1, RouterA (AR device) and RouterB (Cisco device) are gateways of two branches, respectively. RouterA used as a PBX connects to IP phones and analog phones. Enterprise branch A connects to the ISDN through a BRA trunk and connects to enterprise branch B over the ISDN.
Figure 1-1 Connecting RouterA and RouterB through a BRA trunk
The requirements are as follows:
1. Users of RouterA can call users of RouterB.
2. Users of RouterB can call users of RouterA.
3. Users of RouterA can call each other.
Data Plan
The data plan here is used for reference. The actual configuration depends on the actual situation.
Table 1-2 Number design
User Name | Access Terminal | Number |
User A | Analog phone | 6201 |
User B | IP phone | 6202 |
User C | Analog phone | 9001 |
Table 1-3 Prefix and dialup peer plan
Device | Type | Name |
RouterA | Outgoing prefix | 9 |
RouterA | Intra-office prefix | 62 |
RouterB | Dialup peer (POTS) | 9001 |
RouterB | Dialup peer (POTS) | 62 |
Table 1-4 SIP server plan
Signaling IP Address | Port Number | Media IP Address |
10.1.1.1 | 5060 | 10.1.1.1 |
Configuration Procedure
Configuring RouterA
Configuration Roadmap
1. Configure the 2BST card to work in NT mode and configure the clock source.
2. Configure RouterA to work in PBX mode.
3. Configure media and signaling IP address pools.
4. Configure the SIP server to connect the IP phone to the PBX.
5. Configure intra-office prefix 62, outgoing prefix 9, user number, BRA trunk group, and call route to implement intra-office and inter-office calls.
Procedure
Step 1 Configure the 2BST card to work in NT mode and configure the clock source.
# Configure the 2BST card to work in NT mode.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] set workmode slot 1 bri bri-voice nt-mode
Warning: Changing the working mode will reset the board in slot 1. Continue? [y/n]:y
INFO: Resetting board[1] succeeded.
# onfigure the clock source.
[RouterA] clock source 1 1/0/0 priority 9
Step 2 Configure RouterA to work in PBX mode.
[RouterA] voice
[RouterA-voice] service-mode pbx
[RouterA-voice] return
<RouterA> save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
<RouterA> reboot
Info: The system is comparing the configuration, please wait.
System will reboot! Continue ? [y/n]:y
Step 3 Configure the IP address of 10.1.1.1 for GE0/0/0 and add the IP address of 10.1.1.1 to media and signaling IP address pools.
<RouterA> system-view
[RouterA] interface GigabitEthernet 0/0/0
[RouterA-GigabitEthernet0/0/0] ip address 10.1.1.1 24
[RouterA-GigabitEthernet0/0/0] quit
[RouterA] voice
[RouterA-voice] voip-address media interface gigabitethernet 0/0/0 10.1.1.1
[RouterA-voice] voip-address signalling interface gigabitethernet 0/0/0 10.1.1.1
Step 4 Configure the SIP server.
[RouterA-voice] sipserver
[RouterA-voice-sipserver] signalling-address ip 10.1.1.1 port 5060
[RouterA-voice-sipserver] media-ip 10.1.1.1
[RouterA-voice-sipserver] register-uri abcd.com
[RouterA-voice-sipserver] home-domain abcd.com
[RouterA-voice-sipserver] reset
[RouterA-voice-sipserver] quit
Step 5 Configure intra-office prefix 62 and outgoing prefix 9.
# Configure intra-office prefix 62.
[RouterA-voice] callprefix 62
[RouterA-voice-callprefix-62] prefix 62
[RouterA-voice-callprefix-62] call-type category basic-service attribute 0
[RouterA-voice-callprefix-62] digit-length 2 5
[RouterA-voice-callprefix-62] quit
# Configure outgoing prefix 9.
[RouterA-voice] callprefix 9
[RouterA-voice-callprefix-9] prefix 9
[RouterA-voice-callprefix-9] call-type category basic-service attribute 1
[RouterA-voice-callprefix-9] digit-length 4 4
[RouterA-voice-callprefix-9] quit
Step 6 Configure user numbers.
# Configure the POTS user with user number 6201.
[RouterA-voice] pbxuser 6201 pots
[RouterA-voice-pbxuser-6201] port 2/0/1
[RouterA-voice-pbxuser-6201] telno 6201
[RouterA-voice-pbxuser-6201] quit
# Configure the SIP user with user number 6202.
[RouterA-voice] pbxuser 6202 sipue
[RouterA-voice-pbxuser-6202] sipue 6202
[RouterA-voice-pbxuser-6202] telno 6202
[RouterA-voice-pbxuser-6202] quit
Step 7 Configure the BRA trunk group bra.
[RouterA-voice] trunk-group bra bra-dss1
[RouterA-voice-trunkgroup-bra] trunk-bra 1/0/0
[RouterA-voice-trunkgroup-bra] quit
Step 8 Configure a call route and save the configuration.
[RouterA-voice] callroute BRA
[RouterA-voice-callroute-BRA] quit
[RouterA-voice] trunk-group bra
[RouterA-voice-trunkgroup-bra] callroute BRA
[RouterA-voice-trunkgroup-bra] quit
[RouterA-voice] callprefix 9
[RouterA-voice-callprefix-9] callroute BRA
[RouterA-voice-callprefix-9] save
----End
Configuring RouterB
Configuration Roadmap
1. Set the ISDN switching type to basic-net3.
2. Configure the BRI interface to send SETUP messages and process voice packets.
3. Configure the dialup peer, specify allowed number 9001, and configure narrowband trunk parameters.
Procedure
Step 1 Configure the switching type of the BRI interface and configure the BRI interface to send SETUP messages.
Router> enable
Router# configure terminal
Router(config)# hostname RouterB
RouterB(config)# isdn switch-type basic-net3
RouterB(config)# interface BRI0/0/1
RouterB(config-if)# shutdown
RouterB(config-if)# isdn switch-type basic-net3
RouterB(config-if)# isdn incoming-voice voice
RouterB(config-if)# no shutdown
RouterB(config-if)# exit
Step 2 Configure the dialup peer and save the configuration.
RouterB(config)# dial-peer voice 9001 pots
RouterB(config-dial-peer)# destination-pattern 9001
RouterB(config-dial-peer)# port 0/1/0
RouterB(config-dial-peer)# exit
RouterB(config)# dial-peer voice 62 pots
RouterB(config-dial-peer)# destination-pattern .T
RouterB(config-dial-peer)# port 0/0/1
RouterB(config-dial-peer)# exit
RouterB(config)# exit
RouterB# write
----End
Verification
Item | Result |
Intra-office call | The user with number 6201 calls the user with number 6202. The phone of the user with number 6202 rings and the communication is normal. |
Outgoing call | The user with number 6201 calls the user with number 9001. The phone of the user with number 9001 rings and the communication is normal. |
Incoming call | The user with number 9001 calls the user with number 6201. The phone of the user with number 6201 rings and the communication is normal. |
Exception Handling
1. If the outgoing or incoming call fails, run the display voice trunk-group bra trunk-circuit state brief command to check the link status of the BRI trunk. If the link status is Fault, check the BRI line.
2. If the physical line is correctly connected but the link status is Fault, run the debugging voice dss1 all command to enable log debugging of the DSS1 module and contact technical support personnel.
