13-Voice Command Reference

HomeSupportRoutersMSR5600 Series(Comware V7)Reference GuidesCommand ReferencesH3C MSR 5600 Routers Command References(V7)-R0707-6W30113-Voice Command Reference
01-Voice interface commands
Title Size Download
01-Voice interface commands 357.63 KB

Contents

Voice interface commands· 1

Analog voice interface commands· 1

area· 1

busytone-detect auto· 1

busytone-detect custom·· 2

busytone-detect period· 3

busytone-hookon delay-timer 4

cable· 5

calling-name· 5

cid display· 6

cid receive· 6

cid ring· 7

cid send· 8

cid standard-type· 8

cid type· 9

cng-on (FXS/FXO/E&M interface view) 10

cptone· 10

cptone tone-type· 13

default (FXS/FXO/E&M interface view) 14

delay hold· 15

delay rising· 15

delay send-dtmf 16

delay send-wink· 17

delay start-dial 17

delay wink-hold· 18

delay wink-rising· 18

description (FXS/FXO/E&M interface view) 19

disconnect lcfo· 20

display voice subscriber-line· 20

dtmf amplitude· 22

dtmf sensitivity-level 22

dtmf threshold analog· 23

dtmf time· 25

echo-canceler 26

echo-canceler delay (FXS/FXO/E&M interface view) 27

echo-canceler enable (FXS/FXO/E&M interface view) 28

echo-canceler tail-length (FXS/FXO/E&M interface view) 28

em log enable· 29

hookoff-mode· 29

hookoff-mode delay bind· 30

hookoff-time· 31

impedance· 31

monitor enable· 32

nlp-on (FXS/FXO/E&M interface view) 33

open-trunk· 34

passthrough· 35

pcm-passthrough· 35

plc-mode· 36

receive gain (FXS/FXO/E&M interface view) 37

ring-detect debounce· 37

ring-detect frequency· 38

send-busytone enable· 39

send-busytone time· 39

shutdown (FXS/FXO/E&M interface view) 40

signal 41

silence-detect threshold· 41

slic-gain· 42

subscriber-line· 43

timer dial-interval 43

timer disconnect-pulse· 44

timer first-dial 44

timer hookflash-detect 45

timer hookoff-interval 46

timer ring-back· 46

timer wait-digit 47

transmit gain (FXS/FXO/E&M interface view) 48

type· 48

Digital voice interface commands· 49

ani 49

ani-collected· 50

ani-digit 51

ani-timeout 51

answer enable· 52

callmode· 53

cas· 53

clear-forward-ack enable· 54

cng-on (digital voice interface view) 54

default (digital voice interface view) 55

description (digital voice interface view) 56

display voice subscriber-line· 56

dl-bits· 58

dtmf enable· 59

echo-canceler delay (digital voice interface view) 60

echo-canceler enable (digital voice interface view) 61

echo-canceler tail-length (digital voice interface view) 61

final-callednum enable· 62

group-b enable· 63

line· 63

metering enable· 64

mode· 65

nlp-on (digital interface view) 66

pcm·· 66

re-answer enable· 67

receive gain (digital voice interface view) 67

register-value· 68

renew·· 70

reverse· 71

reverse-charge prefix· 72

seizure-ack enable· 72

select-mode· 73

send ringbusy enable· 74

shutdown (digital voice interface view) 74

special-character 75

subscriber-line· 75

tdm-clock· 76

timer 77

timer dl 78

timer dtmf-delay· 79

timer group-b· 80

timer register-pulse· 81

timeslot-set 81

transmit gain (digital voice interface view) 82

trunk-direction· 83

ts· 83

voice call disc-pi-off 84

 


Voice interface commands

The SPU600-X1 module does not support voice interfaces.

Analog voice interface commands

area

Use area to specify the standard of busy tones for all FXO interfaces.

Use undo area to restore the default.

Syntax

area { custom | europe | north-america }

undo area

Default

Busy tones of the European standard are used.

Views

Voice view

Predefined user roles

network-admin

Parameters

custom: Specifies custom busy tones.

europe: Specifies the European standard.

north-america: Specifies the North American standard.

Usage guidelines

This command takes effect on all FXO interfaces on the device.

Examples

# Specify the North America standard for busy tones for all FXO interfaces.

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] area north-america

busytone-detect auto

Use busytone-detect auto to configure automatic busy tone detection for an FXO interface.

Syntax

busytone-detect auto index line-number

Views

Voice view

Predefined user roles

network-admin

Parameters

index: Assigns a number to a busy tone type, in the range of 0 to 3. The device can record a maximum of four types of busy tones.

line-number: Specifies an FXO interface.

Usage guidelines

This command takes effect only on FXO interfaces.

After detecting busy tones by using the busytone-detect auto command, the device automatically performs the following operations:

1.     Calculates the busy tone parameters.

2.     Executes the busytone-detect custom command to record the busy tone parameters.

3.     Executes the area custom command to make these busy tone parameters take effect.

Examples

# Enable automatic busy tone detection for FXO interface 2/2/1, and assign number 0 to the detected busy tone parameters.

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] busytone-detect auto 0 2/2/1

Related commands

area custom

busytone-detect custom

busytone-detect custom

Use busytone-detect custom to configure custom busy tone parameters for all FXO interfaces.

Use undo busytone-detect custom to delete custom busy tone parameters.

Syntax

busytone-detect custom area-number index argu f1 f2 p1 p2 p3 p4 p5 p6 p7

undo busytone-detect custom index

Default

No busy tone parameters exist. The standard of busy tones depends on the area command.

Views

Voice view

Predefined user roles

network-admin

Parameters

area-number: Specifies an area number. This argument is reserved for future use and has a fixed value of 2.

index: Assigns a number to a busy tone type, in the range of 0 to 3. The device can record a maximum of four types of busy tones.

argu: This argument is reserved for future use and has a value range of 0 to 32767.

f1: Frequency 1 in Hz, in the range of 50 to 3600.

f2: Frequency 2 in Hz, in the range of 50 to 3600.

p1: Signal amplitude 1, in the range of 50 to 32767.

p2: Signal amplitude 2, in the range of 50 to 32767.

p3: Duration of a single tone in milliseconds, in the range of 10 to 1000.

p4: Duration error of a single tone in milliseconds, in the range of 0 to 500.

p5: Duration of silence in milliseconds, in the range of 10 to 1000.

p6: Duration error of silence in milliseconds, in the range of 0 to 500.

p7: Absolute difference between p3 and p5 in milliseconds, in the range of 0 to 500.

Usage guidelines

This command takes effect on all FXO interfaces.

The system supports four types of busy tones and each busy tone type is identified by the index argument.

The custom busy tone parameters take effect only after the area custom command is configured.

Examples

# Customize busy tone parameters, and assign number 1 to the busy tone parameters for all FXO interfaces.

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] busytone-detect custom 2 1 99 450 450 8000 8000 800 300 500 500 500

Related commands

area

busytone-detect period

Use busytone-detect period to set the number of busy tone detection periods on an FXO interface.

Use undo busytone-detect period to restore the default.

Syntax

busytone-detect period value

undo busytone-detect period

Default

The number of busy tone detection periods is 2 on an FXO interface.

Views

FXO interface view

Predefined user roles

network-admin

Parameters

value: Specifies the number of busy tone detection periods, in the range of 2 to 12. The greater the value, the longer the busy tone detection time.

Usage guidelines

Increasing the number of busy tone detection periods can improve the detection accuracy to reduce the likelihood of false on-hook, but it increases the likelihood of failed on-hook.

Test the new value multiple times to make sure the new value does not cause failed on-hook.

Examples

# Set the number of busy tone detection periods to 3 on FXO interface 2/2/1.

<Sysname> system-view

[Sysname] subscriber-line 2/2/1

[Sysname-subscriber-line2/2/1] busytone-detect period 3

busytone-hookon delay-timer

Use busytone-hookon delay-timer to set the delay time from when an FXO interface detects a busy tone to when the interface goes on-hook.

Use undo busytone-hookon delay-timer to restore the default.

Syntax

busytone-hookon delay-timer value

undo busytone-hookon delay-timer

Default

The delay time is 0 seconds (the FXO interface goes on-hook immediately after detecting a busy tone).

Views

FXO interface view

Predefined user roles

network-admin

Parameters

value: Specifies the delay time in the range of 0 to 30 seconds.

Usage guidelines

An FXO interface goes on-hook when detecting a busy tone. This will cause the user of the IP phone connected to the FXO interface to mistake the on-hook as a line problem because the user cannot hear the busy tones.

To resolve this problem, use this command to configure an on-hook delay so the user of the IP phone can hear the busy tones during the delay time.

Examples

# Set the delay time from when FXO interface 2/2/1 detects a busy tone to when the interface goes on-hook to 3 seconds.

<Sysname> system-view

[Sysname] subscriber-line 2/2/1

[Sysname-subscriber-line2/2/1] busytone-hookon delay-timer 3

cable

Use cable to configure the cable type for an E&M interface.

Use undo cable to restore the default.

Syntax

cable { 2-wire | 4-wire }

undo cable

Default

The cable type of an E&M interface is 4-wire.

Views

E&M interface view

Predefined user roles

network-admin

Parameters

2-wire: Specifies the 2-wire cable type, which provides full-duplex voice transmission. Each wire carries bidirectional signals.

4-wire: Specifies the 4-wire cable type, which provides simplex voice transmission. Every two wires receive and send signals in one direction.

Usage guidelines

You must configure the same cable type for the E&M interfaces on the originating and terminating devices. Otherwise, only one-way voice communication can be implemented.

Examples

# Configure the cable type as 2-wire for E&M interface 2/3/1.

<Sysname> system-view

[Sysname] subscriber-line 2/3/1

[Sysname-sub scriber-line2/3/1] cable 2-wire

calling-name

Use calling-name to configure the calling name on an FXS interface.

Use undo calling-name to restore the default.

Syntax

calling-name text

undo calling-name

Default

No calling name exists on an FXS interface.

Views

FXS interface view

Predefined user roles

network-admin

Parameters

text: Specifies a calling name, a case-sensitive string of 1 to 50 characters.

Usage guidelines

The calling name can be sent only in the multiple-data-message format.

Use this command on the originating device.

Examples

# Configure the calling name as tony for FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] calling-name tony

Related commands

cid display

cid send

cid type

cid display

Use cid display to enable caller identification (CID) on an FXS interface.

Use undo cid display to disable CID on an FXS interface.

Syntax

cid display

undo cid display

Default

CID is enabled on an FXS interface.

Views

FXS interface view

Predefined user roles

network-admin

Usage guidelines

Use this command on the terminating device.

Examples

# Disable CID on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] undo cid display

Related commands

calling-name

cid receive

Use cid receive to enable CID receiving on an FXO interface.

Use undo cid receive to disable CID receiving on an FXO interface.

Syntax

cid receive

undo cid receive

Default

CID receiving is enabled on an FXO interface.

Views

FXO interface view

Predefined user roles

network-admin

Usage guidelines

CID receiving must be enabled for CID to work correctly.

Examples

# Enable CID receiving on FXO interface 2/2/1.

<Sysname> system-view

[Sysname] subscriber-line 2/2/1

[Sysname-subscriber-line2/2/1] cid receive

cid ring

Use cid ring to set the time for CID detection and the number of rings the FXO interface receives before going off-hook.

Use undo cid ring to restore the default.

Syntax

cid ring { 0 | 1 | 2 } [ times ]

undo cid ring

Default

The FXO interface performs CID detection between the first and the second rings, and it goes off-hook immediately after the CID detection is completed. The cid ring 1 0 command applies.

Views

FXO interface view

Predefined user roles

network-admin

Parameters

0: Detects CID before the rings.

1: Detects CID between the first ring and the second ring.

2: Detects CID between the second ring and the third ring.

times: Specifies the number of rings before the FXO interface goes off-hook after CID detection. The value is in the range of 0 to 5. The greater the value is, the later the FXO line goes off-hook.

Examples

# Configure FXO interface 2/2/1 to detect CID before the rings.

<Sysname> system-view

[Sysname] subscriber-line 2/2/1

[Sysname-subscriber-line2/2/1] cid ring 0

cid send

Use cid send to enable CID sending on an FXS or FXO interface.

Use undo cid send to disable CID sending on an FXS or FXO interface.

Syntax

cid send

undo cid send

Default

CID sending is enabled on an FXS or FXO interface.

Views

FXS interface view

FXO interface view

Predefined user roles

network-admin

Usage guidelines

CID sending must be enabled on CID to work correctly.

Examples

# Enable CID sending on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] cid send

cid standard-type

Use cid standard-type to configure the CID standard on an FXS interface.

Use undo cid standard-type to restore the default.

Syntax

cid standard-type { bellcore | brazil }

undo cid standard-type

Default

An FXS interface uses the Bellcore standard for CID.

Views

FXS interface view

Predefined user roles

network-admin

Parameters

bellcore: Specifies the Bellcore standard that sends CID in frequency shift keying (FSK) mode. This standard applies to most countries and regions, such as China and North America.

brazil: Specifies the Brazil standard that sends CID in dual tone multifrequency (DTMF) mode.

Usage guidelines

This command takes effect on the terminating device, which encapsulates CID by using the specified standard and sends it to the called telephone.

The CID format configured by using the cid type command takes effect only when the bellcore standard is used.

Examples

# Specify the CID standard as brazil on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] cid standard-type brazil

Related commands

cid type

cid type

Use cid type to configure the CID format on an FXS interface.

Use undo cid type to restore the default.

Syntax

cid type { complex | simple }

undo cid type

Default

An FXS interface uses the multiple data message format (MDMF) to send CID.

