Configuring basic R2 signaling parameters
Configuring the R2 signaling standard
For the device to perform R2 signaling exchange with devices in a country or region, you need to specify the R2 signaling standard of that country or region.
To configure the R2 signaling standard:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter E1 or T1 interface view. | controller { e1 | t1 } number | N/A |
3. Create a timeslot set and enable R2 signaling for it. | timeslot-set ts-set-number timeslot-list timeslots-list signal r2 | By default, no timeslot sets exist. |
4. Enter R2 CAS view. | cas ts-set-number | N/A |
5. Specify the R2 signaling standard. | mode zone-name [ default-standard ] | By default, the ITU-T standard is adopted. |
Configuring the trunk direction and routing mode
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter E1 or T1 interface view. | controller { e1 | t1 } number | N/A |
3. Create a timeslot set and enable R2 signaling for it. | timeslot-set ts-set-number timeslot-list timeslots-list signal r2 | By default, no timeslot sets exist. |
4. Enter R2 CAS view. | cas ts-set-number | N/A |
5. Configure the trunk direction. | trunk-direction timeslots timeslots-list { dual | in | out } | The default is dual. You cannot configure the in or out direction on both ends of a trunk. If you configure the dual direction on both ends, you need to configure different routing modes on the two ends by using the select-mode command to prevent timeslot contention. |
6. Specify a routing mode. | select-mode { max | maxpoll | min | minpoll } | The default is min. |
Configuring the terminating side to send busy tones to the originating side
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter E1 or T1 interface view. | controller { e1 | t1 } number | N/A |
3. Create a timeslot set and enable R2 signaling for it. | timeslot-set ts-set-number timeslot-list timeslots-list signal r2 | By default, no timeslot sets exist. |
4. Enter R2 CAS view. | cas ts-set-number | N/A |
5. Configure the terminating side to send busy tones to the originating side. | send ringbusy enable | By default, the terminating side sends busy tones to the originating side. If you want the originating side to play busy tones, execute the undo send ringbusy enable command on the terminating side. |
6. Set the duration for playing busy tones. | timer ringbusy time | By default, the duration for playing busy tones is 30000 milliseconds. This command takes effect only after you configure the send ringbusy enable command. This command takes effect only on the terminating side. |
Configuring the duration for the terminating side to play ringback tones
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter E1 or T1 interface view. | controller { e1 | t1 } number | N/A |
3. Create a timeslot set and enable R2 signaling for it. | timeslot-set ts-set-number timeslot-list timeslots-list signal r2 | By default, no timeslot sets exist. |
4. Enter R2 CAS view. | cas ts-set-number | N/A |
5. Set the duration for playing ringback tones. | timer ringback time | By default, the duration for playing ringback tones is 60000 milliseconds. |
Enabling DTMF to receive and send numbers
R2 signaling supports the following modes to send and receive numbers:
MFC—The originating and terminating sides use interregister signaling to transmit and request number information, including the calling number, line information, and billing. In the exchange process, the terminating side sends responses to the originating side.
DTMF—The originating side transmits the called number to the terminating side digit by digit. The terminating side does not send any responses.
Compared with the MFC mode, the DTMF mode has a faster connection speed but transmits a smaller amount of information.
To enable DTMF to receive and send numbers:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter E1 or T1 interface view. | controller { e1 | t1 } number | N/A |
3. Create a timeslot set and enable R2 signaling for it. | timeslot-set ts-set-number timeslot-list timeslots-list signal r2 | By default, no timeslot sets exist. |
4. Enter R2 CAS view. | cas ts-set-number | N/A |
5. Enable DTMF to receive and send numbers. | dtmf enable | By default, MFC mode is used. Configure the same mode on the originating and terminating devices. Otherwise, call establishment will fail. |
6. Set the delay before sending DTMF tones. | timer dtmf-delay time | The default is 50 milliseconds. This command takes effect only when the dtmf enable command has been configured. |
Configuring the connection mode
R2 signaling supports the following connection modes:
terminal—After receiving the called number, the terminating side must wait for the state (busy or idle) of the called party before returning the corresponding interregister information to the originating side.
segment—After receiving the called number, the terminating side directly returns the "called party idle" interregister signaling, without waiting for the real state of the terminating side. If the called party is busy, the terminating side plays busy tones to the originating side.
To configure the connection mode:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter E1 or T1 interface view. | controller { e1 | t1 } number | N/A |
3. Create a timeslot set and enable R2 signaling for it. | timeslot-set ts-set-number timeslot-list timeslots-list signal r2 | By default, no timeslot sets exist. |
4. Enter R2 CAS view. | cas ts-set-number | N/A |
5. Specify a connection mode. | callmode { terminal | segment } | By default, the terminal mode is used. |
Maintaining specified timeslots
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter E1 or T1 interface view. | controller { e1 | t1 } number | N/A |
3. Create a timeslot set and enable R2 signaling for it. | timeslot-set ts-set-number timeslot-list timeslots-list signal r2 | By default, no timeslot sets exist. |
4. Enter R2 CAS view. | cas ts-set-number | N/A |
5. Maintain specified timeslots. | ts { block | open | query | reset } timeslots timeslots-list | N/A |