[Gateway Whiz] Connecting the AR to the Cisco 2900 Through the PRA Trunk Highlighted

Created: Jan 18, 2017 10:33:38Latest reply: Jan 18, 2017 17:22:09 2336 1 0 0

 

1      Overview

A PRA trunk is a digital circuit trunk and uses an E1 interface on the PBX to connect to the remote device through an E1 trunk line. The PRA trunk can use Digital Subscriber Signaling System No.1 (DSS1) or Q signaling (QSIG), and the PBX can function as the user-side or network-side device. A PRA trunk group implements voice communication between PBX users and inter-office users through the signaling mode, access mode, circuit selection mode, call-out right, and call routes. The PBX can use a PRA trunk group to connect to the PSTN and traditional PBXs to protect investments and implement smooth expansion. Figure 1 shows the networking.

Figure 1 Networking of a PRA trunk group

20170118103304687001.png

2      Configuration Notes

  • The E1 physical interface of the AR is DB9, whereas the E1 physical interface of the Cisco 2900 is RJ45. When they are connected, the conversion adapter or DB9-to-RJ45 cable is required.
  • 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 from Huawei local office.

3      Networking Requirements

In Figure 2, RouterA (AR) and RouterB (Cisco 2900) are deployed. Voice communication between users on RouterA and RouterB is required. The requirements are as follows:

  1. Users of RouterA can call users of RouterB.
  2. Users of RouterB can call users of RouterA.

Figure 2 Connecting the AR to the Cisco 2900 through the PRA trunk

20170118103305560002.png

Configuration Roadmap

Configuring Router A

The configuration roadmap is as follows:

  1. Configure the working mode of the interface card, and signaling mode and clock source of the VE1 interface.
  2. Configure RouterA to work in PBX mode.
  3. Configure an interface address and address pools.
  4. Configure the SIP server.
  5. Configure a voice user.
  6. Configure call-in and call-out rights.
  7. Configure a call route and a PRA trunk group.
  8. Configure intra-office and inter-office call prefixes.

 

Procedure

  1. Configure the working mode of the interface card, and signaling mode and clock source of the VE1 interface.

    # Configure the interface card as an E1 voice card.

    <Huawei> system-view
    [Huawei]  sysname RouterA
    [HuaweiA] set workmode slot 1 elt1 e1-voice
    Changing the working mode will reset the board in slot 1. Continue? [y/n]:y
    INFO: Resetting board[1] succeeded.
    

    # Enter the VE1 interface view and set the signaling mode to CCS.

    [HuaweiA] voice
    [HuaweiA-voice] port ve1 1/0/0
    [HuaweiA-voice-ve1-1/0/0] signal ccs
      Set signal type successfully
    [HuaweiA-voice-ve1-1/0/0] quit
    [HuaweiA-voice] quit
    

    # Configure the clock source.

    [HuaweiA] clock source 0 1/0/0 priority 5
    

  2. (Optional) Configure RouterA to work in PBX mode.

    By default, the device works in PBX mode. This step is optional.

    [HuaweiA] voice
    [HuaweiA-voice] service-mode pbx
    [HuaweiA-voice] return
    [HuaweiA] save
    The current configuration will be written to the device.                      
      Are you sure to continue? (y/n)[n]:yIt will take several minutes to save configuration file, please wait..........
      Configuration file had been saved successfully                                
      Note: The configuration file will take effect after being activated  
    <HuaweiA> reboot
    Info: The system is comparing the configuration, please wait.                   
    System will reboot! Continue ? [y/n]:yInfo: system is rebooting, please wait...
    

  3. Configure an interface address and address pools.

    <HuaweiA> system-view
    [HuaweiA] interface gigabitethernet 0/0/0
    [HuaweiA-GigabitEthernet0/0/0] ip address 10.1.1.1 24
    [HuaweiA-GigabitEthernet0/0/0] quit
    [HuaweiA] voice
    [HuaweiA-voice] voip-address media interface gigabitethernet 0/0/0 10.1.1.1
    [HuaweiA-voice] voip-address signalling interface gigabitethernet 0/0/0 10.1.1.1
    

  4. Configure a SIP server.

    [HuaweiA-voice] sipserver
    [HuaweiA-voice-sipserver] signalling-address ip 10.1.1.1 port 5060
    [HuaweiA-voice-sipserver] media-ip 10.1.1.1
    [HuaweiA-voice-sipserver] register-uri abcd.com
    [HuaweiA-voice-sipserver] home-domain abcd.com
    [HuaweiA-voice-sipserver] reset
    [HuaweiA-voice-sipserver] quit
    

  5. Configure a SIP user with number 86060.

    [HuaweiA-voice] pbxuser 86060 sipue
    [HuaweiA-voice-pbxuser-86060] sipue 86060
    [HuaweiA-voice-pbxuser-86060] telno 86060
    

  6. Configure call-in and call-out rights.

    By default, call-in rights include intra-office, local, national toll, and international toll calls and call-out rights are intra-office and local calls.

    # Configure call-in rights as intra-office, local, national toll, and international toll calls and call-out rights as intra-office, local, and national toll calls.

    [HuaweiA-voice-pbxuser-86060] call-right in all
    [HuaweiA-voice-pbxuser-86060] call-right out inter enable local enable ddd enable
    [HuaweiA-voice-pbxuser-86060] quit
    

  7. Configure a call route and a PRA trunk group.

    # Configure the call route pra.

    [HuaweiA-voice] callroute pra
    [HuaweiA-voice-callroute-pra] quit
    

    # Create and configure the trunk group pra.

    [HuaweiA-voice] trunk-group pra dss1-net
    [HuaweiA-voice-trunkgroup-pra] callroute pra
    [HuaweiA-voice-trunkgroup-pra] trunk-pra 1/0/0
    [HuaweiA-voice-trunkgroup-pra] reset
    Are you sure to continue?[Y/N]:y
     Note: Trunkgroup reset succeeds.
    [HuaweiA-voice-trunkgroup-pra] quit
    

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

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

    [HuaweiA-voice] callprefix 86
    [HuaweiA-voice-callprefix-86] prefix 86
    [HuaweiA-voice-callprefix-86] call-type category basic-service attribute 0
    [HuaweiA-voice-callprefix-86] digit-length 2 32
    [HuaweiA-voice-callprefix-86] quit
    

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

    [HuaweiA-voice] callprefix 61
    [HuaweiA-voice-callprefix-61] prefix 61
    [HuaweiA-voice-callprefix-61] call-type category basic-service attribute 1
    [HuaweiA-voice-callprefix-61] digit-length 2 32
    [HuaweiA-voice-callprefix-61] callroute pra
    [HuaweiA-voice-callprefix-61] quit
    

  9. Save the configuration.

    [HuaweiA-voice] save
    

    Configuring RouterB

  The configuration roadmap is as follows:

  1. Set the type of the ISDN PRI interface to primary-net5.
  2. Add an E1 card and configure an E1 interface.
  3. Configure a signaling interface.
  4. Configure a dialup peer.