Views

FXS interface view

Predefined user roles

network-admin

Parameters

complex: Specifies MDMF.

simple: Specifies single data message format (SDMF).

Usage guidelines

The local and remote ends must use the same CID format if the remote end supports only one CID format.

The calling name in the CID can only be transmitted in MDMF format.

This command takes effect only on the terminating device.

Examples

# Set the CID format to SDMF on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] cid type simple

Related commands

calling-name

cid display

cid send

cid standard-type

cng-on (FXS/FXO/E&M interface view)

Use cng-on to enable comfortable noise generation (CNG) on an analog voice interface.

Use undo cng-on to disable CNG on an analog voice interface.

Syntax

cng-on

undo cng-on

Default

CNG is enabled on an analog voice interface.

Views

FXS interface view

FXO interface view

E&M interface view

Predefined user roles

network-admin

Usage guidelines

CNG generates and fills comfortable background noise into silent gaps during a conversation. If you disable CNG, the silent gaps during a conversation might make users feel uncomfortable.

Examples

# Disable CNG on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] undo cng-on

cptone

Use cptone to specify call progress tones.

Use undo cptone to restore the default.

Syntax

cptone { country-type locale | custom { busy-tone | congestion-tone | dial-tone | ringback-tone | special-dial-tone | waiting-tone } comb freq1 freq2 time1 time2 time3 time4

undo cptone

Default

The call progress tones of China are used.

Views

Voice view

Predefined user roles

network-admin

Parameters

country-type locale: Specifies a country or region in Table 1.

Table 1 Countries and regions

Code

Country/region name

AR

Argentina

AU

Australia

AT

Austria

BE

Belgium

BR

Brazil

BG

Bulgaria

CA

Canada

CL

Chile

CN

China

HR

Croatia

CU

Cuba

CY

Cyprus

CZ

Czech Republic

DK

Denmark

EG

Egypt

FI

Finland

FR

France

DE

Germany

GH

Ghana

GR

Greece

HK

Hong Kong China

HU

Hungary

IS

Iceland

IN

India

ID

Indonesia

IR

Iran

IE

Ireland

IEU

Ireland (UK style)

IL

Israel

IT

Italy

JP

Japan

JO

Jordan

KE

Kenya

KR

Republic of Korea

LB

Lebanon

LU

Luxembourg

MO

Macau

MY

Malaysia

MX

Mexico

NP

Nepal

NL

Netherlands

NZ

New Zealand

NG

Nigeria

NO

Norway

PK

Pakistan

PA

Panama

PH

Philippines

PL

Poland

PT

Portugal

RU

Russian Federation

SA

Saudi Arabia

SG

Singapore

SK

Slovakia

SI

Slovenia

ZA

South Africa

ES

Spain

SE

Sweden

CH

Switzerland

TH

Thailand

TR

Turkey

GB

United Kingdom

US

United States

UY

Uruguay

ZW

Zimbabwe

 

custom: Customizes call progress tones.

busy-tone: Specifies the busy tone.

congestion-tone: Specifies the congestion tone.

dial-tone: Specifies the dial tone.

ringback-tone: Specifies the ringback tone.

special-dial-tone: Specifies the special dial tone.

waiting-tone: Specifies the waiting tone.

comb: Specifies a combination mode value in the range of 0 to 2. The values 0, 1, and 2 represent the superimposition, modulation, and alternation of the two frequencies, respectively.

freq1 and freq2: Specifies the two frequencies in Hz. The frequency range is related to the combination mode. In frequency superimposition or alternation, the two frequencies are in the range of 300 Hz to 3400 Hz. In frequency modulation, the two frequencies are in the range of 0 Hz to 3400 Hz, and the sum and absolute difference of the two frequencies are in the range of 300 Hz to 3400 Hz.

time1: Specifies the make time for the first make-to-break ratio in milliseconds, in the range of 30 to 8192. In the case of continuous play, the value for time1 is 8192, and the values of the following three arguments must be all set to 0.

time2: Specifies the break time for the first make-to-break ratio in milliseconds. The value range is 0 and 30 through 8191. If time1 is set to 0, this argument must be set to 0.

time3: Specifies the make time for the second make-to-break ratio in milliseconds. The value range is 0 and 30 through 8191. If time1 is set to 0, this argument must be set to 0.

time4: Specifies the break time for the second make-to-break ratio in milliseconds. The value range is 0 and 30 to 8191. If time1 is set to 0, this argument must be set to 0.

Usage guidelines

This command takes effect only for the progress tones on the local device.

Examples

# Specify the call progress tones of US.

<Sysname> system-view

[sysname] voice-setup

[sysname-voice] cptone country-type us

# Customize the call progress tones.

<Sysname> system-view

[sysname] voice-setup

[sysname-voice] cptone custom busy-tone 0 425 425 350 350 350 350

cptone tone-type

Use cptone tone-type to set the amplitude of call progress tones.

Use undo cptone tone-type to restore the default.

Syntax

cptone tone-type { all | busy-tone | congestion-tone | dial-tone | ringback-tone | special-dial-tone | waiting-tone } amplitude value

undo cptone tone-type { all | busy-tone | congestion-tone | dial-tone | ringback-tone | special-dial-tone | waiting-tone } amplitude

Default

The amplitude is 1000 for busy tones and congestion tones, 400 for dial tones and special dial tones, and 600 for ringback tones and waiting tones.

Views

Voice view

Predefined user roles

network-admin

Parameters

all: Specifies all types of call progress tones.

busy-tone: Specifies the busy tone.

congestion-tone: Specifies the congestion tone.

dial-tone: Specifies the dial tone.

ringback-tone: Specifies the ringback tone.

special-dial-tone: Specifies the special dial tone.

waiting-tone: Specifies the waiting tone.

amplitude value: Specifies an amplitude in the range of 200 to 1500.

Examples

# Set the amplitude of the busy tone to 1200.

<sysname> system-view

[sysname] voice-setup

[sysname-voice] cptone tone-type busy-tone amplitude 1200

default (FXS/FXO/E&M interface view)

Use default to restore the default settings on an analog voice interface.

Syntax

default

Views

FXS interface view

FXO interface view

E&M interface view

Predefined user roles

network-admin

Usage guidelines

The default command impacts some services. Make sure you are fully aware of the impacts of this command when you execute it on a live network.

This command might fail to restore the default settings for some commands for reasons such as command dependencies or system restrictions. Use the display this command in interface view to identify these commands. Then use their undo forms or follow the command reference to restore their default settings. If your restoration attempt still fails, follow the error message instructions to resolve the problem.

Examples

# Restore the default settings on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] default

delay hold

Use delay hold to set the seizure signal duration in delay start mode on an E&M interface.

Use undo delay hold to restore the default.

Syntax

delay hold milliseconds

undo delay hold

Default

The seizure signal duration in delay start mode is 400 milliseconds on an E&M interface.

Views

E&M interface view

Predefined user roles

network-admin

Parameters

milliseconds: Specifies the seizure signal duration in delay start mode, in the range of 100 to 5000 milliseconds.

Examples

# Set the seizure signal duration in delay start mode to 500 milliseconds on E&M interface 2/3/1.

<Sysname> system-view

[Sysname] subscriber-line 2/3/1

[Sysname-subscriber-line2/3/1] signal delay

[Sysname-subscriber-line2/3/1] delay hold 500

Related commands

signal

delay rising

Use delay rising to set the delay time from when the terminating side detects a seizure signal to when it sends the seizure signal in delay start mode.

Use undo delay rising to restore the default.

Syntax

delay rising milliseconds

undo delay rising

Default

The delay time is 300 milliseconds.

Views

E&M interface view

Predefined user roles

network-admin

Parameters

milliseconds: Specifies the delay time from when the terminating side detects a seizure signal to when it sends the seizure signal in the delay start mode. The value range is 20 to 2000 milliseconds.

Examples

# Set the delay time from when the terminating side detects a seizure signal to when it sends the seizure signal in the delay start mode to 700 milliseconds for E&M interface 2/3/1.

<Sysname> system-view

[Sysname] subscriber-line 2/3/1

[Sysname-subscriber-line2/3/1] signal delay

[Sysname-subscriber-line2/3/1] delay rising 700

Related commands

signal

delay send-dtmf

Use delay send-dtmf to set a delay before the originating side sends DTMF tones in immediate start mode.

Use undo delay send-dtmf to restore the default.

Syntax

delay send-dtmf milliseconds

undo delay send-dtmf

Default

The delay before the originating side sends DTMF tones in immediate start mode is 300 milliseconds.

Views

E&M interface view

Predefined user roles

network-admin

Parameters

milliseconds: Specifies the delay in the range of 50 to 5000 milliseconds.

Examples

# Set the delay before the originating side sends DTMF tones in immediate start mode to 3000 milliseconds for E&M interface 2/3/1.

<Sysname> system-view

[Sysname] subscriber-line 2/3/1

[Sysname-subscriber-line2/3/1] signal immediate

[Sysname-subscriber-line2/3/1] delay send-dtmf 3000

Related commands

signal

delay send-wink

Use delay send-wink to set a delay from when the terminating side receives a seizure signal to when it sends a wink signal in wink start mode.

Use undo delay send-wink to restore the default.

Syntax

delay send-wink milliseconds

undo delay send-wink

Default

The delay from when the terminating side receives a seizure signal to when it sends a wink signal is 200 milliseconds in wink start mode.

Views

E&M interface view

Predefined user roles

network-admin

Parameters

milliseconds: Specifies the delay in the range of 100 to 5000 milliseconds.

Examples

# Set the delay from when the terminating side receives a seizure signal to when it sends a wink signal in wink start mode to 700 milliseconds for E&M interface 2/3/1.

<Sysname> system-view

[Sysname] subscriber-line 2/3/1

[Sysname-subscriber-line2/3/1] signal wink

[Sysname-subscriber-line2/3/1] delay send-wink 700

Related commands

signal

delay start-dial

Use delay start-dial to set the dial delay time on an FXS or FXO interface.

Use undo delay start-dial to restore the default.

Syntax

delay start-dial seconds

undo delay start-dial

Default

The dial delay time for an FXS or FXO interface is 1 second.

Views

FXS interface view

FXO interface view

Predefined user roles

network-admin

Parameters

seconds: Specifies the dial delay time in the range of 0 to 10 seconds.

Examples

# Set the dial delay time to 5 seconds on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] delay start-dial 5

delay wink-hold

Use delay wink-hold to set the duration for which the terminating side sends wink signals in wink start mode.

Use undo delay wink-hold to restore the default.

Syntax

delay wink-hold milliseconds

undo delay wink-hold

Default

The terminating side sends wink signals for 500 milliseconds in wink start mode.

Views

E&M interface view

Predefined user roles

network-admin

Parameters

milliseconds: Specifies the duration for which the terminating side sends wink signals in wink start mode. The value range is 100 to 3000 milliseconds.

Examples

# Set the duration for which E&M interface 2/3/1 sends wink signals in wink start mode to 700 milliseconds.

<Sysname> system-view

[Sysname] subscriber-line 2/3/1

[Sysname-subscriber-line2/3/1] signal wink

[Sysname-subscriber-line2/3/1] delay wink-hold 700

Related commands

signal

delay wink-rising

Use delay wink-rising to set the timeout time for the originating side to wait for a wink signal after sending a seizure signal in wink start mode.

Use undo delay wink-rising to restore the default.

Syntax

delay wink-rising milliseconds

undo delay wink-rising

Default

The timeout time for the originating side to wait for a wink signal after sending a seizure signal is 2000 milliseconds in wink start mode.

Views

E&M interface view

Predefined user roles

network-admin

Parameters

milliseconds: Specifies the timeout time in the range of 100 to 5000 milliseconds.

Usage guidelines

If the originating side does not receive a wink signal from the terminating side within the timeout time, the call fails.

Examples

# Set the timeout time to 2000 milliseconds for E&M interface 2/3/1.

<Sysname> system-view

[Sysname] subscriber-line 2/3/1

[Sysname-subscriber-line2/3/1] signal wink

[Sysname-subscriber-line2/3/1] delay wink-rising 2000

Related commands

signal

description (FXS/FXO/E&M interface view)

Use description to configure the description of an analog voice interface.

Use undo description to restore the default.

Syntax

description text

undo description

Default

The description of an analog voice interface is interface name Interface, for example, Subscriber-line2/1/1 Interface.

Views

FXS interface view

FXO interface view

E&M interface view

Predefined user roles

network-admin

Parameters

text: Specifies a description, a case-sensitive string of 1 to 80 characters.

Examples

# Configure the description of FXS interface 2/1/1 as pstn.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-Subscriber-line2/1/1] description pstn

disconnect lcfo

Use disconnect lcfo to configure an FXS interface to send a LCFO signal when the peer goes on-hook.

Use undo disconnect lcfo to restore the default.

Syntax

disconnect lcfo

undo disconnect lcfo

Default

No LCFO signal is sent (a busy tone is played to the connected device).

Views

FXS interface view

Predefined user roles

network-admin

Usage guidelines

You can configure an FXS interface to send a loop current feed open (LCFO) signal to the connected device when the peer goes on-hook. This feature is used mainly in North America.

You can configure the duration of LCFO signals by using the timer disconnect-pulse command.

Examples

# Configure FXS interface 2/1/1 to send an LCFO signal.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] disconnect lcfo

Related commands

timer disconnect-pulse

display voice subscriber-line

Use display voice subscriber-line to display information about an analog voice interface.

Syntax

display voice subscriber-line line-number

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

line-number: Specifies an analog voice interface by its number.

Examples

# Display information about analog voice interface 2/3/1.

<Sysname> display voice subscriber-line 2/3/1

Current information: subscriber-line2/3/1

    Type: E&M

    Status: Up

    Call status: Idle

Table 2 Command output

Field

Description

Type

Type of the voice interface:

·     FXS.

·     FXO.

·     E&M.

Status

Status of the voice interface:

·     Down.

·     Up.

·     Down(Administratively)—The voice interface is shut down by using the shutdown command.

Call Status

·     Status for FXS interfaces:

¡     Idle.

¡     Receiving number.

¡     Ringing.

¡     Listening to ringback tone.

¡     Playing busytone.

¡     Talking.

¡     Releasing.

·     Status for FXO interfaces:

¡     Idle.

¡     Receiving number.

¡     Ringing.

¡     Listening to ringback tone.

¡     Playing busytone

¡     Talking.

¡     Releasing.

¡     Bound and off-hook.

¡     Bound and on-hook.

·     Status for E&M interfaces:

¡     Idle.

¡     Sending number.

¡     Ringing.

¡     Listening to ringback tone.

¡     Playing busytone.

¡     Talking.

¡     Releasing.

 

dtmf amplitude

Use dtmf amplitude to set the amplitude of DTMF tones.

Use undo dtmf amplitude to restore the default.

Syntax

dtmf amplitude value

undo dtmf amplitude

Default

The amplitude of DTMF tones is –9.0 dBm.

Views

Voice view

Predefined user roles

network-admin

Parameters

value: Specifies the amplitude of DTMF tones, in the range of –9.0 to –7.0 dBm.

Examples

# Set the amplitude of DTMF tones as –8.0 dBm.

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] dtmf amplitude -8.0

