Configuring an R2 Trunk Group
An R2 trunk group implements voice communication between PBX users and inter-office users. An R2 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. It uses R2 signaling.
Context
R2 signaling is a type of Channel Associated Signaling (CAS). R2 signaling is defined by ITU-T Q.400-Q.490. Different countries define different R2 signaling standards, and there are great differences between CAS in some versions and standard R2 signaling. The PBX supports R2 signaling types of Brazil(MFC-5C), Argentina, and Mexico. Figure 2-30 describes the mapping between the R2 signaling type, R2 profile, and trunk group on the PBX.
An R2 trunk can use the E1 interface not the T1 interface to connect the PBX to the remote device. The E1 interface card must work in voice mode, and E1 interfaces on this card are called VE1 interfaces. A VE1 interface supports concurrent calls over a maximum of 30 channels.
AR6120-VW provide E1 interfaces but do not support the R2 trunk.
The PBX can add several trunks of the same type to a trunk group, which are invoked by call routes. Even if there is only one trunk, a trunk group needs to be configured to facilitate trunk management.
The PBX connects to the PSTN through an R2 trunk group, as shown in Figure 2-31.
Configuring a VE1 Interface
Step |
Action |
Command |
Description |
---|---|---|---|
1 |
Enter the system view. |
system-view |
- |
2 |
Configure the E1 interface card as an E1 voice card. |
set workmode slot slot-id e1t1 e1-voice |
After this command is executed, the configured service becomes invalid. After you use this command, the system displays a message asking you whether to reset the E1 voice card. If you enter Y, the system resets the E1 voice card to make the configuration take effect. Otherwise, run the reset slot command to restart the E1 voice card. |
3 |
Enter the voice view. |
voice |
- |
4 |
Enter the VE1 interface view. |
port ve1 slotid/subcardid/portid |
- |
5 |
Configure CAS on the VE1 interface. |
signal { cas } |
- |
6 |
Return to the voice view. |
quit |
- |
7 |
Return to the system view. |
quit |
- |
8 |
Configure a clock source. |
clock source source-id [ slotid/subcardid/portid ] priority priority-value |
It is recommended that you configure a clock source for the trunk interface. If no clock source is configured, the main control unit transmits clock signals generated by the local crystal oscillator to other cards as the transmit reference clock. |
(Optional) Setting the R2 Signaling Type
The PBX provides R2 signaling types that adapt to ITU-T, Brazil, Argentina, and Mexico standards by default. To define a new R2 signaling type, perform the following operations.
Step |
Action |
Command |
---|---|---|
1 |
Enter the voice view. |
voice |
2 |
Create an R2 signaling type and enter the R2 signaling type view, or directly enter the existing R2 signaling type view. |
r2 signalling-type signalling-type-name |
3 |
Set line signaling output parameters. |
line-signal-send line-logic-cmd { line-logic-signal-type line-phy-cmd-para line-call-state line-phy-send-time | no-process } |
4 |
Set register signaling input parameters. |
register-signal-receive register-phy-cmd register-call-state { register-logic-cmd register-logic-cmd-para | no-process } |
5 |
Set register signaling output parameters. |
register-signal-send register-logic-cmd register-logic-cmd-para { register-phy-cmd | no-process } |
6 |
Return to the voice view. |
quit |
Configuring an R2 Profile
Step |
Action |
Command |
Description |
---|---|---|---|
1 |
Create an R2 profile and enter the R2 profile view. |
r2 profile profile-name |
- |
2 |
(Optional) Configure line signaling attributes. |
line-signalling { line-signalling-type line-signalling-type-value | wait-answer-time wait-answer-time-value | wait-clear-forward-time wait-clear-forward-time-value | wait-protect-time wait-protect-time-value | wait-seize-ack-time wait-seize-ack-time-value } |
- |
3 |
(Optional) Set the input register address format. |
register-address-receive { country-code value | distinctive-indication value | echo-cancellation value | circuit-character value | calling-number value | calling-user-type value | calling-user-priority value | called-number value | calling-number-location calling-number-location-value | user-type-location user-type-location-value } |
- |
4 |
(Optional) Set the output register address format. |
register-address-send { country-code value | distinctive-indication value | echo-cancellation value | circuit-character value | calling-number value | calling-user-type value | calling-user-priority value | called-number value } |
- |
5 |
(Optional) Configure register signaling attributes. |
register-signalling { back-pulse-time back-pulse-time-value | calling-number-max-length calling-number-max-length-value | compelling-sequence-keepalive-time compelling-sequence-keepalive-time-value | dtmf-send-interval dtmf-send-interval-time | dtmf-send-time dtmf-send-time-value | incoming-type incoming-type-value | number-max-interval number-max-interval-time | number-send-mode number-send-mode-value | outgoing-type outgoing-type-value | receive-number-max-interval receive-number-max-interval-time | send-pulse-signal signal-value | signal-send-voltage signal-send-voltage-value | signal-stop-permit-time signal-stop-permit-time-value | wait-Bsignal-time wait-Bsignal-time-value | wait-caller-category-time wait-caller-category-time-value } |
- |
6 |
Set the adaptation signaling type. |
signalling-type signalling-type-name |
Select standard (ITU-T), brazil, argentina, mexico, or another user-defined R2 signaling type. |
7 |
Return to the voice view. |
quit |
- |
Configuring a Trunk Group
Step |
Action |
Command |
Description |
---|---|---|---|
1 |
Create an R2 trunk group and enter the R2 trunk group view. |
trunk-group name [ e1-r2 ] |
- |
2 |
Bind an R2 profile to the R2 trunk group. |
r2-profile profile-name |
- |
3 |
Bind a trunk to the R2 trunk group. |
trunk-r2 slotid/subcardid/portid |
After the R2 trunk group is complete, to ensure that call services passing through the R2 trunk group are transmitted correctly, local loopback cannot be configured on the VE1 interface. If local loopback has been configured on the VE1 interface, cancel the local loopback configuration immediately. One minute after the local loopback configuration is canceled, call services passing through the R2 trunk group are restored. |
4 |
(Optional) Configure an R2 trunk group whether to use early media. |
r2-receive-earlymedia r2-receive-earlymedia |
- |
5 |
(Optional) Configure an R2 trunk group whether to play ringback tones to the remote end. |
r2-play-ringback r2-play-ringback |
- |
6 |
(Optional) Configure the enterprise and DN set that the R2 trunk group belongs to. |
enterprise enterprise-name [ dn-set dn-set-name ] |
By default, an R2 trunk group belongs to the enterprise default and DN set DefaultDialPlan. You need to perform this step only when multiple enterprises and DN sets are configured. For details on how to configure an enterprise and a DN set, see Configuring an Enterprise and a DN Set. |
7 |
(Optional) Configure a trunk group circuit selection mode. |
select-mode selectmode-value |
The following circuit selection modes are available:
|
8 |
(Optional) Configure the default number displayed. |
default-caller-telno telno-value |
- |
9 |
(Optional) Configure the description for the R2 trunk group. |
description desc-value |
- |
10 |
(Optional) Configure the function of the calling party control. |
reanswer reanswer-value |
By default, the calling party control function is disabled for an E1R2 trunk group. |
11 |
Save the configuration. |
save |
- |
Example
An enterprise connects to a PSTN through a R2 trunk group, which occupies E1 interface 0 in slot 1 of the PBX. Configure a clock source for the E1 interface. Create a R2 trunk group named r201, and set the R2 signaling type to standard.
# Configure a VE1 interface. <Huawei> system-view [Huawei] set workmode slot 1 e1t1 e1-voice Changing the working mode will reset the board in slot 1. Continue? [y/n]:y INFO: Resetting board[1] succeeded. [Huawei] voice [Huawei-voice] port ve1 1/0/0 [Huawei-voice-ve1-1/0/0] signal cas [Huawei-voice-ve1-1/0/0] quit [Huawei-voice] quit [Huawei] clock source 0 1/0/0 priority 5 # Configure a signaling profile. [Huawei] voice [Huawei-voice] r2 profile r201 [Huawei-voice-r2-profile-r201] signalling-type standard [Huawei-voice-r2-profile-r201] quit # Configure a trunk group. [Huawei-voice] trunk-group r201 e1-r2 [Huawei-voice-trunkgroup-r201] r2-profile r201 [Huawei-voice-trunkgroup-r201] trunk-r2 1/0/0 [Huawei-voice-trunkgroup-r201] save
Verification
Action |
Command |
Expected Result |
---|---|---|
Verify the R2 trunk group configuration. |
display voice trunk-group [ name [ para-value ] ] |
The parameter values in the command output are consistent with the settings. |