Procedure

  1. Set the type of the ISDN PRI interface to primary-net5.

    Router> enable
    Router# configure terminal
    RouterB(config)# hostname RouterB
    RouterB(config)# isdn switch-type primary-net5
    

  2. Add an E1 card and configure an E1 interface.

    RouterB(config)# card type e1 0 0
    RouterB(config)# controller E1 0/0/0
    RouterB(config-controller)# framing NO-CRC4
    RouterB(config-controller)# pri-group timeslots 1-5,16
    RouterB(config-controller)# exit
    

  3. Configure a signaling interface.

    RouterB(config)# interface Serial0/0/0:15
    RouterB(config-if)# no ip address
    RouterB(config-if)# encapsulation hdlc
    RouterB(config-if)# isdn switch-type primary-net5
    RouterB(config-if)# isdn overlap-receiving
    RouterB(config-if)# isdn incoming-voice voice
    RouterB(config-if)# no cdp enable
    RouterB(config-if)# exit
    

  4. Configure a dialup peer.

    RouterB(config)# dial-peer voice 6101 pots
    RouterB(config-dial-peer)# destination-pattern 6101
    RouterB(config-dial-peer)# port 0/1/0
    RouterB(config-dial-peer)# exit
    RouterB(config)# dial-peer voice 86 pots
    RouterB(config-dial-peer)# destination-pattern 86T
    RouterB(config-dial-peer)# port 0/0/0:15
    RouterB(config-dial-peer)# exit
    RouterB(config)# exit

Verification

When the user of phone 86060 on RouterA calls 6101, the phone with the number of 6101 on RouterB rings and the communication is normal. When the user on RouterB calls 8686060, the phone with the number of 86060 on RouterA rings and the communication is normal.


Exception Handling

  1. If calls fail, run the display voice port ve1 command to check the VE1 interface status at both ends and check whether the connection of the physical link is normal.
  2. If the outgoing or incoming call fails, run the display voice trunk-group pra trunk-circuit state brief command to check the link status of the PRA trunk. If the link status is Fault, check the PRA line.
  3. 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.

 

More

[Gateway Whiz] Interoperation cases (AR connected to devices such as Fortinet, Alcatel, Rais-ecom, and Cisco)

This post was last edited by 关关系列 at 2017-02-07 17:23.
  • x
  • convention:

gululu     Created Jan 18, 2017 17:22:09 Helpful(0) Helpful(0)

thanks for your sharing
  • x
  • convention:

Come on!

Reply

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

Notice: To protect 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 are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including 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."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top