dtmf sensitivity-level

Use dtmf sensitivity-level to set the DTMF tone detection sensitivity level.

Use undo dtmf sensitivity-level to restore the default.

Syntax

dtmf sensitivity-level { high | low | medium [ frequency-tolerance value ] }

undo dtmf sensitivity-level

This command is supported only on the following modules:

·     HMIM-4FXO.

·     HMIM-8FXS8FXO.

·     HMIM-16FXS.

·     SIC-1FXO.

·     SIC-2FXO

·     SIC-2FXS1FXO.

Only the MSR5620 router supports SIC modules.

Default

The DTMF tone detection sensitivity level is low.

Views

FXS interface view

FXO interface view

Predefined user roles

network-admin

Parameters

high: Specifies the DTMF tone detection sensitivity level to high. In this mode, the possibility of missing a true DTMF tone is low, but the possibility of false detection is high.

low: Specifies the DTMF tone detection sensitivity level to low. In this mode, the possibility of false detection is low, but the possibility of missing a true DTMF tone is high.

medium: Specifies the DTMF tone detection sensitivity level to medium.

The following compatibility matrix shows the support of interface modules for this parameter:

 

Interface module

Parameter compatibility

HMIM-4FXO

SIC-1FXO

SIC-2FXO

No

HMIM-8FXS8FXO

HMIM-16FXS

SIC-2FXS1FXO

Yes

frequency-tolerance value: Specifies the absolute frequency deviation (in percentage) when the DTMF detection sensitivity level is medium. The value range is 1.0 to 5.0, and the default is 2.0. The greater the value, the higher the probability of false detection.

Examples

# Set the DTMF tone detection sensitivity level to high for FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] dtmf sensitivity-level high

dtmf threshold analog

Use dtmf threshold analog to set the threshold parameters for DTMF tone detection.

Use undo dtmf threshold analog to restore the default.

Syntax

dtmf threshold analog index value

undo dtmf threshold analog index

Default

Indexes 0 to 12 correspond to 1400, 458, -9, -9, -9, -9, -3, -12, -12, 30, 300, 3200, and 375, respectively.

Views

FXS interface view

FXO interface view

E&M interface view

Predefined user roles

network-admin

Parameters

index: Specifies an index number in the range of 0 to 12.

value: Specifies a threshold value. The value range varies by index. For more information, see Table 3.

The system determines whether an input DTMF digit is valid according to the energy level of the row and column frequencies and the energy level of their doubled frequencies.

The maximum energy of the input signal in the row frequency group is ROWMAX, and the corresponding doubled frequency energy is ROW2nd. The maximum energy in the column frequency group is COLMAX, and the corresponding doubled frequency energy is COL2nd.

Table 3 Meaning of index numbers

Index

Meaning

Value range

Remarks

0

Lower limit of (ROWMAX + COLMAX). The input signal is recognized as a DTMF digit if (ROWMAX + COLMAX) > Value for index 0.

1 to 4999, with a default of 1400

The larger the value, the higher the detection specificity and the lower the detection sensitivity.

1

Upper limit of the maximum value of ROWMAX or COLMAX, whichever is larger. This limit is used for detecting the inter-digit delay. A detected digit is considered ended only when max (ROWMAX, COLMAX) < Value for index 1.

1 to 4999, with a default of 458

The smaller the value, the higher the detection specificity and the lower the detection sensitivity.

2

Lower limit of COLMAX/ROWMAX, where ROWMAX < COLMAX. An input signal is recognized as a DTMF digit only when 10 x (COLMAX/ROWMAX) > Value for index 2.

–18 to –3 dB, with a default of –9 dB

The larger the value, the higher the detection specificity and the lower the detection sensitivity.

3

Lower limit of ROWMAX/COLMAX when COLMAX ≥ ROWMAX. An input signal is recognized as a DTMF digit only when 10 x (ROWMAX/COLMAX) > Value for index 3.

–18 to –3 dB, with a default of –9 dB

The smaller the value, the higher the detection specificity and the lower the detection sensitivity.

4

Upper limit of the ratio of the second largest energy level from the row frequency group to ROWMAX. The ratio must be lower than this limit for the input signal to be recognized as a DTMF digit.

–18 to –3 dB, with a default of –9 dB

The smaller the value, the higher the detection specificity and the lower the detection sensitivity.

5

Upper limit of the ratio of the second largest energy level from the column frequency group to COLMAX. The ratio must be lower than this limit for the input signal to be recognized as a DTMF digit.

–18 to –3 dB, with a default of –9 dB

The smaller the value, the higher the detection specificity and the lower the detection sensitivity.

6

Upper limit of ROW2nd/ROWMAX. An input signal is recognized as a DTMF digit only when ROW2nd/ROWMAX < Value for index 6.

–18 to –3 dB, with a default of –3 dB

The smaller the value, the higher the detection specificity and the lower the detection sensitivity.

7

Upper limit of COL2nd/COLMAX. The ratio must be lower than this limit for the input signal to be recognized as a DTMF digit.

–18 to –3 dB, with a default of –12 dB

The smaller the value, the higher the detection specificity and the lower the detection sensitivity.

8

Upper limit of the ratio of the maximum energy level of two extra specified frequency points to max (ROWMAX, COLMAX). The ratio must be greater than this upper limit for the input signal to be recognized as a DTMF digit.

–18 to –3 dB, with a default of –12 dB

The smaller the value, the higher the detection specificity and the lower the detection sensitivity.

9

Lower limit of the DTMF tone duration. The duration of DTMF key tone must be larger than this threshold for the input signal to be recognized as a DTMF digit.

30 to 150 milliseconds, with a default of 30 milliseconds

The larger the value, the higher the detection specificity and the lower the detection sensitivity.

10

Frequency of the first extra frequency point specified for detection.

In addition, it must be a frequency 100 Hz greater than or less than the row and column frequency pair.

300 to 3400 Hz, with a default of 300 Hz

N/A

11

Frequency of the second extra frequency point specified for detection.

In addition, it must be a frequency 100 Hz greater than or less than the row and column frequency pair.

300 to 3400 Hz, with a default of 3200 Hz

N/A

12

Lower limit of the amplitude of the input signal. The average amplitude must be greater than this threshold for the input signal to be recognized as a DTMF digit.

0 to 700, with a default of 375

The larger the value, the higher the detection specificity and the lower the detection sensitivity.

 

Usage guidelines

The dtmf threshold analog command is used to fine tune detection sensitivity and specificity. You can use this command when DTMF tone detection fails. In normal cases, use the default settings for this command.

Examples

# Set the threshold value 40 for index 9 on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] dtmf threshold analog 9 40

dtmf time

Use dtmf time to set the duration of DTMF tones and the interval between DTMF tones.

Use undo dtmf time to restore the default.

Syntax

dtmf time { interval interval | persist duration }

undo dtmf time { interval | persist }

Default

The duration of DTMF tones and the interval between DTMF tones are both 120 milliseconds.

Views

Voice view

Predefined user roles

network-admin

Parameters

interval interval: Specifies the interval between DTMF tones, in the range of 50 to 500 milliseconds.

persist duration: Specifies the duration of DTMF tones, in the range of 50 to 500 milliseconds.

Examples

# Set the duration of DTMF tones to 200 milliseconds, and the interval between DTMF tones to 300 milliseconds.

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] dtmf time persist 200

[Sysname-voice] dtmf time interval 300

echo-canceler

Use echo-canceler to set echo cancellation parameters.

Use undo echo-canceler to restore the default.

Syntax

echo-canceler { convergence-rate value | max-amplitude value | mix-proportion-ratio value | talk-threshold value }

undo echo-canceler { convergence-rate | max-amplitude | mix-proportion-ratio | talk-threshold }

Default

·     The convergence rate of comfort noise amplitude is 0.

·     The maximum amplitude of comfort noise is 256.

·     The comfort noise mixture proportion control factor is 100.

·     The threshold of two-way talk is 1.

Views

Voice view

Predefined user roles

network-admin

Parameters

convergence-rate value: Specifies the convergence rate of comfort noise amplitude, in the range of 0 to 511. The greater the value, the quicker the convergence.

max-amplitude value: Specifies the maximum amplitude of comfort noise, in the range of 0 to 2048. The greater the value, the greater the noise amplitude. The value 0 indicates that the system performs only nonlinear processing and does not add comfort noise.

mix-proportion-ratio value: Specifies the comfort noise mixture proportion control factor, in the range of 0 to 3000. The greater the value, the higher the proportion of noise in the hybrid of noise and voice.

talk-threshold value: Specifies the threshold of two-way talk, in the range of 0 to 2.

Usage guidelines

The echo cancellation parameters take effect only after the echo-canceler enable command is configured. The convergence-rate value and max-amplitude value options take effect only when the cng-on command is configured.

Examples

# Set the convergence rate of comfort noise amplitude to 50.

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] echo-canceler convergence-rate 50

Related commands

cng-on

echo-canceler enable

echo-canceler delay (FXS/FXO/E&M interface view)

Use echo-canceler delay to set the echo cancellation delay on an analog voice interface.

Use undo echo-canceler delay to restore the default.

Syntax

echo-canceler delay milliseconds

undo echo-canceler delay

Default

The echo cancellation delay on an analog voice interface is 0 milliseconds.

Views

FXS interface view

FXO interface view

E&M interface view

Predefined user roles

network-admin

Parameters

milliseconds: Specifies the echo cancellation delay (the time from when a subscriber speaks to when the subscriber hears the echo) in the range of 0 to 64 milliseconds.

Examples

# Enable echo cancellation, and set the echo cancellation delay to 24 milliseconds on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] echo-canceler enable

[Sysname-subscriber-line2/1/1] echo-canceler delay 24

Related commands

echo-canceler enable

echo-canceler tail-length

echo-canceler enable (FXS/FXO/E&M interface view)

Use echo-canceler enable to enable echo cancellation on an analog voice interface.

Use undo echo-canceler enable to disable echo cancellation on an analog voice interface.

Syntax

echo-canceler enable

undo echo-canceler enable

Default

Echo cancellation is enabled on an analog voice interface.

Views

FXS interface view

FXO interface view

E&M interface view

Predefined user roles

network-admin

Examples

# Enable echo cancellation on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] echo-canceler enable

Related commands

echo-canceler delay

echo-canceler tail-length

echo-canceler tail-length (FXS/FXO/E&M interface view)

Use echo-canceler tail-length to set the echo cancellation coverage on an analog voice interface.

Use undo echo-canceler tail-length to restore the default.

Syntax

echo-canceler tail-length milliseconds

undo echo-canceler tail-length

Default

The echo cancellation coverage is 128 milliseconds on an analog voice interface.

Views

FXS interface view

FXO interface view

E&M interface view

Predefined user roles

network-admin

Parameters

milliseconds: Specifies the echo cancellation coverage in milliseconds. The value for this argument can only be 128.

Usage guidelines

Increasing the echo cancellation coverage can effectively cancel multipath echoes.

Examples

# Enable echo cancellation, and set the echo cancellation coverage to 32 milliseconds on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] echo-canceler enable

[Sysname-subscriber-line2/1/1] echo-canceler tail-length 32

Related commands

echo-canceler delay

echo-canceler enable

em log enable

Use em log enable to enable E&M call logging.

Use undo em log enable to disable E&M call logging.

Syntax

em log enable

undo em log enable

Default

E&M call logging is disabled.

Views

Voice view

Predefined user roles

network-admin

Usage guidelines

E&M call logging enables the device to log call events on E&M interfaces and send the log messages to the information center. With the information center, you can set log message filtering and output rules, including output destinations. For more information about using the information center, see Network Management and Monitoring Configuration Guide.

Examples

# Enable E&M call logging.

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] em log enable

hookoff-mode

Use hookoff-mode to specify an off-hook mode for an FXO interface.

Use undo hookoff-mode to restore the default.

Syntax

hookoff-mode { delay | immediate }

undo hookoff-mode

Default

An FXO interface operates in immediate off-hook mode.

Views

FXO interface view

Predefined user roles

network-admin

Parameters

delay: Specifies the delay off-hook mode.

