Configuring a PRA Trunk Group
A PRA trunk group implements voice communication between PBX users and inter-office users. 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.
Context
A PRA 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, and the signaling type must be set to CCS.
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.
A PRA trunk group 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. At both ends of a PRA trunk, one end must function as the user-side device, and the other end must function as the network-side device.
- If the PBX uses DSS1 signaling to connect to a network through a PRA trunk group and is used as a network-side device, the signaling type is set to dss1-net.
- If the PBX uses DSS1 signaling to connect to a network through a PRA trunk group and is used as a user-side device, the signaling type is set to dss1-user.
- If the PBX uses QSIG signaling to connect to a network through a PRA trunk group and is used as a network-side device, the signaling type is set to qsig-net.
- If the PBX uses QSIG signaling to connect to a network through a PRA trunk group and is used as a user-side device, the signaling type is set to qsig-user.
The PBX can use a PRA trunk group to connect to the PSTN and traditional PBXs to protect investments and implement smooth expansion. Figure 2-29 shows networking of a PRA trunk group.
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 CSS on the VE1 interface. |
signal ccs |
- |
6 |
Return to the voice view. |
quit |
- |
7 |
Return to the system view. |
quit |
- |
8 |
Configure a clock source. |
clock source sourceid [ slotid/cardid/portid ] priority priority-value |
When the local end is the user end, 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. |
Configuring a Trunk Group
Step |
Action |
Command |
Description |
---|---|---|---|
1 |
Enter the voice view. |
voice |
- |
2 |
(Optional) Configure the mappings between ISDN cause values and SIP error codes. |
cause-mapping { isdn-cause isdn-cause-value sip-response sip-response-value | sip-response sip-response-value isdn-cause isdn-cause-value } |
- |
3 |
Create a PRA trunk group and enter the PRA trunk group view. |
trunk-group trunk-group-name [ dss1-net | dss1-user | qsig-net | qsig-user ] |
When configuring a trunk group, specify DSS1 or QSIG signaling and the PBX as the user-side or network-side device. For details, see Context. The signaling and device types are determined through negotiation. If a PRA trunk group already exists, this command directly displays the PRA trunk group view. |
4 |
Bind a trunk to the PRA trunk group. |
trunk-pra slotid/subcardid/portid [ [ b-channels b-channels-value [ num num-value ] ] config-status config-status-value | default-cli default-cli-value ] |
- |
5 |
(Optional) Configure the enterprise and DN set that the SIP PRA trunk group belongs to. |
enterprise enterprise-name [ dn-set dn-set-name ] |
By default, a SIP IP 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. |
6 |
(Optional) Configure a trunk group circuit selection mode. |
select-mode select-mode-value |
The following circuit selection modes are available:
|
7 |
(Optional) Configure the default country code and area code. |
country-code country-code-value area-code area-code-value |
This command configures the country code and area code for incoming calls over a PRA trunk group. When incoming calls do not carry the country code and area code, the PBX adds the configured country code and area code so that intra-office users can view calls and call back through call display. |
8 |
(Optional) Configure the default number displayed. |
default-caller-telno telno-value |
- |
9 |
(Optional) Configure the description for the PRA trunk group. |
description desc-value |
- |
10 |
(Optional) Configure the calling number type. |
typeofnumber caller callernumber-value |
- |
11 |
(Optional) Configure the called number type. |
typeofnumber called callednumber-value |
- |
12 |
(Optional) Configure the caller number plan identify. |
num-plan-identify caller numplanidentify-value |
This step is required only when the remote device has special requirements on the numbering plan. |
13 |
(Optional) Configure the called number plan identify. |
num-plan-identify called numplanidentify-value |
This step is required only when the remote device has special requirements on the numbering plan. |
14 |
(Optional) Configure trunk groups that are associated with the PRA trunk group. |
circuit-state-relate trunk-group-name |
This command associates other trunk groups with the PRA trunk group. When the status of the PRA trunk group changes, status of the associated trunk groups also changes. The PRA trunk group can be associated only with SIP trunk groups. By default, the PRA trunk group is not associated with any trunk group. |
15 |
(Optional) Configure status synchronization delay of trunk groups associated with the PRA trunk group. |
stable delay-time time-value |
The value is in seconds. By default, the status synchronization delay of trunk groups associated with the PRA trunk group is 30s. |
16 |
Save the configuration. |
save |
- |
Example
An enterprise connects to a PSTN through a PRA trunk group, which occupies E1 interface 0 in slot 1 of the PBX. Configure a clock source for the E1 interface. Create a PRA trunk group named pra01, specify DSS1 as the signaling protocol, and configure the PRA trunk group as the user end.
# 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 ccs [Huawei-voice-ve1-1/0/0] quit [Huawei-voice] quit [Huawei] clock source 0 1/0/0 priority 5 # Configure a trunk group. [Huawei] voice [Huawei-voice] trunk-group pra01 dss1-user [Huawei-voice-trunkgroup-pra01] trunk-pra 1/0/0 [Huawei-voice-trunkgroup-pra01] save
Verification
Action |
Command |
Expected Result |
---|---|---|
Verify the PRA trunk group configuration. |
display voice trunk-group [ name [ para-value ] ] |
The parameter values in the command output are consistent with the settings. |