immediate: Specifies the immediate off-hook mode.

Examples

# Specify the delay off-hook mode for FXO interface 2/2/1.

<Sysname> system-view

[Sysname] subscriber-line 2/2/1

[Sysname-subscriber-line 2/2/1] hookoff-mode delay

hookoff-mode delay bind

Use hookoff-mode delay bind to bind an FXS interface to an FXO interface.

Use undo hookoff-mode delay bind to restore the default.

Syntax

hookoff-mode delay bind fxs-subscriber [ ring-immediately ]

undo hookoff-mode

Default

No FXS interface is bound to an FXO interface.

Views

FXO interface view

Predefined user roles

network-admin

Parameters

fxs-subscriber: Specifies an FXS interface.

ring-immediately: Specifies the immediate ringing mode.

Usage guidelines

The bound FXS and FXO interfaces must be on the same device.

Use the ring-immediately keyword to quicken ringing synchronization between the FXO interface and its bound FXS interface. The called telephones supporting CID will display the calling number after the second ringing tone.

Examples

# Specify the delay off-hook mode for FXO interface 2/2/1 and bind FXS interface 2/1/1 to FXO interface 2/2/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] hookoff-mode delay bind 2/1/1

hookoff-time

Use hookoff-time to enable forced on-hook on an FXO interface.

Use undo hookoff-time to disable forced on-hook on an FXO interface.

Syntax

hookoff-time time

undo hookoff-time

Default

Forced on-hook is disabled on an FXO interface.

Views

FXO interface view

Predefined user roles

network-admin

Parameters

time: Specifies the amount of time from off-hook to forced on-hook, in the range of 60 to 36000 seconds.

Usage guidelines

In some countries, PBXs do not play busy tones, or the busy tones only last for a short period of time. When noise is present on a link, even silence detection-based automatic on-hook (silence-detect threshold) cannot detect the busy tones and fails to release the call after on-hook. To resolve this problem, configure forced on-hook. Forced on-hook disconnects a call when the specified time expires, even if the call is ongoing.

This command takes effect on all FXO interfaces of the card.

Examples

# Enable forced on-hook and set the timer to 500 seconds for FXO interface 2/2/1.

<Sysname> system-view

[Sysname] subscriber-line 2/2/1

[Sysname-subscriber-line2/2/1] hookoff-time 500

Related commands

silence-detect threshold

impedance

Use impedance to set the electrical impedance on an FXO or FXS interface.

Use undo impedance to restore the default.

Syntax

impedance { country-name | r550 | r600 | r650 | r700 | r750 | r800 | r850 | r900 | r950 }

undo impedance

Default

An FXO or FXS interface uses the electrical impedance of China.

Views

FXS interface view

FXO interface view

Predefined user roles

network-admin

Parameters

country-name: Specifies a country. It can be Australia, Austria, Belgium-Long, Belgium-Short, Brazil, China, Czech-Republic, Denmark, ETSI-Harmonized, Finland, France, German-Swiss, Greece, Hungary, India, Italy, Japan, Korea, Mexico, Netherlands, New Zealand, Norway, Portugal, Slovakia, South Africa, Spain, Sweden, U.K., US-Loaded-Line, US-Non-Loaded, or US-Special-Service.

r550: Specifies the 550-ohm real impedance.

r600: Specifies the 600-ohm real impedance.

r650: Specifies the 650-ohm real impedance.

r700: Specifies the 700-ohm real impedance.

r750: Specifies the 750-ohm real impedance.

r800: Specifies the 800-ohm real impedance.

r850: Specifies the 850-ohm real impedance.

r900: Specifies the 900-ohm real impedance.

r950: Specifies the 950-ohm real impedance.

Usage guidelines

Each country corresponds to an impedance value. You can specify an impedance value by specifying a country.

You must configure the same electrical impedance value on the originating and terminating devices.

Examples

# Set the electrical impedance to r600 on FXO interface 2/2/1.

<Sysname> system-view

[Sysname] subscriber-line 2/2/1

[Sysname-subscriber-line2/2/1] impedance r600

monitor enable

Use monitor enable to enable online monitoring on all FXO interfaces.

Use undo monitor enable to disable online monitoring on all FXO interfaces.

Syntax

monitor enable

undo monitor enable

Default

Online monitoring is enabled on all FXO interfaces.

Views

Voice view

Predefined user roles

network-admin

Usage guidelines

When online monitoring is enabled, the device monitors the physical states of all FXO interfaces on the device.

When online monitoring is disabled, the device does not detect the physical states of FXO interfaces. All FXO interfaces are always shown in up state.

Examples

# Disable online monitoring on all FXO interfaces.

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] undo monitor enable

nlp-on (FXS/FXO/E&M interface view)

Use nlp-on to enable nonlinear processing on an analog voice interface.

Use undo nlp-on to disable nonlinear processing on an analog voice interface.

Syntax

nlp-on

undo nlp-on

This command is not supported on the following interface modules:

·     HMIM-8FXS8FXO.

·     HMIM-16FXS.

·     SIC-2FXS1FXO.

Default

Nonlinear processing is enabled on an analog voice interface.

Views

FXS interface view

FXO interface view

E&M interface view

Predefined user roles

network-admin

Usage guidelines

This command takes effect only after the echo-canceler enable command is configured.

Examples

# Disable nonlinear processing on FXO interface 2/2/1.

<Sysname> system-view

[Sysname] subscriber-line 2/2/1

[Sysname-subscriber-line 2/2/1] undo nlp-on

Related commands

echo-canceler enable

open-trunk

Use open-trunk to enable E&M non-signaling mode.

Use undo open-trunk to disable E&M non-signaling mode.

Syntax

open-trunk { caller [ monitor interval ] | called }

undo open-trunk

Default

The E&M non-signaling mode is disabled.

Views

E&M interface view

Predefined user roles

network-admin

Parameters

caller: Enables E&M non-signaling mode on the originating device.

monitor interval: Specifies the monitoring time in the range of 60 to 600 seconds. If the terminating side does not go off-hook within the specified time, the originating side reinitiates a call to the terminating side. The monitoring timer starts immediately after this option is configured.

called: Enables E&M non-signaling mode on the terminating device.

Usage guidelines

You must configure the signal immediate command on the originating and terminating devices before configuring this command.

Configure the open-trunk caller [ monitor interval ] command on the originating device, and configure the open-trunk called command on the terminating device.

For the E&M non-signaling mode to work with PLAR, you must configure the private-line command on the originating device. For more information about PLAR, see Voice Configuration Guide.

Examples

# Enable the E&M non-signaling mode for E&M interface 2/3/1 on the originating device, and specify the monitoring time as 120 seconds.

<Sysname> system-view

[Sysname] subscriber-line 2/3/1

[Sysname-subscriber-line2/3/1] open-trunk caller monitor 120

Related commands

private-line

signal

passthrough

Use passthrough to enable E&M control signals pass-through.

Use undo passthrough to disable E&M control signals pass-through.

Syntax

passthrough

undo passthrough

Default

E&M control signals pass-through is disabled.

Views

E&M interface view

Predefined user roles

network-admin

Usage guidelines

Configure this command on both the originating and terminating devices.

Examples

# Enable E&M control signals pass-through on E&M interface 2/3/1.

<Sysname> system-view

[Sysname] subscriber-line 2/3/1

[Sysname-subscriber-line2/3/1] passthrough

pcm-passthrough

This command is supported only on E&M interface modules that use the G.711 A-law codec.

Use pcm-passthrough to enable PCM pass-through.

Use undo pcm-passthrough to disable PCM pass-through.

Syntax

In standalone mode:

pcm-passthrough slot slot-number subslot subslot-number

undo pcm-passthrough slot slot-number subslot subslot-number

In IRF mode:

pcm-passthrough chassis chassis-number slot slot-number subslot subslot-number

undo pcm-passthrough chassis chassis-number slot slot-number subslot subslot-number

Default

PCM pass-through is disabled.

Views

Voice view

Predefined user roles

network-admin

Parameters

slot slot-number subslot subslot-number: Specifies a subcard on a card. The slot-number argument represents the slot number of the card. The subslot-number argument represents the subslot number of the subcard. (In standalone mode.)

chassis chassis-number slot slot-number subslot subslot-number: Specifies a subcard of a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. The subslot-number argument represents the subslot number of the subcard. (In IRF mode.)

Usage guidelines

This command is supported only for PCM data that uses G.711 A-Law.

For this command to take effect, you must reboot the specified subcard. To check whether this command takes effect, use the display device verbose command.

Examples

# (In standalone mode.) (In IRF mode.) Enable PCM pass-through for subcard 2.

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] pcm-passthrough slot 2 subslot 1

This command will reboot the card in the specified subslot. Continue? [Y/N]: Y

plc-mode

Use plc-mode to specify a packet loss compensation mode on an FXS or FXO interface.

Use undo plc-mode to restore the default.

Syntax

plc-mode { general | specific }

undo plc-mode

Default

An FXS or FXO interface uses the gateway-specific compensation mode.

Views

FXS interface view

FXO interface view

Predefined user roles

network-admin

Parameters

general: Uses the general compensation mode to reconstruct lost packets. This mode applies to discrete packet loss.

specific: Uses the voice gateway-specific compensation mode to reconstruct lost packets. This mode applies to continuous packet loss.

Examples

# Specify the general compensation mode to reconstruct lost packets on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] plc-mode general

receive gain (FXS/FXO/E&M interface view)

Use receive gain to set the input gain value on an analog voice interface.

Use undo receive gain to restore the default.

Syntax

receive gain value

undo receive gain

Default

The input gain value on an analog voice interface is 0 dB.

Views

FXS interface view

FXO interface view

E&M interface view

Predefined user roles

network-admin

Parameters

value: Specifies the input gain value in the range of –14.0 to +13.9 dB.

Usage guidelines

When the voice signals on the line attenuate, you can use this command to increase the input gain.

Gain adjustment might lead to call failures. If necessary, do it under the guidance of technical engineers.

Examples

# Set the input gain value to 3.5 dB on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] receive gain 3.5

Related commands

transmit gain

ring-detect debounce

Use ring-detect debounce to set the debounce time for ring detection on an FXO interface.

Use undo ring-detect debounce to restore the default.

Syntax

ring-detect debounce value

undo ring-detect debounce

This command is supported only on the following interface modules:

·     HMIM-4FXO.

·     SIC-1FXO.

·     SIC-2FXO.

Only the MSR5620 router supports SIC modules.

Default

The debounce time for ring detection is 10 milliseconds on an FXO interface.

Views

FXO interface view

Predefined user roles

network-admin

Parameters

value: Specifies the debounce time for ring detection, in the range of 4 to 15 milliseconds.

Usage guidelines

By setting different debounce times, you can detect ring signals of different frequencies and waveforms.

Do not set the debounce time during a conversation.

Set the debounce time to be no less than 8 milliseconds. Otherwise, line interference might cause false ring tone recognition.

If you configure this command on an FXO interface of a card, the configuration takes effect on all FXO interfaces of the card.

Examples

# Set the debounce time for ring detection as 15 milliseconds on FXO interface 2/2/1.

<sysname> system-view

[sysname] subscriber-line 2/2/1

[sysname-subscriber-line2/2/1] ring-detect debounce 15

ring-detect frequency

Use ring-detect frequency to set the frequency value for ring detection on an FXO interface.

Use undo ring-detect frequency to restore the default.

Syntax

ring-detect frequency value

undo ring-detect frequency

This command is supported only on the SIC-2FXS1FXO and HMIM-8FXS8FXO interface modules.

Only the MSR5620 router supports SIC modules.

Default

The frequency value for ring detection is 40 Hz on an FXO interface.

Views

FXO interface view

Predefined user roles

network-admin

Parameters

value: Specifies the frequency value for ring detection, in Hz. The value is in the range of 30 to 100 in increments of 10.

Examples

# Set the frequency value for ring detection on FXO interface 2/2/1 to 100 Hz.

<sysname> system-view

[sysname] subscriber-line 2/2/1

[sysname-subscriber-line2/2/1] ring-detect frequency 100

send-busytone enable

Use send-busytone enable to enable busy tone sending on an FXO interface.

Use undo send-busytone enable to disable busy tone sending on an FXO interface.

Syntax

send-busytone enable

undo send-busytone enable

Default

Busy tone sending is disabled on an FXO interface.

Views

FXO interface view

Predefined user roles

network-admin

Usage guidelines

If the PBX does not send busy tones, you can configure an FXO interface to send busy tones.

Examples

# Enable FXO interface 2/2/1 to send busy tones.

<Sysname> system-view

[Sysname] subscriber-line 2/2/1

[Sysname-subscriber-line2/2/1] send-busytone enable

Related commands

send-busytone time

send-busytone time

Use send-busytone time to set the busy tone duration.

Use undo send-busytone time to restore the default.

Syntax

send-busytone time seconds

undo send-busytone time

Default

The busy tone duration is 3 seconds.

Views

FXO interface view

Predefined user roles

network-admin

Parameters

time seconds: Specifies the busy tone duration in the range of 2 to 15 seconds.

Usage guidelines

The send-busytone time command takes effect only after you configure the send-busytone enable command.

Examples

# Enable busy tone sending on FXO interface 2/2/1, and set the busy tone duration to 5 seconds.

<Sysname> system-view

[Sysname] subscriber-line 2/2/1

[Sysname-subscriber-line2/2/1] send-busytone enable

[Sysname-subscriber-line2/2/1] send-busytone time 5

Related commands

send-busytone enable

shutdown (FXS/FXO/E&M interface view)

Use shutdown to shut down an analog voice interface.

Use undo shutdown to bring up an analog voice interface.

Syntax

shutdown

undo shutdown

Default

An analog voice interface is up.

Views

FXS interface view

FXO interface view

E&M interface view

Predefined user roles

network-admin

Examples

# Shut down FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] shutdown

signal

Use signal to specify a start mode for an E&M interface.

Use undo signal to restore the default.

Syntax

signal { delay | immediate | wink }

undo signal

Default

An E&M interface uses the immediate start mode.

Views

E&M interface view

Predefined user roles

network-admin

Parameters

delay: Specifies delay start mode.

immediate: Specifies immediate start mode.

wink: Specifies wink start mode.

Usage guidelines

You must configure the same start mode on the originating and terminating devices.

Examples

# Specify the delay mode for E&M interface 2/3/1.

<Sysname> system-view

[Sysname] subscriber-line 2/3/1

[Sysname-subscriber-line2/3/1] signal delay

silence-detect threshold

Use silence-detect threshold to configure silence detection-based automatic on-hook.

Use undo silence-detect to restore the default.

Syntax

silence-detect threshold threshold time time-length

undo silence-detect

Default

The silence threshold is 20, and the silence duration for automatic on-hook is 7200 seconds (2 hours).

Views

FXO interface view

Predefined user roles

network-admin

Parameters

threshold: Specifies the silence threshold in the range of 0 to 200. If the amplitude of voice signals from the PBX is smaller than this value, the system regards the voice signals as silence.

time-length: Specifies the silence duration for automatic on-hook, in the range of 2 to 7200 seconds. When the silence duration exceeds the specified duration, the FXO interface performs on-hook automatically.

Usage guidelines

If the device fails to detect busy tones or the PBX does not play busy tones, you can use this command to implement automatic on-hook. When the duration of silence exceeds the configured silence duration, the FXO interface automatically disconnects the call.

Improper configuration of this feature can lead to false on-hook. A good practice is to test multiple sets of parameters and choose the set of parameters that can quickly release the FXO interface after on-hook and does not cause false on-hook.

Examples

# Set the silence threshold to 20 and the silence duration to 100 seconds for FXO interface 2/2/1.

<Sysname> system-view

[Sysname] subscriber-line 2/2/1

[Sysname-subscriber-line2/2/1] silence-detect threshold 20 time 100

slic-gain

Use slic-gain to set the output gain of the subscriber line interface circuit (SLIC) chip on an E&M interface.

Use undo slic-gain to restore the default.

Syntax

slic-gain { 0 | 1 }

undo slic-gain

Default

The output gain of the SLIC chip is 0 (0.8 dB) on an E&M interface.

Views

E&M interface view

Predefined user roles

network-admin

Parameters

0: Specifies the output gain of the SLIC chip to 0.8 dB.

1: Specifies the output gain of the SLIC chip to 2.1 dB.

Examples

# Set the output gain of the SLIC chip to 1 (2.1 dB) on E&M interface 2/3/1.

<Sysname> system-view

[Sysname] subscriber-line 2/3/1

[Sysname-subscriber-line2/3/1] slic-gain 1

subscriber-line

Use subscriber-line to enter voice interface view.

Syntax

subscriber-line line-number

Views

System view

Predefined user roles

network-admin

Parameters

line-number: Specifies a voice interface number.

Examples

# Enter the view of FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1]

timer dial-interval

Use timer dial-interval to set the maximum interval for dialing the next digit.

Use undo timer dial-interval to restore the default.

Syntax

timer dial-interval interval

undo timer dial-interval

Default

The maximum interval for dialing the next digit is 10 seconds.

Views

FXS interface view

FXO interface view

E&M interface view

Predefined user roles

network-admin

Parameters

interval: Specifies the maximum interval for dialing the next digit, in the range of 1 to 300 seconds.

Usage guidelines

This timer restarts each time the subscriber dials a digit. If the timer expires before the subscriber dials the next digit, the system prompts the subscriber that the dialing times out.

The maximum interval from off-hook to dialing the first digit is set by the timer first-dial command.

Examples

# Set the maximum interval for dialing the next digit to 5 seconds on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] timer dial-interval 5

timer disconnect-pulse

Use timer disconnect-pulse to set the LCFO signal duration on an FXS interface.

Use undo timer disconnect-pulse to restore the default.

Syntax

timer disconnect-pulse value

undo timer disconnect-pulse

Default

The LCFO signal duration is 750 milliseconds on an FXS interface.

Views

FXS interface view

Predefined user roles

network-admin

Parameters

value: Specifies the LCFO signal duration in the range of 1 to 1500 milliseconds in increments of 30.

Examples

# Set the LCFO signal duration as 90 milliseconds on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] timer disconnect-pulse 90

Related commands

disconnect lcfo

timer first-dial

Use timer first-dial to set the timeout time between off-hook and dialing the first digit on an FXS or FXO interface.

Use undo timer first-dial to restore the default.

Syntax

timer first-dial seconds

undo timer first-dial

Default

The timeout time between off-hook and dialing the first digit is 10 seconds on an FXS or FXO interface.

Views

FXS interface view

FXO interface view

Predefined user roles

network-admin

Parameters

seconds: Specifies the timeout time between off-hook and dialing the first digit, in the range of 1 to 300 seconds.

Usage guidelines

If the timer expires before the subscriber dials the first digit, the system prompts the subscriber that the dialing times out.

Examples

# Set the timeout time between off-hook and dialing the first digit to 15 seconds on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] timer first-dial 15

timer hookflash-detect

Use timer hookflash-detect to set the hookflash time range on an FXS interface. If an on-hook lasts for a period that falls within the hookflash time range, it is regarded as a hookflash.

Use undo timer hookflash-detect to restore the default.

Syntax

timer hookflash-detect hookflash-range

undo timer hookflash-detect

Default

The hookflash time range is 50 to 180 milliseconds on an FXS interface.

Views

FXS interface view

Predefined user roles

network-admin

Parameters

hookflash-range: Specifies the hookflash duration range in the range of 50 to 1200 milliseconds.

Examples

# Set the hookflash time range to 100 to 200 milliseconds on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] timer hookflash-detect 100-200

timer hookoff-interval

Use timer hookoff-interval to set the interval between on-hook and off-hook on an FXO interface.

Use undo timer hookoff-interval to restore the default.

Syntax

timer hookoff-interval milliseconds

undo timer hookoff-interval

Default

The interval between on-hook and off-hook is 500 milliseconds on an FXO interface.

Views

FXO interface view

Predefined user roles

network-admin

Parameters

milliseconds: Specifies the interval between on-hook and off-hook, in the range of 500 to 4000 milliseconds.

Usage guidelines

The on-hook/off-hook state of the bound FXS and FXO interfaces is consistent. When the FXS interface goes off-hook, the bound FXO interface must perform an on-hook operation before going off-hook. This command configures the interval between the on-hook and off-hook.

Examples

# Set the interval from on-hook to off-hook to 600 milliseconds on FXO interface 2/2/1.

<Sysname> system-view

[Sysname] subscriber-line 2/2/1

[Sysname-subscriber-line2/2/1] timer hookoff-interval 600

Related commands

hookoff-mode delay bind

timer ring-back

Use timer ring-back to set the maximum duration for playing ringback tones.

Use undo timer ring-back to restore the default.

Syntax

timer ring-back seconds

undo timer ring-back

Default

The maximum duration for playing ringback tones is 60 seconds.

Views

FXS interface view

FXO interface view

E&M interface view

Predefined user roles

network-admin

Parameters

seconds: Specifies the maximum duration for playing ringback tones, in the range of 5 to 120 seconds.

Usage guidelines

If the callee does not answer the call within the maximum duration for playing ringback tones, the system notifies the caller that the call is ended.

Examples

# Set the maximum duration to 8 seconds for playing ringback tones on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] timer ring-back 8

timer wait-digit

Use timer wait-digit to set the timeout time for the terminating device to wait for the first digit on an E&M interface.

Use undo timer wait-digit to restore the default.

Syntax

timer wait-digit { seconds | infinity }

undo timer wait-digit

Default

The timeout time for an E&M interface on the terminating device to wait for the first digit is 5 seconds.

Views

E&M interface view

Predefined user roles

network-admin

Parameters

seconds: Specifies the timeout time for the terminating device to wait for the first digit, in the range of 3 to 600 seconds.

infinity: Specifies no time limit.

Usage guidelines

If the terminating device does not receive the first digit within the configured timeout time, it plays busy tones.

Examples

# Set the timeout time to 10 seconds for E&M interface 2/3/1 to wait for the first digit.

<Sysname> system-view

[Sysname] subscriber-line 2/3/1

[Sysname-subscriber-line2/3/1] timer wait-digit 10

transmit gain (FXS/FXO/E&M interface view)

Use transmit gain to set the output gain value on an analog voice interface.

Use undo transmit gain to restore the default.

Syntax

transmit gain value

undo transmit gain

Default

The output gain value is 0 dB on an analog voice interface.

Views

FXS interface view

FXO interface view

E&M interface view

Predefined user roles

network-admin

Parameters

value: Specifies the output gain value in the range of –14.0 to +13.9 dB.

Usage guidelines

If the power of output voice signals is larger than the power required by the output line, you can use this command to reduce the output gain.

Output gain adjustment might lead to call failures. Do it under the guidance of technical personnel.

Examples

# Set the output gain value to –6.7 dB on FXS interface 2/1/1.

<Sysname> system-view

[Sysname] subscriber-line 2/1/1

[Sysname-subscriber-line2/1/1] transmit gain -6.7

Related commands

receive gain

type

Use type to configure the E&M signal type on an E&M interface.

Use undo type to restore the default.

Syntax

type { 1 | 2 | 3 | 5 }

undo type

Default

The E&M signal type on an E&M interface is 5.

Views

E&M interface view

Predefined user roles

network-admin

Parameters

1: Specifies E&M signal type I.

2: Specifies E&M signal type II.

3: Specifies E&M signal type III.

5: Specifies E&M signal type V.

Usage guidelines

You must configure the same E&M signal type on the originating and terminating devices.

Examples

# Configure the signal type as 3 for E&M interface 2/3/1.

<Sysname> system-view

[Sysname] subscriber-line 2/3/1

[Sysname-subscriber-line2/3/1] type 3

Digital voice interface commands

ani

Use ani to configure the terminating side to request calling information (calling category and calling number) from the originating side.

Use undo ani to restore the default.

Syntax

ani { all | ka }

undo ani

Default

The terminating side does not request calling information from the originating side.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

all: Configures the terminating side to request the calling category and calling number.

ka: Configures the terminating side to request only the calling category.

Examples

# Configure the terminating side to request the calling category and calling number.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] ani all

Related commands

ani-digit

ani-collected

Use ani-collected to set a range for the number of calling number digits to be collected.

Use undo ani-collected to restore the default.

Syntax

ani-collected min min-value max max-value

undo ani-collected

Default

No restriction is placed on the number of calling number digits to be collected.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

min min-value: Specifies the minimum number of calling number digits to be collected, in the range of 1 to 31.

max max-value: Specifies the maximum number of calling number digits to be collected. The value range is 1 to 31. This value must be equal to or greater than the minimum number.

Usage guidelines

This command is available only for the MFC mode of R2 signaling.

For this command to take effect, you must first configure the ani all command.

When the terminating side is enabled to request the calling party information from the originating side, one of the following events occurs:

·     If the number of calling number digits is less than the minimum number, the terminating side clears the call.

·     If the number of calling number digits is greater than the maximum number, the terminating side forwards the call after it collects the maximum number of digits.

·     If the number of calling number digits is between the minimum number and the maximum number, the terminating side collects all calling number digits, and then forwards the call.

Examples

# Set the minimum number to 3 and the maximum number to 20 for calling number digits to be collected.

<Sysname> system-view

[Sysname] controller e1 6/0

[Sysname-E1 6/0] cas 1

[Sysname-cas 6/0:1] ani all

[Sysname-cas 6/0:1] ani-collected min 3 max 20

ani-digit

Use ani-digit to set the number of dialed digits that the terminating side collects before requesting calling information.

Use undo ani-digit to restore the default.

Syntax

ani-offset number

undo ani-offset

Default

The number of dialed digits that the terminating side collects before requesting calling information is 1.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

number: Specifies the number of digits to be collected, in the range of 1 to 10.

Usage guidelines

When the number of collected digits is smaller than the specified number, the terminating side waits for the next digit until the timer expires. When the number of collected digits equals or exceeds the specified number, the terminating side requests the calling information.

This command takes effect only after you configure the ani all command.

Examples

# Configure the device to collect 3 digits before requesting calling information.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] ani all

[Sysname-cas 2/4/1:0] ani-digit 3

Related commands

ani

ani-timeout

Use ani-timeout to set the interdigit timeout time in interregister signaling.

Use undo ani-timeout to restore the default.

Syntax

ani-timeout timer-length

undo ani-timeout

Default

The interdigit timeout time in interregister signaling is 3 seconds.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

timer-length: Specifies the interdigit timeout time in interregister signaling, in the range of 1 to 15 seconds.

Usage guidelines

In interregister signaling, the terminating side starts an interdigit timeout timer after it sends a signal to the originating side. It clears the call if it does not receive a signal from the originating side when the timer expires.

This command is available only for the MFC mode of R2 signaling.

For this command to take effect, you must first configure the ani all command.

Examples

# Set the interdigit timeout time to 5 seconds in interregister signaling.

<Sysname> system-view

[Sysname] controller e1 6/0

[Sysname-E1 6/0] cas 1

[Sysname-cas 6/0:1] ani all

[Sysname-cas 6/0:1] ani-timeout 5

answer enable

Use answer enable to configure the originating side to require the terminating side to send answer signals.

Use undo answer enable to configure the originating side to not require the terminating side to send answer signals.

Syntax

answer enable

undo answer enable

Default

The originating side requires the terminating side to send answer signals.

Views

R2 CAS view

Predefined user roles

network-admin

Usage guidelines

If the originating side does not require the terminating side to send answer signals, it directly establishes a call with the terminating side. If the originating side requires the terminating side to send answer signals, the originating side establishes a call with the terminating side after receiving answer signals.

Examples

# Configure the originating side to not require the terminating side to send answer signals.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] undo answer enable

callmode

Use callmode to specify a call connection mode.

Use undo callmode to restore the default.

Syntax

callmode { segment | terminal }

undo callmode

Default

The call connection mode is terminal-to-terminal.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

segment: Specifies the segment-to-segment call connection mode.

terminal: Specifies the terminal-to-terminal call connection mode.

Examples

# Specify the segment-to-segment call connection mode.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] callmode segment

cas

Use cas to enter R2 CAS view.

Use undo cas to exit R2 CAS view and delete the settings in R2 CAS view.

Syntax

cas ts-set-number

undo cas ts-set-number

Views

E1 interface view

T1 interface view

Predefined user roles

network-admin

Parameters

ts-set-number: Specifies a timeslot set by its number. For an E1 interface, the value range is 0 to 30. For a T1 interface, the value range is 0 to 23.

Usage guidelines

The timeslot set specified in this command must have already been created using the timeslot-set command.

Examples

# Enter the R2 CAS view of timeslot set 5.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 5 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 5

[Sysname-cas 2/4/1:5]

Related commands

timeslot-set

clear-forward-ack enable

Use clear-forward-ack enable to configure the terminating side to send a clear-back signal when the originating side first disconnects the line.

Use undo clear-forward-ack enable to configure the terminating side to not send a clear-back signal when the originating side first disconnects the line.

Syntax

clear-forward-ack enable

undo clear-forward-ack enable

Default

The terminating side does not send a clear-back signal when the originating side first disconnects the line.

Views

R2 CAS view

Predefined user roles

network-admin

Examples

# Configure the terminating side to send a clear-back signal when the originating side first disconnects the line.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] clear-forward-ack enable

cng-on (digital voice interface view)

Use cng-on to enable CNG on a digital voice interface.

Use undo cng-on to disable CNG on a digital voice interface.

Syntax

cng-on

undo cng-on

Default

CNG is enabled on a digital voice interface.

Views

Digital voice interface view

Predefined user roles

network-admin

Usage guidelines

CNG generates and fills comfortable background noise into silent gaps during a conversation. If you disable CNG, the silent gaps during a conversation might make users feel uncomfortable.

Examples

# Disable CNG on digital voice interface 2/4/1:15.

<Sysname> system-view

[Sysname] subscriber-line 2/4/1:15

[Sysname-subscriber-line2/4/1:15] undo cng-on

default (digital voice interface view)

Use default to restore the default settings on a digital voice interface.

Syntax

default

Views

Digital voice interface view

Predefined user roles

network-admin

Usage guidelines

The default command impacts some services. Make sure you are fully aware of the impacts of this command when you execute it on a live network.

This command might fail to restore the default settings for some commands for reasons such as command dependencies or system restrictions. Use the display this command in interface view to identify these commands. Then use their undo forms or follow the command reference to restore their default settings. If your restoration attempt still fails, follow the error message instructions to resolve the problem.

Examples

# Restore the default settings for digital voice interface 2/4/1:15.

<Sysname> system-view

[Sysname] subscriber-line 2/4/1:15

[Sysname-subscriber-line2/4/1:15] default

description (digital voice interface view)

Use description to configure the description of a digital voice interface.

Use undo description to restore the default.

Syntax

description text

undo description

Default

The description of a digital voice interface is interface name Interface, for example, Subscriber-line2/4/1 Interface.

Views

Digital voice interface view

Predefined user roles

network-admin

Parameters

text: Specifies a description, a case-sensitive string of 1 to 80 characters.

Examples

# Configure the description of digital voice interface 2/4/1:15 as digital.

<Sysname> system-view

[Sysname] subscriber-line 2/4/1:15

[Sysname-Subscriber-line2/4/1:15] description digital

display voice subscriber-line

Use display voice subscriber-line to display information about digital voice interfaces.

Syntax

For E1 and T1 interfaces:

display voice subscriber-line line-number:{ ts-set-number | ts-set-number.sub-timeslot | 15 | 23 }

For BSV interfaces:

display voice subscriber-line line-number.subnumber

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

line-number: Specifies an E1 or T1 interface by its number.

ts-set-number: Specifies a timeslot set by its number.

sub-timeslot: Specifies a timeslot.

subnumber: Specifies a subinterface by its number (1 or 2).

15: Number for the PRI set created by bundling the timeslots of an E1 interface.

23: Number for the PRI set created by bundling the timeslots of a T1 interface.

Examples

# Display information about voice interface 2/4/1:0 generated on an E1 interface.

<Sysname> display voice subscriber-line 2/4/1:0

Current information        subscriber-line2/4/1:0

    Type: R2

    Status: Up

    Call status:

        TS 1: Idle

        TS 2: Idle

        TS 3: Idle

        TS 4: Idle

        TS 5: Idle

        TS 6: Idle

        TS 7: Idle

        TS 8: Idle

        TS 9: Idle

        TS 10: Idle

        TS 11: Idle

        TS 12: Idle

        TS 13: Idle

        TS 14: Idle

        TS 15: Idle

        TS 17: Idle

        TS 18: Idle

# Display information about voice interface 2/5/1 generated on a BSV interface.

<Sysname> display voice subscriber-line 2/5/1

  Current information : subscriber-line2/5/1

      Type: ISDN

      Status: Up

      Call status:

        TS 0: Idle

        TS 1: Idle

# Display information about a subinterface of voice interface 2/5/1.1 generated on a BSV interface.

<Sysname> display voice subscriber-line 2/5/1.1

  Current information : subscriber-line2/5/1.1

      Type: ISDN

      Status: Up

      Call status: Idle

Table 4 Command output

Field

Description

Type

Signaling type on the voice interface: R2 or ISDN.

Status

Status of the voice interface:

·     Down.

·     Up.

·     Down(Administratively)—The voice interface has been shut down by using the shutdown command.

TS

Timeslot in the timeslot set.

Call Status

·     Call status for R2 signaling:

¡     Idle.

¡     Seize.

¡     Seize Ack.

¡     Talking.

¡     Releasing.

·     Call status for ISDN signaling:

¡     Idle

¡     Call in.

¡     Call out.

¡     Ring.

¡     Ringback tone.

¡     Talking.

¡     Releasing.

 

dl-bits

Use dl-bits to configure the ABCD bit pattern for line signals.

Use undo dl-bits to restore the default.

Syntax

dl-bits { answer | blocking | clear-back | clear-forward | idle | release-guard | seizing | seizing-ack } { receive | transmit } ABCD

undo dl-bits { answer | blocking | clear-back | clear-forward | idle | release-guard | seizing | seizing-ack } { receive | transmit }

Default

The defaults are the values of the ITU-T standard, as shown in Table 5.

Table 5 Default values of signals in line signaling

Signal

Default rx-bits ABCD

Default tx-bits ABCD

answer

0101

0101

blocking

1101

1101

clear-back

1101

1101

clear-forward

1001

1001

idle

1001

1001

seizing

0001

0001

seizing-ack

1101

1101

release-guard

1001

1001

 

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

answer: Specifies the answer signal.

blocking: Specifies the blocking signal.

clear-back: Specifies the clear-back signal.

clear-forward: Specifies the clear-forward signal.

idle: Specifies the idle signal.

seizing: Specifies the seizure signal.

seizing-ack: Specifies the seizure acknowledgment signal.

release-guard: Specifies the release guard signal.

receive: Applies the signaling setting to received line signals.

transmit: Applies the signaling setting to transmitted line signals.

ABCD: Specifies the ABCD bit pattern of line signals, in the range of 0000 to 1111.

Examples

# Set the ABCD bit pattern to 1101 for received idle signals and to 1011 for transmitted idle signals.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] dl-bits idle receive 1101

[Sysname-cas 2/4/1:0] dl-bits idle transmit 1011

dtmf enable

Use dtmf enable to enable DTMF to receive and send numbers.

Use undo dtmf enable to restore the default.

Syntax

dtmf enable

undo dtmf enable

Default

MFC is used to receive and send numbers.

Views

R2 CAS view

Predefined user roles

network-admin

Usage guidelines

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 for confirmation.

Compared with the MFC mode, the DTMF mode has a faster connection speed but transmits a smaller amount of information.

You must configure the same mode on the originating and terminating devices. Otherwise, the two sides cannot establish any calls.

Examples

# Enable DTMF to receive and send numbers.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] dtmf enable

Related commands

timer dtmf-delay

echo-canceler delay (digital voice interface view)

Use echo-canceler delay to set the echo cancellation delay (the time from when a subscriber speaks to when the subscriber hears the echo) on a digital voice interface.

Use undo echo-canceler delay to restore the default.

Syntax

echo-canceler delay milliseconds

undo echo-canceler delay

Default

The echo cancellation delay on a digital voice interface is 0 milliseconds.

Views

Digital voice interface view

Predefined user roles

network-admin

Parameters

milliseconds: Specifies the echo cancellation delay in the range of 0 to 64 milliseconds.

Examples

# Enable echo cancellation, and set the echo cancellation delay to 24 milliseconds on digital voice interface 2/4/1:15.

<Sysname> system-view

[Sysname] subscriber-line 2/4/1:15

[Sysname-subscriber-line2/4/1:15] echo-canceler enable

[Sysname-subscriber-line2/4/1:15] echo-canceler delay 24

Related commands

echo-canceler enable

echo-canceler tail-length

echo-canceler enable (digital voice interface view)

Use echo-canceler enable to enable echo cancellation on a digital voice interface.

Use undo echo-canceler enable to disable echo cancellation on a digital voice interface.

Syntax

echo-canceler enable

undo echo-canceler enable

Default

Echo cancellation is enabled on a digital voice interface.

Views

Digital voice interface view

Predefined user roles

network-admin

Examples

# Enable echo cancellation on digital voice interface 2/4/1:15.

<Sysname> system-view

[Sysname] subscriber-line 2/4/1:15

[Sysname-subscriber-line2/4/1:15] echo-canceler enable

Related commands

echo-canceler delay

echo-canceler tail-length

echo-canceler tail-length (digital voice interface view)

Use echo-canceler tail-length to set the echo cancellation coverage on a digital voice interface.

Use undo echo-canceler tail-length to restore the default.

Syntax

echo-canceler tail-length milliseconds

undo echo-canceler tail-length

Default

The echo cancellation coverage on a digital voice interface is 128 milliseconds.

Views

Digital voice interface view

Predefined user roles

network-admin

Parameters

milliseconds: Specifies the echo cancellation coverage in milliseconds. The value for this argument can only be 128.

Usage guidelines

Increasing the echo cancellation coverage can effectively cancel multipath echoes.

Examples

# Enable echo cancellation, and set the echo cancellation coverage to 32 milliseconds on digital voice interface 2/4/1:15.

<Sysname> system-view

[Sysname] subscriber-line 2/4/1:15

[Sysname-subscriber-line2/4/1:15] echo-canceler enable

[Sysname-subscriber-line2/4/1:15] echo-canceler tail-length 32

Related commands

echo-canceler delay

echo-canceler enable

final-callednum enable

Use final-callednum enable to configure the originating side to send a number terminator to the terminating side after sending the called number.

Use undo final-callednum enable to configure the originating side not to send a number terminator to the terminating side after sending the called number.

Syntax

final-callednum enable

undo final-callednum enable

Default

The originating side does not send a number terminator to the terminating side after sending the called number.

Views

R2 CAS view

Predefined user roles

network-admin

Usage guidelines

R2 interregister signaling in some countries requires the originating side to send a number terminator after sending the called number. You can configure the final-callednum enable command to meet the requirement. After the terminating side receives the terminator, it stops requesting the called number.

Examples

# Configure the originating side to send a number terminator to the terminating side after sending the called number.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] final-callednum enable

group-b enable

Use group-b enable to configure R2 signaling to use Group B signals to complete registers exchange.

Use undo group-b enable to configure R2 signaling to not use Group B signals to complete registers exchange.

Syntax

group-b enable

undo group-b enable

Default

R2 signaling uses Group B signals to complete registers exchange.

Views

R2 CAS view

Predefined user roles

network-admin

Usage guidelines

R2 interregister signaling in some countries does not support Group B signals. You can configure the undo group-b enable command to not use Group B signals.

Examples

# Configure R2 signaling to use Group B signals to complete registers exchange.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] group-b enable

line

Use line to bind a digital voice interface to a POTS entity.

Use undo line to restore the default.

Syntax

For E1 and T1 interfaces:

line line-number [ ts-set-number | 15 | 23 ]

undo line

For BSV interfaces:

line line-number

undo line

Default

No digital voice interface is bound to a POTS entity.

Views

POTS entity view

Predefined user roles

network-admin

Parameters

line-number: Specifies an E1, T1, or BSV interface by its number.

ts-set-number: Specifies a timeslot set by its number.

15: Number for the PRI set created by bundling the timeslots of an E1 interface.

23: Number for the PRI set created by bundling the timeslots of a T1 interface.

Examples

# Bind a digital voice interface to POTS entity 10.

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] dial-program

[Sysname-voice-dial] entity 10 pots

[Sysname-voice-dial-entity10] line 2/4/1:1

metering enable

Use metering enable to enable metering signal processing.

Use undo metering enable to disable metering signal processing.

Syntax

metering enable

undo metering enable

Default

Metering signal processing is disabled.

Views

R2 CAS view

Predefined user roles

network-admin

Usage guidelines

If the originating side supports metering signals, you must configure this command on the terminating side. When the terminating side first disconnects a call, it sends a forced release signal instead of a clear-back signal to release the line.

Examples

# Enable metering signal processing.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] metering enable

mode

Use mode to specify the R2 signaling standard.

Use undo mode to restore the default.

Syntax

mode zone-name [ default-standard ]

undo mode

Default

ITU-T R2 signaling is used.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

zone-name: Specifies a country or region from the following list:

·     argentina: Argentina.

·     australia: Australia.

·     bengal: Bengal.

·     brazil: Brazil.

·     china: China.

·     custom: Custom.

·     hongkong: Hong Kong.

·     india: India.

·     indonesia: Indonesia.

·     itu-t: ITU-T.

·     korea: Korea.

·     malaysia: Malaysia.

·     mexico: Mexico.

·     newzealand: New Zealand.

·     singapore: Singapore.

·     thailand: Thailand.

default-standard: Initializes R2 signaling based on the specified R2 signaling standard.

Usage guidelines

The R2 signaling standard varies in different countries and regions. Use this command to specify the R2 signaling standard of a country or region.

If the custom keyword is specified, you can customize signaling exchange procedures and signal values for R2 signaling.

Examples

# Specify the R2 signaling standard of Singapore.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] mode singapore

nlp-on (digital interface view)

Use nlp-on to enable nonlinear processing on a digital voice interface.

Use undo nlp-on to disable nonlinear processing on a digital voice interface.

Syntax

nlp-on

undo nlp-on

Default

Nonlinear processing is enabled for a digital voice interface.

Views

Digital voice interface view

Predefined user roles

network-admin

Usage guidelines

This command takes effect only after the echo-canceler enable command is configured.

Examples

# Disable nonlinear processing on digital voice interface 2/4/1:15.

<Sysname> system-view

[Sysname] subscriber-line 2/4/1:15

[Sysname-subscriber-line2/4/1:15] undo nlp-on

Related commands

echo-canceler enable

pcm

Use pcm to configure a companding law for PCM on a digital voice interface.

Use undo pcm to restore the default.

Syntax

pcm { a-law | u-law }

undo pcm

Default

The companding law for PCM is a-law for E1 interfaces and μ-law for T1 interfaces.

Views

Digital voice interface view

Predefined user roles

network-admin

Parameters

a-law: Specifies a-law, used in China, Europe, Africa, and South America.

u-law: Specifies μ-law, used in North America and Japan.

Usage guidelines

Companding laws quantize signals unevenly for the purpose of reducing noise and improving signal-to-noise ratio.

Examples

# Adopt μ-law companding for PCM.

<Sysname> system-view

[Sysname] subscriber-line2/4/1:0

[Sysname-subscriber-line2/4/1:0] pcm u-law

re-answer enable

Use re-answer enable to enable reanswer signal processing on the originating side.

Use undo re-answer enable to disable reanswer signal processing on the originating side.

Syntax

re-answer enable

undo re-answer enable

Default

Reanswer signal processing is disabled on the originating side.

Views

R2 CAS view

Predefined user roles

network-admin

Usage guidelines

R2 signaling in some countries must support reanswer processing. When the terminating side sends a clear-back signal, the originating side does not release the line, but maintains the call state. If it receives a reanswer signal from the terminating side within a specified time, it continues the call. Otherwise, it disconnects the call upon timeout.

Examples

# Enable reanswer signal processing on the originating side.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] re-answer enable

receive gain (digital voice interface view)

Use receive gain to set the input gain value on a digital voice interface.

Use undo receive gain to restore the default.

Syntax

receive gain value

undo receive gain

Default

The input gain value on a digital voice interface is 0 dB.

Views

Digital voice interface view

Predefined user roles

network-admin

Parameters

value: Specifies the input gain value in the range of –14.0 to +13.9 dB.

Usage guidelines

When the voice signals on the line attenuate, you can use this command to increase the input gain.

Gain adjustment might lead to call failures. If necessary, do it under the guidance of technical engineers.

Examples

# Set the input gain value to 3.5 dB on digital voice interface 2/4/1:15.

<Sysname> system-view

[Sysname] subscriber-line 2/4/1:15

[Sysname-subscriber-line2/4/1:15] receive gain 3.5

Related commands

transmit gain

register-value

Use register-value to set a register signal value.

Use undo register-value to restore the default.

Syntax

register-value { billingcategory | callcreate-in-groupa | callingcategory | congestion | demand-refused | digit-end | null-number | req-billingcategory | req-callednum-and-switchgroupa | req-callingcategory | req-currentcallednum-in-groupc | req-currentdigit | req-firstcallednum-in-groupc | req-firstcallingnum | req-firstdigit | req-lastfirstdigit | req-lastseconddigit | req-lastthirddigit | req-nextcallednum | req-nextcallingnum | req-switch-groupb | subscriber-abnormal | subscriber-busy | subscriber-charge | subscriber-idle } value

undo register-value { billingcategory | callcreate-in-groupa | callingcategory | congestion | demand-refused | digit-end | null-number | req-billingcategory | req-callednum-and-switchgroupa | req-callingcategory | req-currentcallednum-in-groupc | req-currentdigit | req-firstcallednum-in-groupc | req-firstcallingnum | req-firstdigit | req-lastfirstdigit | req-lastseconddigit | req-lastthirddigit | req-nextcallednum | req-nextcallingnum | req-switch-groupb | subscriber-abnormal |subscriber-busy | subscriber-charge | subscriber-idle }

Default

The register signal values depend on the R2 signaling standard (configured by using the mode command).

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

billingcategory value: Specifies the billing category value in the range of 1 to 16. It configures the KA signal in R2 signaling. The signal provides two types of information for a call connection: billing category (regular, immediate, or toll free) and subscriber level (with or without priority).

callcreate-in-groupa value: Specifies the direct call establishment signal value in the range of 1 to 16.

callingcategory value: Specifies the calling category signal value in the range of 1 to 16. It configures the R2 KD signal. It functions to identify whether break-in and forced-release can be implemented by or on the calling party.

congestion value: Specifies the congestion signal value in the range of 1 to 16.

demand-refused value: Specifies the request-refused signal value in the range of 1 to 16.

digit-end value: Specifies the digit-end signal value in the range of 1 to 16.

null-number value: Specifies the null number signal value in the range of 1 to 16.

req-billingcategory value: Specifies the send billing category signal value in the range of 1 to 16.

req-callednum-and-switchgroupa value: Specifies the send last digit and changeover to Group A signal value in the range of 1 to 16.

req-callingcategory value: Specifies the send calling category signal value in the range of 1 to 16.

req-currentcallednum-in-groupc value: Specifies the send current called number signal in Group C state, in the range of 1 to 16.

req-currentdigit value: Specifies the send current digit signal value in the range of 1 to 16.

req-firstcallednum-in-groupc value: Specifies the send first digit signal value in Group C state, in the range of 1 to 16.

req-firstcallingnum value: Specifies the send calling number signal value in the range of 1 to 16.

req-firstdigit value: Specifies the send first digit signal value in the range of 1 to 16.

req-lastfirstdigit value: Specifies the send last digit signal value in the range of 1 to 16.

req-lastseconddigit value: Specifies the send last second digits signal value in the range of 1 to 16.

req-lastthirddigit value: Specifies the send last three digits signal value in the range of 1 to 16.

req-nextcallednum value: Specifies the send next called number signal value in the range of 1 to 16.

req-nextcallingnum value: Specifies the send next calling number signal value in the range of 1 to 16.

req-switch-groupb value: Specifies the changeover to Group B signal value in the range of 1 to 16.

subscriber-abnormal value: Specifies the subscriber line abnormal signal value in the range of 1 to 16.

subscriber-busy value: Specifies the subscriber line busy signal value in the range of 1 to 16.

subscriber-charge value: Specifies the charge value when the subscriber line is idle, in the range of 1 to 16.

subscriber-idle value: Specifies the subscriber line idle value in the range of 1 to 16. It configures the R2 KB signal used for describing the called subscriber line status, for example, whether the line is idle. Make sure the same KB signal value is used on the two ends of a call. Otherwise, the call cannot be established even if the terminating side is in idle state.

Usage guidelines

The register-value command assigns values to signals requesting responses from the remote end. For example, after you configure the register-value callingcategory command, the terminating side sends the calling category signal with the specified value to the originating side for the calling category.

A signal value of 16 disables the signal feature.

As a best practice, use the default values.

Examples

# Request the originating side to send the calling category by configuring a backward signal (signal value 7).

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] register-value req-callingcategory 7

Related commands

mode

renew

Use renew to configure the C and D signal bits.

Use undo renew to restore the default.

Syntax

renew ABCD

undo renew

Default

The C and D signal bits depend on the R2 signaling standard.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

ABCD: Values of the A, B, C, and D bits. Each bit can take the value of 0 or 1.

Usage guidelines

R2 signaling uses bits A and B to convey real status information while leaving bits C and D constant. The values of bits C and D are country dependent. For example, they are fixed to 01 in most countries but 11 in some other countries.

Use this command to adapt values of bits C and D to different line signaling coding schemes.

Examples

# Set bits C and D to 11.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] renew 0011

Related commands

mode

reverse

Use reverse to enable line signal inversion.

Use undo reverse to restore the default.

Default

Line signal inversion is disabled (ABCD takes the value of 0000).

Syntax

reverse ABCD

undo reverse

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

ABCD: Indicates whether corresponding ABCD bits in R2 signaling need inversion. Each argument in this command takes 0 or 1. A value of 1 enables inversion, which inverts 0 to 1 or inverts 1 to 0.

Usage guidelines

Use this command to invert the values of ABCD bits for incoming and outgoing line signals.

Examples

# Invert the values of bits B and D in R2 line signaling.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] reverse 0101

reverse-charge prefix

Use reverse-charge prefix to configure a prefix for reverse charging.

Use undo reverse-charge prefix to restore the default.

Syntax

reverse-charge prefix string

undo reverse-charge prefix

Default

No prefix for reverse charging is configured.

Views

Digital voice interface view

Predefined user roles

network-admin

Parameters

string: Specifies a prefix for reverse charging, a string of 1 to 31 characters. The string can include digits 0 through 9, comma (,), pound sign (#), and asterisk (*).

Usage guidelines

This command enables the device to identify a reverse-charge call by comparing the called number of an incoming call with the specified prefix. If the called number matches the prefix, the router interacts with the PBX device to charge the called party.

Examples

# Configure 9090 as a prefix for reverse charging on digital voice interface 2/4/1:15.

<Sysname> system-view

[Sysname] subscriber-line 2/4/1:15

[Sysname-subscriber-line2/4/1:15] reverse-charge prefix 9090

seizure-ack enable

Use seizure-ack enable to configure the originating side to require the terminating side to send seizure acknowledgment signals.

Use undo seizure-ack enable to configure the originating side to not require the terminating side to send seizure acknowledgment signals.

Syntax

seizure-ack enable

undo seizure-ack enable

Default

The originating side requires the terminating side to send seizure acknowledgment signals.

Views

R2 CAS view

Predefined user roles

network-admin

Usage guidelines

R2 line signaling in some countries requires the terminating side to not acknowledge received seizure signals. To meet this requirement, execute the undo seizure-ack enable command.

Examples

# Configure the originating side to not require the terminating side to send seizure acknowledgment signals.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] undo seizure-ack enable

select-mode

Use select-mode to configure the routing mode.

Use undo select-mode to restore the default.

Syntax

select-mode { max | maxpoll | min | minpoll }

undo select-mode

Default

The timeslot with the smallest number is selected.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

max: Selects the timeslot with the greatest number from available timeslots.

maxpoll: Selects the timeslot with the greatest number from available timeslots in the first timeslot polling. Subsequent pollings select in descending order timeslots with numbers less than the one selected in the previous polling. For example, if timeslots 31 and 29 are not available, the first polling selects timeslot 30 and the next polling selects timeslot 28.

min: Selects the timeslot with the smallest number from available timeslots.

minpoll: Selects the timeslot with the lowest number from available timeslots in the first timeslot polling. Subsequent pollings select in ascending order timeslots with numbers greater than the one selected in the previous polling. For example, if timeslots 1 and 3 are not available, the first polling selects timeslot 2 and in the next polling selects timeslot 4.

Examples

# Configure the routing mode as maxpoll for timeslot set 0 on interface E1 2/4/1.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] select-mode maxpoll

send ringbusy enable

Use send ringbusy enable to configure the terminating side to send busy tones to the originating side.

Use undo send ringbusy enable to configure the terminating side to not send busy tones to the originating side.

Syntax

send ringbusy enable

undo send ringbusy enable

Default

The terminating side sends busy tones to the originating side.

Views

R2 CAS view

Predefined user roles

network-admin

Usage guidelines

If the originating side needs to play busy tones, you can execute the undo send ringbusy enable command on the terminating device.

Examples

# Configure the terminating side to send busy tones to the originating side.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] send ringbusy enable

Related commands

timer

shutdown (digital voice interface view)

Use shutdown to shut down a digital voice interface.

Use undo shutdown to bring up a digital voice interface.

Syntax

shutdown

undo shutdown

Default

A digital voice interface is up.

Views

Digital voice interface view

Predefined user roles

network-admin

Examples

# Shut down digital voice interface 2/4/1:15.

<Sysname> system-view

[Sysname] subscriber-line 2/4/1:15

[Sysname-subscriber-line2/4/1:15] shutdown

special-character

Use special-character to configure a signal code for a special character.

Use undo special-character to remove the signal code for a special character.

Syntax

special-character character number

undo special-character character number

Default

No signal code is configured for a special character.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

character: Specifies a special character, which can be a pound sign (#), asterisk (*), A, B, C, or D.

number: Specifies a signal code in the range of 11 to 15.

Usage guidelines

R2 signaling in some countries includes special characters such as pound signs (#) and asterisks (*) in Group I forward signals. To code these special characters, execute the special-character command.

Use different codes for different special characters.

Examples

# Configure signal code 11 for the pound sign (#).

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] special-character # 11

subscriber-line

Use subscriber-line to enter digital voice interface view.

Syntax

subscriber-line line-number:{ ts-set-number | 15 | 23 }

Views

System view

Predefined user roles

network-admin

Parameters

line-number: Specifies an E1 or T1 interface by its number.

ts-set-number: Specifies a timeslot set by its number.

15: Number for the PRI set created by bundling the timeslots of an E1 interface.

23: Number for the PRI set created by bundling the timeslots of a T1 interface.

Usage guidelines

Upon creation of a timeslot set on an E1/T1 interface, the system automatically creates a digital voice interface numbered in the form of E1/T1 interface number:timeslot set number.

After you create a PRI group with the pri-set command on an E1 interface, the system automatically creates a voice interface numbered E1 interface-number:15.

After you create a PRI group with the pri-set command on an T1 interface, the system automatically creates a voice interface numbered T1 interface-number:23.

Examples

# Enter the view of digital voice interface 2/4/1:15.

<Sysname> system-view

[Sysname] subscriber-line 2/4/1:15

[Sysname-subscriber-line2/4/1:15]

Related commands

timeslot-set

pri-set

tdm-clock

Use tdm-clock to configure a TDM clock source on an E1 or T1 interface.

Use undo tdm-clock to restore the default.

Syntax

tdm-clock { internal | line [ primary ] }

undo tdm-clock

Default

The TDM clock source for an E1 or T1 interface is the internal TDM clock.

Views

E1 interface view

T1 interface view

Predefined user roles

network-admin

Parameters

internal: Specifies the internal clock of the device as the clock source. The E1 or T1 interface is the master in time synchronization.

line: Specifies the clock on the peer device as the clock source. The E1 or T1 interface is a subordinate in time synchronization.

line primary: Specifies the T1 or E1 interface to preferentially use the clock of the peer device as its clock source.

Usage guidelines

E1 or T1 interfaces must ensure clock synchronization during TDM timeslot interchange to prevent frame slips and bit errors.

When both E1 and T1 cards are present on a device, all the E1 or T1 SIC cards are a subsystem, and each E1 or T1 HMIM card is a subsystem. Each subsystem determines the clock source according to the following rules:

·     If the line keyword is specified for all interfaces, the clock on the interface with the lowest number is used. If the interface goes down, the clock on the interface with the second lowest number is used.

·     If the line primary keywords are specified for one interface and the line or internal keyword is specified for all other interfaces, the clock on that one interface is used.

·     If the line keyword is specified for one interface and the internal keyword for all other interfaces, the clock on that one interface is used.

·     The clock source of only one interface can be set to line primary.

The TDM clock sources on the local and peer devices must match. For example, if the clock source is set to line for a subsystem on the local device, the clock source must be set to internal on the peer device, and vice versa.

Examples

# Configure the clock on the peer device as the clock source for interface E1 2/4/1.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] tdm-clock line

# Configure the clock on the peer device as the clock source for interface T1 2/4/1.

<Sysname> system-view

[Sysname] controller T1 2/4/1

[Sysname-T1 2/4/1] tdm-clock line

timer

Use timer to set the timeout time for playing ringback or busy tones.

Use undo timer to restore the default.

Syntax

timer { ringback | ringbusy } time

undo timer { ringback | ringbusy }

Default

The timeout time is 60000 milliseconds for playing ringback tones, and 30000 milliseconds for playing busy tones.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

ringback time: Specifies the timeout time for playing ringback tones, in the range of 1000 to 90000 milliseconds.

ringbusy time: Specifies the timeout time for playing busy tones, in the range of 1000 to 90000 milliseconds.

Usage guidelines

Use this command on the terminating side.

The timer ringbusy command takes effect only after the send ringbusy enable command is configured.

Examples

# Set the timeout time for playing ringback tones as 10000 milliseconds.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] timer ringback 10000

timer dl

Use timer dl to set the timeout time of line signals.

Use undo timer dl to restore the default.

Syntax

timer dl { answer | clear-back | clear-forward | re-answer | release-guard | seizing } time

undo timer dl { answer | clear-back | clear-forward | re-answer | release-guard | seizing }

Default

The timeout time is:

·     60000 milliseconds for answer signals.

·     10000 milliseconds for clear-back, clear-forward, and release-guard signals.

·     1000 milliseconds for seizure and reanswer signals.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

answer time: Specifies the timeout time for waiting for an answer signal, in the range of 100 to 120000 milliseconds.

This option applies to both the terminating side and originating side.

·     The terminating side starts this timer after sending a seizure acknowledgment signal. If it does not send an answer signal to the originating side before the timer expires, the terminating side clears the connection.

·     The originating side starts this timer after receiving a seizure acknowledgment signal. If it does not receive the answer signal from the terminating side before the timer expires, the originating side clears the connection.

clear-back time: Specifies the timeout time of clear-back signals, in the range of 100 to 60000 milliseconds. The terminating side starts this timer after sending a clear-back signal. If it does not receive a forward signal from the originating side before the timer expires, it clears the connection. This option applies to the terminating side.

clear-forward time: Specifies the timeout time of clear-forward signals, in the range of 100 to 60000 milliseconds. The originating side starts this timer after sending a clear-forward signal. If it does not receive a line signal (for example, clear-back or release guard signal) from the terminating side before the timer expires, it clears the connection. This option applies to the originating side.

re-answer time: Specifies the timeout time of reanswer signals, in the range of 100 to 90000 milliseconds. The originating side starts this timer after receiving a clear-back signal from the terminating side. If it does not receive a reanswer signal from the terminating side before the timer expires, it clears the connection. This option applies to the originating side.

release-guard time: Specifies the timeout time of release guard signals, in the range of 100 to 60000 milliseconds. The originating side starts this timer after sending a clear-forward signal. If it does not receive a release guard signal from the terminating side before the timer expires, it clears the connection. This option applies to the originating side.

seizing time: Specifies the timeout time of seizure signals, in the range of 100 to 5000 milliseconds. The originating side starts this timer after sending a seizure signal. If it does not receive a seizure acknowledgment signal or an answer signal from the terminating side before the timer expires, it clears the connection. This option applies to the originating side.

Examples

# Set the timeout time of seizure signals to 300 milliseconds.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] timer dl seize 300

timer dtmf-delay

Use timer dtmf-delay to set the delay from when the originating side receives a seizure acknowledgment signal to when it sends DTMF tones.

Use undo timer dtmf-delay to restore the default.

Syntax

timer dtmf-delay time

undo timer dtmf-delay

Default

The delay is 50 milliseconds.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

time: Specifies the delay before sending DTMF tones, in the range of 50 to 10000 milliseconds.

Usage guidelines

You can configure a delay to send DTMF tones for digit collection on the remote PBX.

This command takes effect only after you configure the dtmf enable command.

Examples

# Set the delay for the originating side to send DTMF tones as 800 milliseconds.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] dtmf enable

[Sysname-cas 2/4/1:0] timer dtmf-delay 800

Related commands

dtmf enable

timer group-b

Use timer group-b to set the timeout time for Group B signal exchange.

Use undo timer group-b to restore the default.

Syntax

timer group-b time

undo timer group-b

Default

The timeout time for Group B signal exchange is 30000 milliseconds.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

group-b time: Specifies the timeout time for Group B signal exchange, in the range of 100 to 90000 milliseconds.

Usage guidelines

This command applies to the terminating side.

The terminating side must complete Group B signal exchange within the timeout time. Otherwise, the call cannot be established.

Examples

# Set the timeout time for Group B signal exchange to 10000 milliseconds.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] timer group-b 10000

timer register-pulse

Use timer register-pulse to set the duration of register pulse signals.

Use undo timer register-pulse to restore the default.

Syntax

timer register-pulse time

undo timer register-pulse

Default

The duration of register pulse signals is 150 milliseconds.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

time: Specifies the duration of register pulse signals, in the range of 50 to 3000 milliseconds.

Examples

# Set the duration of register pulse signals to 300 milliseconds.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] timer register-pulse 300

timeslot-set

Use timeslot-set to create a timeslot set.

Use undo timeslot-set to delete a timeslot set.

Syntax

timeslot-set ts-set-number timeslot-list timeslots-list signal r2

undo timeslot-set ts-set-number

Default

No timeslot sets exist.

Views

E1 interface view

T1 interface view

Predefined user roles

network-admin

Parameters

ts-set-number: Specifies the number of a timeslot set, in the range of 0 to 30.

timeslots-list: Specifies a timeslot list. Timeslots are numbered 1 through 31 for an E1 interface and 1 through 24 for a T1 interface. The timeslot list can contain one or more individual timeslots separated by commas (for example, 1 or 1, 2, 4), a timeslot range (for example, 5-10), or a combination of the two forms (for example, 1-14, 15, 17-31).

signal: Specifies the signaling mode for the timeslot set.

r2: Specifies the timeslot set to use R2 signaling.

Usage guidelines

You must create a timeslot set before you can use the subscriber-line command to enter digital voice interface view and configure voice attributes for the interface.

Examples

# Create timeslot set 5, which contains timeslots 1 through 31 and uses R2 signaling.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 5 timeslot-list 1-31 signal r2

transmit gain (digital voice interface view)

Use transmit gain to set the output gain value on a digital voice interface.

Use undo transmit gain to restore the default.

Syntax

transmit gain value

undo transmit gain

Default

The output gain value on a digital voice interface is 0 dB.

Views

Digital voice interface view

Predefined user roles

network-admin

Parameters

value: Specifies the output gain value in the range of –14.0 to +13.9 dB.

Usage guidelines

If the power of output voice signals is larger than the power required by the output line, you can use this command to reduce the output gain.

Output gain adjustment might lead to call failures. Do it under the guidance of technical personnel.

Examples

# Set the output gain value to –6.7 dB on digital voice interface 2/4/1:15.

<Sysname> system-view

[Sysname] subscriber-line 2/4/1:15

[Sysname-subscriber-line2/4/1:15] transmit gain -6.7

Related commands

receive gain

trunk-direction

Use trunk-direction to configure the trunk direction.

Use undo trunk-direction to restore the default.

Syntax

trunk-direction timeslots timeslots-list { dual | in | out }

undo trunk-direction timeslots timeslots-list

Default

Bidirectional trunking applies.

Views

R2 CAS view

Predefined user roles

network-admin

Parameters

timeslots-list: Specifies a timeslot list. Timeslots are numbered 1 through 31 for an E1 interface and 1 through 24 for a T1 interface. The timeslot list can contain one or more individual timeslots separated by commas (for example, 1 or 1, 2, 4), a timeslot range (for example, 5-10), or a combination of the two forms (for example, 1-14, 15, 17-31).

dual: Specifies the bidirectional trunk, which can receive and originate calls.

in: Specifies the incoming trunk, which can only receive calls.

out: Specifies the outgoing trunk, which can only originate calls.

Usage guidelines

For R2 signaling to operate correctly, the trunk direction must be incoming at one end and must be outgoing at the other end. If both ends are using bidirectional trunking mode, use the select-mode command to tune the routing mode to prevent timeslot contention.

Examples

# Set the trunk direction to bidirectional for timeslot set 0 on interface E1 2/4/1.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] trunk-direction timeslots 1-31 dual

Related commands

select-mode

ts

Use ts to maintain timeslots.

Syntax

ts { block | open | query | reset } timeslots timeslots-list

Views

R2 signaling view

Predefined user roles

network-admin

Parameters

block: Blocks the specified timeslots to make them unavailable.

open: Opens the specified timeslots to make them available.

query: Queries the status of the specified timeslots to see whether they are busy, open, or blocked.

reset: Resets the specified timeslots. You must do this if the state of administratively blocked or opened timeslots cannot recover.

timeslots timeslots-list: Specifies a timeslot list. Timeslots are numbered 1 through 31 for an E1 interface and 1 through 24 for a T1 interface. The timeslot list can contain one or more individual timeslots separated by commas (for example, 1 or 1, 2, 4), a timeslot range (for example, 5-10), or a combination of the two forms (for example, 1-14, 15, 17-31).

Examples

# Reset timeslots 1 through 15 in timeslot set 0.

<Sysname> system-view

[Sysname] controller e1 2/4/1

[Sysname-E1 2/4/1] timeslot-set 0 timeslot-list 1-31 signal r2

[Sysname-E1 2/4/1] cas 0

[Sysname-cas 2/4/1:0] ts reset timeslots 1-15

voice call disc-pi-off

Use voice call disc-pi-off to enable the device to treat DISCONNECT messages with PI 8 as standard DISCONNECT messages.

Use undo voice call disc-pi-off to restore the default.

Syntax

voice call disc-pi-off

undo voice call disc-pi-off

Default

The device does not disconnect a call when it receives a DISCONNECT message with PI value 8.

Views

Voice view

Predefined user roles

network-admin

Examples

# Enable the device to treat DISCONNECT messages with PI value 8 as standard DISCONNECT messages.

<Sysname> system-view

[Sysname] voice-setup

[Sysname-voice] voice call disc-pi-off

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网