IP voice configuration command directory
gateway-cfg configuration command
gatekeeper-cfg configuration command
show gatekeeper gw-type-prefix
The global configuration command
“dial-peer” can be used to access the dial-peer configuration mode.
dial-peer voice TAG {voip|pots|ivr}
no dial-peer voice {TAG|all}
parameter:
TAG
ID(1~2147483647)of the dialpeer which user wants
to create or configure.
voip
This kind of dial-peer describes VOIP connections
from or to IP network
pots
This kind of dial-peer describes VOIP connections from or
to traditional telecommunication network
ivr
This kind of dial-peer describes VOIP calls thought IVR
applications
all
Choosing all the existing dial-peers.
default:
none
command mode:
Global Configuration Mode
explanation:
When user enters
configuration command,
Ø
1. If the user input dialpeer ID exists and its type
matches the existing dialpeer record in the dialpeer list, the user will enter
dialpeer configuration mode and would be able to configure the current
dialpeer.
Ø
2. If the user input dialpeer ID matches an existing
dialpeer but the dialpeer type does not match, the user will be prompted
whether he/she would like to create a new dialpeer of the user input type if
the user enters ‘y’ or just cancel the operation and return to global
configuration mode if he/she enters ‘n’.
Ø 3. If the ID does not exist in dialpeer list, a dialpeer is created
and the user will enter dialpeer configuration mode.
If user enters a ‘no’
format command, and the user input ID exists in dialpeer list, this dialpeer
will be deleted. Otherwise the user will be prompted that the ID does not exist
and no operation will be done. If user doesn’t specify a dialpeer ID, it means
to delete all existing dialpeer,
then all the dialpeers will be deleted after the prompt is confirmed.
example:
The example below shows
how to enter dialpeer configuration mode and configure a POTS dialpeer whose ID
is 2.
router>enable
router#config
router_config#dail-peer voice 2 voip
router_config_dialpeer#
Configure IVR application name
application
APPNAME
no application
parameter:
APPNAME Name of IVR mode
default:
no application
command mode:
IVR dialpeer configuration mode
explanation:
none
example:
The following example shows how to
configure an application for an IVR dialpeer.
router>enable
router#config
router_config#dial-peer voice 1 ivr
router_config_dialpeer#application app1
router_config_dialpeer#
Configure voice codec type to be used when
the local party involves a VOIP call with a remote party whose E.164 number is
the same as the configured destination-pattern.
codec {g711ar64 | g711ur64 | g723r53 |
g723r63 | g726r32 | g726r40 | g727r32 | g727r40 | g729r8 | g729-compatible}
default codec
parameter:
g711ar64 g.711 alaw 64k
g711ur64 g.711 ulaw 64k
g723r53 g.723.1
5.3k
g723r63 g.723.1 6.3k
g726r32 g.726 32k
g726r40 g.726 40k
g727r32 g.727 32k
g727r40 g.727 40/32k
g729r8 g.729 AnnexA 8k
g729-compatible g.729 AnnexA 8k ( for example, it is
used when it intercommunicates with cisco IOS12.04(T) and previous versions)
default:
codec g711ar64
command mode:
dial-peer Configuration Mode
explanation:
‘xx’ of ‘Rxx’ represents the bandwidth
in kbits of the codec type. If user wants to obtain the highest quality, g.711
codec type should be chosen.
g.711 or g.727/g.726
codec type should be chosen for bypass mode fax transmission.
In a dialpeer, a new
codec type configuration overwrites the old one.
Fax bypass codec type
is always the same as the configured codec type.
example:
The example below sets the codec type of a
dialpeer as g711ur64:
router>enable
router#config
router_config#dial-peer voice 1 voip
router_config_dialpeer#codec g711ur64
router_config_dialpeer#
Configure a E.164 like string for a
dialpeer.
destination-pattern STR[t]
no destination-pattern
parameter:
STR Consists
of no more than 32 symbols in(0~9 , * # .), ‘.’matches one E.164 character. ‘,’representss a
pause between the two adacent numbers when they are dialed out.
t a variable length string
default:
no destination-pattern
command mode:
dial-peer configuration mode
explanation:
If a dialpeer
terminator is configured under global configuration mode and t option is set in
destination-pattern parameter. Then after all the digits before t are dialed,
it will start to wait either a
valid E.164 number input or the max destiniation-pattern length exceeded or a
timeout. If a valid E.164 number is inputm, it will record the digit and wait
for the next input. If the max destination-pattern exceeded, the call will be
terminated, and the user will hear busy tone. If it timeouts, a terminator will
be automatically added to the end of the string, and it will be matched against
the whole dialpeer list to find a dialpeer to place a call.
example:
The example below shows how to configure
destination-pattern for a dialpeer.
router>enable
router#config
router_config#dial-peer voice 1 voip
router_config_dialpeer#destination-pattern
121212
router_config_dialpeer#
Use the dial-prefix
command to specify a prefix for a specific dial peer. When an outgoing call is
initiated to this dial peer, the dial-prefix
PREFIX value is sent to the telephony interface first, before the telephone
number associated with the dial peer. If user input is 5678, and dial-prefix is
1234, 1234 will be dialed out before 5678.
dial-prefix PREFIX
parameter:
PREFIX The dial
prefix less than 10 in length made up of (0~9 , # *)
default:
none
command mode:
POTS dialpeer configuration mode
explanation:
To specify a prefix for
a dialpeer. Valid for FXO / E&M /E1 port.
example:
The following example shows how to
configure dial prefix for a dialpeer.
router>enable
router#config
router_config#dial-peer voice 1 pots
router_config_dialpeer#dial-prefix 12345
router_config_dialpeer#
Configure dtmf relay mode.
dtmf-relay {[rtp] [h245-alphanumeric] [h245-signal]}
no dtmf-relay {[rtp]
[h245-alphanumeric] [h245-signal]}
default dtmf-relay
parameter:
rtp Pass DTMF digits
in voice frames as usual tones.
h245-alphanumeric
Carry dtmf digits in alphanumeric IE
of UserInputIndication in H245 asn packets
h245-signal Carry dtmf digits
in signal IE of UserInputIndication in H245 asn packets
default:
dtmf-relay rtp
command mode:
Dial-peer configuration mode
explanation:
User can select one or more DTMF relay mode. The no form can be used
to remove a mode or restore to the default mode, if no more parameters left.
example:
The example below shows how to set dtmf
relay mode to rtp and h245-signal:
router>enable
router#config
router_config#dial-peer voice 1 voip
router_config_dialpeer#dtmf-relay rtp
h245-signal
router_config_dialpeer#
Specify Fax relay mode for a dialpeer.
fax-protocol {t38|rtp}
no fax-protocol
parameter:
t38 t38protocol方式
t38 t38protocol mode
rtp rtpprotocol方式
rtp rtpprotocol
mode
default:
no fax-protocol
command mode:
Dialpeer configuration mode except IVR
dialpeers.
explanation:
No fax-protocol means
bypass mode
example:
The example below shows how to set fax
relay mode for a dialpeer.
router>enable
router#config
router_config#dial-peer voice 1 voip
router_config_dialpeer#fax-protocol rtp
router_config_dialpeer#
Set outbound dial mode for FXO ports
fxo-dial-mode {once | twice}
default fxo-dial-mode
parameter:
once once
mode
twice twice mode
default:
fxo-dial-mode once
command mode:
POTS dial-peer configuration mode
explanation:
when a gateway receives a
call and will connect it to a FXO port, and once mode is specified, digits
collected from the called party number will be dialed out at the same
time;otherwise if twice mode is selected, no digits will be dialed out.
example:
The example below configures a dial-up
method for a dialpeer.
router>enable
router#config
router_config#dial-peer voice 1 pots
router_config_dialpeer#fxo-dial-mode once
router_config_dialpeer#
Bind voice port to a dialpeer.
port slot-num/port-num[:ds0-group]
no port {slot-num/sub-num[:ds0-group]|all}
parameter:
slot-num slot
index.
port-num Port
index.
ds0-group E1
ds0-group number
all all ports on the gateway
default:
none
command mode:
POTS dial-peer configuration mode
explanation:
Bind voice port to a
POTS dialpeer, multiple bind is allowed to a dialpeer.
example:
The example below shows how to bind a
voice port to a dialpeer.
router>enable
router#config
router_config#dial-peer voice 1 pots
router_config_dialpeer#port 1/0
router_config_dialpeer#
Set QoS policy for a dialpeer.
req-qos { best-effort
| controlled-load | guaranteed-delay }
no req-qos
parameter:
best-effort Best Effort
controlled-load Controlled
Load
guaranteed-delay Guaranteed
Delay
default:
no req-qos
command mode:
dial-peer configuration mode except IVR
explanation:
none
example:
The following example shows how to set QoS
policy for a dialpeer.
router>enable
router#config
router_config#dial-peer voice 1 voip
router_config_dialpeer#req-qos
guaranteed-delay
router_config_dialpeer#
Specify a transport address for a
dialpeer.
session target {ipv4: dest-ip | ras | terminal}
parameter:
ipv4: The parameter followed is an IP v4 IP address.
dest-ip IP address string in dot divided
format
ras
RAS signaling should
be communicated before the call is placed.
terminal called party of this
dialpeer is a H323 terminal.
default:
none
command mode:
VOIP dial-peer configuration mode
explanation:
For Ras session target type, before call is placed, the gateway
should use RAS signaling to require admission from GK.
For terminal type session target, destination-pattern configuration
should follow some rules:
At least 12 digits is needed for a destiniation-pattern, the string
will be translate to a dot divided ip address format, every 3 digits is parsed
to a sector of the ip address, if the sector is less than 3 digits, 0s is
filled. Prefix can be add to the beginning of the string, then user can use
trim-prefix command to strip the prefix before calling out, this can solve
phone number confliction well.
If user specified a dialpeer terminator,
user can only configure a prefix for this dialpeer, and trim-prefix command is
also needed, after terminator entered, the whole dialed digits would be matched
against the whole dialpeer list.
example:
The example below shows how to configure
ras and ipv4 session target for a dialpeer.
router>enable
router#config
router_config#dial-peer voice 1 voip
router_config_dialpeer#session target ras
router_config_dialpeer#exit
router_config#dial-peer voice 2 voip
router_config_dialpeer#session target ipv4:
192.2.2.153
router_config_dialpeer#
Specify how many digits should be stripped
from the beginning of destination-pattern when an outbound call is associated
with the dialpeer.
trim-prefix LENGTH
parameter:
LENGTH 1~99
default:
none
command mode:
dial-peer configuration mode except IVR
dialpeers
explanation:
If fxo-dial-mode once is set and FXO ports is bound to the dialpeer,
when the FXO port receives a call, it needs to send called party number to the
port and activate the call. Usually the sent digits are extension number for
the subscriber line, If two subscriber lines on two different PBXs have the
same extension number, there will be two dialpeers with the same
destination-patterns, when these dialpeers are called, it will be impossible to
judge which one the caller really wants to call. If we add two different prefix
to the two destination-pattern and strip them before the called number is
dialed out, the confliction can be easily avoided. Ex, two PBXs has the same
extension 8001, we can add two dialpeer, one has destination-pattern 18001, and
the other has 28001, both will strip the first digit before dialing out.
Another case, for a terminal type dialpeer, if it is used to call
h323 terminals in 192.168.0.0 255.255.0.0 subnet, its destination-pattern
should be 192168……, other destination-pattern such as 192 or 19 etc, would not
be allowed to configure in other dialpeers, because as they are prefix for
192168……, this destination-pattern would have no chance to be matched in this
case. Add distinguishable prefixes and strip them before calling out, two
different destination-pattern can be configured.
This command strips digits of specified length from the beginning of
the called number string before caclling out, the length is specified in LENGTH
parameter .
example:
The example below shows how to configure
trim-prefix for a dialpeer.
router>enable
router#config
router_config#dial-peer voice 1 voip
router_config_dialpeer#trim-prefix 5
router_config_dialpeer#
router_config_dialpeer#
Specify backup dialpeers for a
dialpeer.
alternative DialpeerID preference NUM
no alternative DialpeerID preference NUM
parameter:
DialpeerID backup dialpeer ID (1~2147483647)
NUM priority level of the backup dialpeer (0~3)
default:
none
command mode:
dial-peer configuration mode
explanation:
If alternative dialpeers is configured for a dialpeer, when a call
attempt through a this dialpeer failed, the alternative dialpeer of the highest
priority will be choosed instead of the original dialpeer. At most 4
alternative dialpeers of different priorities can be configured for a dialpeer.
example:
The example below shows how to configure
alternative dialpeers for a dialpeer.
router>enable
router#config
router_config#dial-peer voice 1 voip
router_config_dialpeer#alternative 3
preference 0
router_config_dialpeer#alternative 4 preference
2
router_config_dialpeer#
Shut down the current dial-peer.
shutdown
no shutdown
parameter:
none
default:
no shutdown
command mode:
Dial-peer configuration mode
explanation:
Dialpeers which is
shutdown will not be used to match against user input digits.
example:
The following example shows how to shut
down a dialpeer.
router>enable
router#config
router_config#dial-peer voice 1 voip
router_config_dialpeer#shutdown
router_config_dialpeer#
Enter voice port configuration mode
voice-port
slot-num/port-num[:ds0-group]
parameter:
slot-num slot
index.
port-num port index
ds0-group E1
ds0-group number
default:
none
command mode:
Global configuration mode
explanation:
If the port does not
exist, the user will be prompted an error message. If the port exists, it will
change to voice port configuration mode(FXO/FXS/E&M/E1).
example:
The example shows how to enter
configuration mode of voice port 1/0.
router>enable
router#config
router_config#voice-port 1/0
router_config_voiceport#
If silence suppression is enabled on a DSP channel, no voice packets
would be generated when mute encode detected, DSP will also gengerate comfort
noise on PCM output in such case. Otherwise, no comfort noise would be
generated.
comfort-noise
no comfort-noise
parameter:
none
default:
no comfort-noise
command mode:
Voice-port configuration mode
explanation:
With silence
compression technology, no voice packets will be transmitted when mute encode
detected, also DSP will generate comfort noise on PCM output, this can
effectively decrease bandwith usage.
example:
The example below shows how to remove
comfort noise configuration on a voice port.
router>enable
router#config
router_config#voice-port 1/0
router_config_voiceport#comfort-noise
router_config_voiceport#
If connection plar is configured on a
voice port, when a incoming call arrives, it will turn to active mode and use
the number configured in commection-plar command to setup a call.
connection-plar STR
no connection-plar
parameter:
STR string
considts no more than 100 characters(0~9 , * # a b c d)
default:
no connection-plar
command mode:
Voice-port configuration
explanation:
User don’t need to dial the called number on PLAR lines, and PLAR
configuration can also restrict the voice port that only the designated number
can be called.
example:
The example below shows how to configure
PLAR on a voice port.
router>enable
router#config
router_config#voice-port 1/0
router_config_voiceport#connection-plar 15300
router_config_voiceport#
router_config_voiceport#
Add description to a voice port.
description
STR
no description
parameter:
STR character
string, less than 255 bytes in length
default:
no description
command mode:
Voice-port configuration mode
explanation:
The descriptor is added
to the descriptor to the designated port. The configuration followed covers the
previous one.
example:
The following example show s how to add a
description of a port.
router>enable
router#config
router_config#voice-port 1/0
router_config_voiceport#description “This is
a FXS voice port.”
router_config_voiceport#
Specify inbound E&M signaling on an
E&M port
emsignal-in {immediate | wink-start |
delay-dial}
default emsignal-in
parameter:
immediate immediate
start signaling
wink-start wink
start signaling
delay-dial delay
dial signaling
default:
emsignal-in immediate
command mode:
E&M voice-port configuration mode
explanation:
Usually the E&M signaling on a E&M port should be set to the
same as the PBX port it connects to, but as we know delay dial signaling can be
used on the calling party to call all of the three singnalings, so we can
sometimes set the outbound signaling to delay dial, and the inbound signaling
to the same as which singaling is adopted on the PBX port it connects to. This
can provide better compatability with different PBXs.
All the signaling configuration of all E&M port on a card will
be changed at the same time when one of them is configured.. The configuration
followed covers the previous one.
example:
The example below shows how to configure
inbound signaling on a E&M port:.
router>enable
router#config
router_config#voice-port 3/0
router_config_voiceport#emsignal-in
wink-start
router_config_voiceport#
Specify outbound E&M signaling on an
E&M port
emsignal-out {immediate | wink-start |
delay-dial}
default emsignal-out
parameter:
immediate immediate
start signaling
wink-start wink start
signaling
delay-dial delay dial
signaling
default:
emsignal-out delay-dial
command mode:
E&m voice-port configuration mode
explanation:
Usually the E&M signaling on a E&M port should be set to the
same as the PBX port it connects to, but as we know delay dial signaling can be
used on the calling party to call all of the three singnalings, so we can
sometimes set the outbound signaling to delay dial, and the inbound signaling
to the same as which singaling is adopted on the PBX port it connects to. This
can provide better compatability with different PBXs.
All the signaling configuration of all E&M port on a card will
be changed at the same time when one of them is configured.. The configuration
followed covers the previous one.
example:
The example below shows how to configure
outbound signaling on an E&M port.
router>enable
router#config
router_config#voice-port 3/0
router_config_voiceport#emsignal-out wink-start
router_config_voiceport#
Adjust the input gain of voice port
input-gain NUM
default input-gain
parameter:
NUM -31~31(db)
default:
input-gain 0
command mode:
Voice-port configuration mode
explanation:
Change input gain to
improve echo cancellation, usually the default value is OK. Tune the parameter
up or down until no echo heard when needed.
example:
The example below shows how to configure
input gain on a voice port.
router>enable
router#config
router_config#voice-port 1/0
router_config_voiceport#input-gain 10
router_config_voiceport#
Set
operation mode of an E&M voice port.
operation {2-wire|4-wire}
default operation
parameter:
2-wire two-wire
4-wire four-wire
default:
operation 4-wire
command mode:
E&M voice-port configuration mode
explanation:
Operation mode should be set to the same as the PBX
port which this voice port connects to.
example:
The example below how to configure operation of an E&M port.
router>enable
router#config
router_config#voice-port
3/0
router_config_voiceport#operation
2-wire
router_config_voiceport#
Adjust
output volumn of a voice port.
output-gain NUM
no output-gain
default output-gain
parameter:
NUM -31~31(db)
default:
output-gain –8 (FXO port)
output-gain –6 (other port)
command mode:
Voice-port configuration mode
explanation:
To tune
voice volumn of a voice port, use this command. The configuration followed
covers the previous one.
example:
The example below shows how to
set output volumn on a voice port.
router>enable
router#config
router_config#voice-port 1/0
router_config_voiceport#output-gain
10
router_config_voiceport#
Set gain of output IBS signaling on
a voice port.
sig-gain NUM
default sig-gain
parameter:
NUM -31~0 (db)
default:
sig-gain –23 (E&M port)
sig-gain –11 (other port)
command mode:
Voice-port configuration
mode.
explanation:
Signaling gain should
be adjust to a suitable level, if it is too low, the PBX port it connects to
may not be able to detect IBS signaling the voice port send to PBX; if too
high, it may generate echo which cause the voice port detect wrong signalings.
example:
The example below
shows how to configure signaling gain on a voice port.
router>enable
router#config
router_config#voice-port
1/0
router_config_voiceport#sig-gain
-15
router_config_voiceport#
Set time to wait between local offhook and dialing out on E&M
port which adopt delay dial outbound signaling.
timing delay-start MS
default timing delay-start
parameter:
MS 20~2000ms
default:
timing delay-start 300
command mode:
E&M Voice-port configuration mode
explanation:
Case
there is an outbound call attempt on an E&M port which adopts delay dial
signaling, firstly it goes offhook, and wait delay start time out, then check
hook status of PBX port it connects to, and starts dialing out if it is onhook,
otherwise onhook and the call fails
example:
The example below shows how to configure delay start timer on an
E&M port.
router>enable
router#config
router_config#voice-port
3/0
router_config_voiceport#timing
delay-start 1000
router_config_voiceport#
Set
time to wait between local offhook and dialing out on E&M port which adopt
immediate start outbound signaling.
timing dialout-delay MS
default timing dialout-delay
parameter:
MS 100~5000ms
default:
timing dialout-delay 300
command mode:
E&M Voice-port configuration mode
explanation:
Case there is an outbound call attempt on an
E&M port which adopts immediate start signaling, after it goes offhook, a
timer of dialout delay timeout is started, on timeout, it starts dialing out to
the PBX port it connects to.
example:
The example below shows how to configure dialout delay on an E&M
port
router>enable
router#config
router_config#voice-port
3/0
router_config_voiceport#timing
dialout-delay 1000
router_config_voiceport#
Set time interval of a pause while a voice port is dialing out.
timing dialout-pause MS
no timing dialout-pause
default timing dialout-pause
parameter:
MS 500~5000ms
default:
timing dialout-pause 2000
command mode:
Voice-port configuration mode
explanation:
While a dial string is been dialing out on a
voice port, if the next symbol is ‘,’, it means a pause, this port will wait
for dialout pause timeout before the next digit is dialed out.
example:
The example below shows how to configure dialout pause on a voice
port
router>enable
router#config
router_config#voice-port
1/0
router_config_voiceport#timing
dialout-pause 3000
router_config_voiceport#
Set duration of a single DTMF while a voice port sends digits to PBX
port it connects to.
timing digit MS
default timing digit
parameter:
MS 50~100ms
default:
timing digit 100
command mode:
Voice-port configuration mode
explanation:
Set duration of a single DTMF while a voice port
sends digits to PBX port it connects to.
example:
The example below shows how to configure digit duration on a voice
port.
router>enable
router#config
router_config#voice-port
1/0
router_config_voiceport#timing
digit 80
router_config_voiceport#
The time interval between two DTMF digits when the voice port sends
digits to PBX port it connects to.
timing interdigit MS
default timing interdigit
parameter:
MS 50~500ms
default:
timing interdigit 100
command mode:
Voice-port configuration mode
explanation:
The time interval between two DTMF digits when the voice port sends
digits to PBX port it connects to. The configuration followed covers the
previous one.
example:
The example below shows how to configure interdigit interval on a
voice port
router>enable
router#config
router_config#voice-port
1/0
router_config_voiceport#timing
interdigit 100
router_config_voiceport#
Set time interval between inbound call attempt comes and the voice
port goes offhook.
timing offhook-delay MS
default timing offhook-delay
parameter:
MS 0~200ms
default:
timing offhook-delay 5 (FXO port)
timing offhook-delay 0 (E&M port)
command mode:
Voice-port configuration mode
explanation:
On
an inbound call indication, FXO or E&M port may need to go offhook to
receive the call. But it should not offhook too soon, as there may be large
capacitance in the circuit, it will prevent the offhook current to arrive a
level which is high enough to meet the PBX port’s offhook detection limitation,
and will cause the call fail. If a certain time is waited, the capacitance will
be countacted, the offhook won’t fail then.
For
E&M port which adoptds immediate start signaling, it is the time interval
between remote offhook detected and local offhook.
For
E&M port which adopts delay dial signaling, it is the time interval between
remote offhook and the time local port is ready to receive digits from the
remote port.
example:
The example below shows how to configure offhook delay of a voice
port.
router>enable
router#config
router_config#voice-port
1/0
router_config_voiceport#timing
offhook-delay 50
router_config_voiceport#
Set wink duration of an E&M port which adopts wink start
signaling.
timing wink-duration MS
default timing wink-duration
parameter:
MS 100~400ms
default:
timing wink-duration 200
command mode:
E&M voice-port configuration mode.
explanation:
Wink
duration is the time interval that local port used to generate a wink; or the
lower limit of a wink generated by the remote port, if it receives a wink whose
duration is larger than this value, it is regard as a true wink, otherwise not.
example:
The example below shows how to configure wink duration of an E&M
port.
router>enable
router#config
router_config#voice-port
3/0
router_config_voiceport#timing
wink-duration 150
router_config_voiceport#
In outbound case, set timeout between local offhook and remote port
generates a wink..
timing wink-wait MS
default timing wink-wait
parameter:
MS 100~5000ms
default:
timing wink-wait 200
command mode:
E&M voice-port configuration mode
explanation:
On
an outbound call attempt on an E&M port which adopts wink start signaling,
after it goes offhook, it starts a timer which interval is wink wait, if it
timeouts and the remote port still doesn’t generate a wink, the call fails;
otherwise it starts dialing out on reception of the wink.
example:
The example below shows how to configure wink wait on an E&M
port.
router>enable
router#config
router_config#voice-port
3/0
router_config_voiceport#timing
wink-wait 1000
router_config_voiceport#
Set timeout to wait for the first incoming digit on an inbound call.
timeouts initial SEC
default timeouts initial
parameter:
SEC 5~30s
default:
timeouts initial 10
command mode:
voice-port configuration mode
explanation:
When the switch accepts the dial, it will send
busy tone to the calling party in case of timeout.
example:
The example below shows how to configure initial timeout for a voice
port.
router>enable
router#config
router_config#voice-port
1/0
router_config_voiceport#timeouts
initial 20
router_config_voiceport#
Set timeout between two digits on a voice port.
timeouts interdigit SEC
default timeouts interdigit
parameter:
SEC 5~20s
default:
timeouts interdigit 10
command mode:
explanation:
If interdigit timer timeouts, the call will be
terminated and busytone will be sent to user. The configuration followed covers
the previous one.
example:
The example below shows how to configure interdigit timeout on a
voice port.
router>enable
router#config
router_config#voice-port
1/0
router_config_voiceport#timeouts
interdigit 20
router_config_voiceport#
type
Configuring the mode
of connection of E&M voice port.
type {1 | 2 | 3 |
5}
default type
parameter:
1 Type 1 mode of connection
2 Type 2 mode of connection
3 Type 3 mode of connection
5 Type 5 mode of connection
default:
type 5
command
mode:
voice-port
configuration mode of E&M type
explanation:
E&M port has 1 to 5 modes of
connection in total. Our hardware supports all the other types except for Type
4 mode of connection. When the mode of connection of E&M port agrees with
the connected port of PBX, the communication takes place.
example:
The example below
configures the mode of connection of a port as Type 3 mode of connection.
The example below
configures
router>enable
router#config
router_config#voice-port 3/0
router_config_voiceport#type 3
router_config_voiceport#
Shutting down the
current voice port.
shutdown
no shutdown
parameter:
none
default:
no shutdown
command
mode:
Voice-port
configuration mode
explanation:
The function of continuing protection of
the voice port is shut down at the time of shutdown. When it is under no
shutdown, the current port is allowed to continue the call and the port is
re-initialized. When the trouble occurs to the current port, the command “no
shutdown” can be used for restoring the function of the port. When the command “shutdown”
and “no shutdown” are used, the port will not allow a call to go on.
example:
The example below
shuts down a port.
router>enable
router#config
router_config#voice-port 1/0
router_config_voiceport#shutdown
router_config_voiceport#
The global
configuration command “ivr-cfg” can be used for entering IVR configuration
mode.
ivr-cfg
parameter:
none
default:
none
command
mode:
Global configuration
mode
explanation:
none
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#
Configuring call rate
account-rate RATE
def account-rate
parameter:
RATE value
of rate
default:
def authen
command
mode:
ivr configuration mode
explanation:
The
unit of rate value is cent/6 seconds
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#account-rate
10
router_config_ivr#
Configuring
information of authentication account
authen card NUM_LEN KEY_LEN TIMES
def authen
parameter:
NUM_LEN Number
length of account name
KEY_LEN Key
length of account
TIMES Times
of authentication
default:
def authen
command
mode:
IVR configuration mode
explanation:
Configuring the number of bit card number
and password in cassette telephone mode . The default value of NUM_LEN is 6, KEY_LEN is 6, and times is 3.
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#authen card 5 5 2
router_config_ivr#
Configuring
information of authentication timeout.
authen timeout FIRST_KEY ALL_KEY
def authen
parameter:
FIRST_KEY Waiting
for time of dial timeout
ALL_KEY Time of timeout of whole
dial process
default:
def authen
command
mode:
ivr configuration mode
explanation:
Configuring the
username and the waiting time of pressing the first key and all the key in the
process of dialing password. The default value of FIRST_KEY is 10, ALL_KEY is 20.
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#authen timeout 15 30
router_config_ivr#
Configuring the dial
setting
dial dialing NUM_LEN TIMES
def dial
parameter:
NUM_LEN Length
of user’s number
TIMES Times
of user’s dialing
default:
def dial
command
mode:
IVR configuration mode
explanation:
Configuring the default length and
allowed times of re-dialing of all the dials in IVR configuration mode. The
default value NUM_LEN is 6, TIMES is 3.
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#dial dialing 5 2
router_config_ivr#
Configuring the
information of dial timeout
dial timeout FIRST_KEY ALL_KEY
def dial
parameter:
FIRST_KEY Waiting
for the time of dial timeout
ALL_KEY Time
of timeout of whole dialing process of user
default:
def dial
command
mode:
ivr configuration mode
explanation:
Configuring the default length and
allowed times of re-dialing of all the dials in IVR configuration mode. The
default value FIRST_KEY is 10, ALL_KEY
is 20.
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#dial timeout 15 30
router_config_ivr#
Configuring file name
of welcome message.
file play-start FILE
def file
parameter:
FILE file
name without postfix
default:
def file
command
mode:
IVR configuration mode
explanation:
Configuring
the voice prompt file of welcome message in cassette telephone mode .
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#file play-start playstart
router_config_ivr#
Configuring the
filename of recording prompt.
file record-start FILE
def file
parameter:
FILE filename
without postfix.
default:
def file
command
mode:
IVR configuration mode
explanation:
Configuring
the voice prompt file of prompt voice for recording
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#file record-start
recordstart
router_config_ivr#
Configuring the
filename of a second recording
file record-again FILE
def file
parameter:
FILE filename
without postfix
default:
def file
command
mode:
ivr configuration mode
explanation:
Configuring
voice prompt file of continuing recording
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#file record-again
recordagain
router_config_ivr#
Configuring filename of recording failure
file record-failed FILE
def file
parameter:
FILE filename without a
postfix
default:
def file
command mode:
ivr configuration mode
explanation:
Configuring voice file of recording
failure
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#file record-failed reocrdfailed
router_config_ivr#
Configuring filename
of authentication start.
file
authen-user-start FILE
def file
parameter:
FILE filename
without postfix
default:
def file
command
mode:
ivr configuration mode
explanation:
Configuring
the recording file of entering username prompt in cassette telephone.
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#file authen-user-start
authenuserstart
router_config_ivr#
Configuring filename
of password input.
file
authen-key-start FILE
def file
parameter:
FILE filename
without postfix
default:
def file
command
mode:
ivr configuration mode
explanation:
Configuring
the recording file of entering password prompt in cassette telephone.
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#file authen-key-start
authenkeystart
router_config_ivr#
Configuring filename
of authentication failure
file authen-failed FILE
def file
parameter:
FILE filename
without postfix
default:
def file
command
mode:
ivr configuration mode
explanation:
Configuring
the recording file of authentication failure prompt
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#file authen-failed
authenfailed
router_config_ivr#
Configuring dial-start
filename
file dial-start FILE
def file
parameter:
FILE filename
without postfix
default:
def file
command
mode:
ivr configuration mode
explanation:
Configuring
recording file of being able to dial the prompt of dialed number
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#file dial-start dialstart
router_config_ivr#
Configuring the
filename of connection failure.
file dial-failed FILE
def file
parameter:
FILE filename
without postfix
default:
def file
command
mode:
ivr configuration mode
explanation:
Configuring
recording file of connection failure
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#file dial-failed
dialfailed
router_config_ivr#
Configuring the
filename of interrupt information
file
interrupt-start FILE
def file
parameter:
FILE filename
without postfix
default:
def file
command
mode:
ivr configuration mode
explanation:
Configuring
the recording file of ending communication upon the exhaust of the prepaid.
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#file interrupt-start
interstart
router_config_ivr#
Configuring the
filename of setting voice
file record-gather-name FILE
def file
parameter:
FILE filename
without postfix
default:
def file
command
mode:
ivr configuration mode
explanation:
Configuring
the configuration of integrated voice filename of recording
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#file record-gather-name
gathername
router_config_ivr#
Configuring IVR
startup/shutdown mode
ivr enable
ivr disable
parameter:
enable Startup
disable Shutdown
default:
ivr enable
command
mode:
ivr configuration mode
explanation:
After
IVR is shut down, all DIALPEER configurations related to IVE are of no effect.
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#ivr disable
router_config_ivr#
Configuring the key information used for recording
record key START_KEY RESTART_KEY
def record
parameter:
START_KEY The key for starting recording
RESTART_KEY The key for restarting recording
default:
def record
command mode:
ivr configuration mode
explanation:
Configuring the key for starting recording and
the key for continuing recording. The default value of START_KEY is ‘*’, RESTART_KEY
is ‘1’
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#record
key 0
router_config_ivr#
Configuring the
information of recording times
record time MAX_PREIOD DEF_PERIOD
def record
parameter:
MAX_PREIOD Maximum time of recording
DEF_PERIOD Time of one recording
default:
def record
command
mode:
ivr configuration mode
explanation:
The
time parameters for configuring a recording is second and 0.1 second
respectively, subject to the smaller ine. The default value of MAX_PREIOD is 100, DEF_PERIOD is 10.
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#record time 150 30
router_config_ivr#
Configuring the stop
key used by IVR
stop-key KEY
def stop-key
parameter:
KEY Stop
key
default:
def stop-key
command
mode:
ivr configuration mode
explanation:
The stop of all the
operations uses this defined key. The default key is ‘#’
example:
router>enable
router#config
router_config#ivr-cfg
router_config_ivr#stop-key *
router_config_ivr#
Signal tone made by each switch has a
certain frequency value. If the detective frequency of signal tone of this
equipment is set as a corresponding value, it will improve the detective
function of the busy tone. The command is used for entering cptone
configuration mode. The command “Default” is used for restoring all the signal
tones on the slot to the default value.
cptone SLOT
default cptone SLOT
parameter:
SLOT Slot
number of the card for setting
default:
none
command
mode:
voice-port
configuration mode
explanation:
The user sets the busy tone, ring back tone,
dialing tone and other signaling tones for FXO phonetic module on the designated
card slot. If the signaling tone is of single frequency, the high frequency
value shall be set as 2001.
Among signaling tones, the dialing tone,
ring back tone, busy tone and dead signal tone on PBX shall be set and only one
type can be set for each tone. No type or multiple types can be set for other
kinds of signals. The set value will be written into DSP at the time of
configuration mode exit. If the set value is ineffective, the configuration
mode will not exit.
example:
The example below is
the setting of entry signal tone
router>enable
router#config
router_config#cptone 1
router_config_cptone#
Compulsory
cancellation of multiple vty masking to cptone configuration
cptone-vty-cfg
parameter:
none
default:
none
command
mode:
Global configuration
mode
explanation:
If vty is closed down compulsively (such
as power down, compulsory closedown of window, etcc) in configuring cptone, any
vty followed will not be able to access to cptone configuration unless
otherwise the computer is restarted. In order to shoot this trouble, the
command should be used for compulsory removal of masking function.
This command is effective at the time of
the next access to cptone and Cptone masking will be restored after that.
It shall be confirmed that no vty is
configuring cptone before this command is used. Otherwise it is likely to lead
to the confusion of cptone configuration at the time of accessing to cptone
configuration.
example:
The example below is
the setting of entry signal tone
router>enable
router#config
router_config#cptone 1
router_config_cptone#
Setting the dialing
tone on PBX
dial-tone-pbx LOW-FREQ HIGH-FREQ
parameter:
LOW-FREQ Low
Frequency Value
HIGH-FREQ High
Frequency Value
default:
none
command
mode:
Cptone configuration
mode
explanation:
Low
frequency value shall be less than high frequency value.
example:
The example below is
the setting of signaling tone.
router>enable
router#config
router_config#cptone 1
router_config_cptone#dial-tone-pbx 400 480
router_config_cptone#
Setting the ring back
tone on PBX
alert-tone-pbx LOW-FREQ HIGH-FREQ ON-TIME
OFF-TIME
parameter:
LOW-FREQ Low
frequency value
HIGH-FREQ High
frequency value
ON-TIME Time
being on
OFF-TIME Time
being off
default:
none
command
mode:
Cptone configuration
mode
explanation:
Low
frequency value shall be less than high frequency value
example:
The example below is
the setting of signaling tone
router>enable
router#config
router_config#cptone 1
router_config_cptone#alert-tone-pbx 400 480
100 400
router_config_cptone#
busy-tone-pbx LOW-FREQ HIGH-FREQ ON-TIME OFF-TIME
parameter:
LOW-FREQ Low frequency
value
HIGH-FREQ High frequency value
ON-TIME Time of being on
OFF-TIME Time of being off
default:
none
command mode:
Cptone configuration mode
explanation:
Low frequency value shall be less than high
frequency value
example:
The example below is the setting of signaling tone.
router>enable
router#config
router_config#cptone
1
router_config_cptone#busy-tone-pbx
400 480 35 35
router_config_cptone#
Setting dead lexel signal on PBX
empty-tone-pbx LOW-FREQ HIGH-FREQ ON-TIME OFF-TIME
parameter:
LOW-FREQ Low frequency
value
HIGH-FREQ High frequency value
ON-TIME Time being on
OFF-TIME Time being off
default:
none
command mode:
Cptone configuration mode
explanation:
Low frequency value shall be less than high
frequency value.
example:
The example below is the setting of signaling tone.
router>enable
router#config
router_config#cptone
1
router_config_cptone#empty-tone-pbx
400 480 40 40
router_config_cptone#
Setting the dialing tone on the remote PBX
dial-tone-ext LOW-FREQ HIGH-FREQ
parameter:
LOW-FREQ Low frequency
value
HIGH-FREQ High frequency value
default:
none
command mode:
Cptone configuration mode
explanation:
Low frequency value shall be less than high
frequency value.
example:
The example below is the setting of the signaling tone.
router>enable
router#config
router_config#cptone
1
router_config_cptone#dial-tone-ext
400 2001
router_config_cptone#
Setting ring back tone on the remote PBX
alert-tone-ext LOW-FREQ HIGH-FREQ ON-TIME OFF-TIME
parameter:
LOW-FREQ Low frequency
value
HIGH-FREQ High frequency value
ON-TIME Time being on
OFF-TIME Time being off
default:
none
command mode:
Cptone configuration mode
explanation:
Low frequency value shall be less than high
frequency value.
example:
The example below is the setting of the signaling tone.
router>enable
router#config
router_config#cptone
1
router_config_cptone#alert-tone-ext
400 2001 100 400
router_config_cptone#
Setting the busy tone on the remote PBX
busy-tone-ext LOW-FREQ HIGH-FREQ ON-TIME OFF-TIME
parameter:
LOW-FREQ Low frequency
value
HIGH-FREQ High frequency value
ON-TIME Time being on
OFF-TIME Time being off
default:
none
command mode:
Cptone configuration mode
explanation:
Low frequency value shall be less than high
frequency value.
example:
The example below is the setting of signaling tone.
router>enable
router#config
router_config#cptone
1
router_config_cptone#busy-tone-ext
400 2001 35 35
router_config_cptone#
Setting the dead lexel signal on the remote PBX
empty-tone-ext LOW-FREQ HIGH-FREQ ON-TIME OFF-TIME
parameter:
LOW-FREQ Low frequency
value
HIGH-FREQ High frequency value
ON-TIME Time being on
OFF-TIME Time being off
default:
none
command mode:
Cptone configuration mode
explanation:
Low frequency value shall be less than high
frequency value.
example:
The example below is the setting of the signaling tone.
router>enable
router#config
router_config#cptone
1
router_config_cptone#empty-tone-ext
400 2001 40 40
router_config_cptone#
gateway-cfg cofiguration command
Accessing to gateway configuration mode
gateway-cfg
parameter:
none
default:
none
command mode:
Global configuration mode
explanation:
Accessing to gateway configuration mode
example:
router>enable
router#config
router_config#gateway-cfg
router_config_gw#
Designating IP address of voice gateway
gateway ipaddr IPaddr
no gateway ipaddr IPaddr
parameter:
IPaddr IP
point-divided type address
default:
none
command mode:
Gateway configuration mode
explanation:
Configuring IP address used by the voice gateway
example:
router>enable
router#config
router_config#gateway-cfg
router_config_gw#gateway
ipaddr 192.2.2.152
router_config_gw#
Designating IP address that the voice gateway registers with the
gatekeeper.
gateway gkid GKNAME ipaddr IPaddr
[PORT]
gateway gkid GKNAME
parameter:
GKNAME Name
of gatekeeper (the maximum length is 16)
IPaddr IP
point-divided type address of the gatekeeper
PORT The
port used by the gatekeeper
default:
none
command mode:
Gateway configuration mode
explanation:
Designating IP address that the voice gateway
registers with the gatekeeper.
example:
router>enable
router#config
router_config#gateway-cfg
router_config_gw#gateway
gkid gk1 ipaddr 192.2.2.152
router_config_gw#
Designating H.323 ID used by the voice gateway
gateway h323id H323ID
no gateway h323id H323ID
parameter:
H323ID H.323
ID used by the gateway (the maximum length is 47)
default:
none
command mode:
Gateway configuration mode
explanation:
Designating H.323 ID used by the voice gateway.
example:
router>enable
router#config
router_config#gateway-cfg
router_config_gw#gateway
h323id 152@rnd.com
router_config_gw#
Designating the technical prefix used for registering the voice
gateway with the gatekeeper.
gateway tech-prefix PREFIX
no gateway tech-prefix PREFIX
parameter:
PREFIX The
technical prefix used by the gateway (the maximum length is 15)
default:
none
command mode:
Gateway configuration mode
explanation:
Designating the technical prefix used for registering the voice
gateway with the gatekeeper. Currently, GK of D-Link does not support this
registration function temporarily. This command can be used at the time of
registering with GK of CISCO.
example:
router>enable
router#config
router_config#gateway-cfg
router_config_gw#gateway
tech-prefix 123
router_config_gw#
Shutting down the voice gateway
shutdown
no shutdown
parameter:
none
default:
no shutdown
command mode:
Gateway configuration mode
explanation:
The function of the voice gateway is to shut
down at the time of shutdown. When the voice gateway has been registered with a
gatekeeper, it will cancel the registration with that gatekeeper.
example:
The example below shuts down the voice gateway.
router>enable
router#config
router_config#gateway-cfg
router_config_gw#shutdown
router_config_gw#
gatekeeper-cfg configuration command
Accessing to gatekeeper configuration mode
gatekeeper-cfg
parameter:
none
default:
none
command mode:
Global configuration mode
explanation:
Accessing to gatekeeper configuration mode
example:
router>enable
router#config
router_config#gatekeeper-cfg
router_config_gk#
Setting the local zone of the voice gatekeeper
zone local GKNAME DOMAIN {{ipaddr IPaddr}|{interface
INTERFACE}}
no zone local GKNAME
parameter:
GKNAME Name
of gatekeeper (the maximum length is 16)
DOMAIN Domain
name (the maximum length is 31)
IPaddr
Point-divided IP address
INTERFACE Network interface, such as
Ethernet interface, serial interface, Synchronous interface, etc.
default:
none
command mode:
gatekeeper configuration mode
explanation:
Setting local zone of the voice gatekeeper
example:
router>enable
router#config
router_config#gatekeeper-cfg
router_config_gk#zone
local gk1 rnd.com ipaddr 192.2.2.155
router_config_gk#
Setting the remote zone of the voice gatekeeper.
zone remote GKNAME DOMAIN IPaddr
no zone remote GKNAME
parameter:
GKNAME Name
of gatekeeper (the maximum length is 16)
DOMAIN
Domain name (the maximum length is 31)
IPaddr Point-divided IP address
default:
none
command mode:
Gatekeeper configuration mode
explanation:
Setting remote zone of the voice gatekeeper
example:
router>enable
router#config
router_config#gatekeeper-cfg
router_config_gk#zone
remote gk2 rnd.com 192.2.2.156
router_config_gk#
Setting the prefix of the voice gatekeeper
zone prefix GKNAME PREFIX
no zone remote GKNAME PREFIX
parameter:
GKNAME Name
of gatekeeper (the maximum length is 16)
PREFIX
Character string of prefix (the maximum length is 15)
default:
none
command mode:
gatekeeper configuration mode
explanation:
Setting the prefix of the voice gatekeeper
example:
router>enable
router#config
router_config#gatekeeper-cfg
router_config_gk#zone
prefix gk1 123
router_config_gk#
Setting the subnet of the voice gatekeeper
zone subnet GKNAME {default|IPaddr|{Ipmask|/NUM}}
enable
no zone subnet GKNAME {default|IPaddr|{Ipmask|/NUM}}
enable
parameter:
GKNAME Name
of the gatekeeper (the maximum length is 16)
IPaddr Point-divided address of
subnet
Ipmask Point-divided address mask
of subnet
/NUM The number of byte of 1 in subnet mask.
enable Allowing the equipment
registration of the subnet
default:
none
command mode:
Gatekeeper configuration mode
explanation:
Setting the subnet of the voice gatekeeper
example:
router>enable
router#config
router_config#gatekeeper-cfg
router_config_gk#zone
subnet
router_config_gk#
Setting the static alias name entry of the voice gatekeeper
alias static IPaddr gkid GKNAME {[gateway][terminal][mcu][e164
E164NUM][h323id H323ID][ras rasIPaddr]}
alias static IPaddr gkid GKNAME
no alias static IPaddr
parameter:
static Configuring
static terminal list item
IPaddr Point-divided
IP address of signaling of this static terminal
GKNAME Configuring
the gatekeeper name registered by this static terminal
gateway Static terminal is a gateway
terminal Static terminal is a terminal
mcu Static
terminal is a multi-point controlled unit
E164NUM Configuring
E.164 number (the maximum length is 32), 10 numbers can be configured at the
most.
H323ID Configuring
H323 ID (the maximum length is 47)
rasIPaddr RAS address of this terminal
default:
none
command mode:
Gatekeeper configuration mode
explanation:
Setting the static alias name entry of the voice
gatekeeper. Multiple options can be chosen.
example:
router>enable
router#config
router_config#gatekeeper-cfg
router_config_gk#alias
static
router_config_gk#
Setting the technical prefix of the voice gatekeeper.
gw-type-prefix E164NUM
{default-technology|[gw ipaddr IPaddr]|[hopoff GKNAME]}
gw-type-prefix E164NUM
no gw-type-prefix E164NUM
parameter:
E164NUM E.164 prefix (it can be ended
with '*' or multiple '.', the maximum length is 15)
default-technology this prefix is default
technical prefix
gw Designating
the gateway related to this prefix
IPaddr RAS
signaling IP point-divided address of gateway
hopoff This
prefix designates the resolution on the specific gatekeeper.
default:
none
command mode:
Gatekeeper configuration mode
explanation:
Setting the technical prefix of gateway of the voice gatekeeper.
example:
router>enable
router#config
router_config#gatekeeper-cfg
router_config_gk#gw-type-prefix
router_config_gk#
Shutting down the voice gatekeeper
shutdown
no shutdown
parameter:
none
default:
no shutdown
command mode:
gatekeeper configuration mode
explanation:
The function of the voice gateway is shut down
at the time of shutdown. When some gateway has been registered with the
gatekeeper, it will cancel the registration with those gateways.
example:
The example below shuts down the voice gatekeeper
router>enable
router#config
router_config#gatekeeper-cfg
router_config_gk#shutdown
router_config_gk#
Showing the version information of
voice module
show voip
parameter:
none
default:
none
command mode:
Enable and the above
modes
explanation:
none
example:
Router>enable
Router#show voip
D-Link VOIP software
V2.0.0 build 20020828
Router#
Showing the current parameter setting of some or whole dial-peers
show voip dial-peer [TAG]
parameter:
TAG dial-peer
index (1~2147483647)
default:
none
command mode:
Enable and above modes
explanation:
Showing the current parameter setting of some or
whole dial-peers. If TAG is not entered, all the dial-peers will be shown.
example:
Router>enable
Router#show voip dial-peer 1
Index: 1(Dialpeer ID)
Type: POTS
destination pattern: 11910
no Answer Address
Port List: 1/0
Trim Prefix Length: 0, no Dial Prefix
Codec Type: G711ar64, no require-qos, fax protocol:bypass
FXO Dial Mode: ONCE
no shutdown
Router#
Showing the current status of some or all the voice ports
show voip voice-port {slot-num/port-num
| all}
parameter:
slot-num Showing
the slot number where status port is located.
port-num Showing
port number of the status port
all Showing all the voice ports
default:
none
command mode:
Enable and the above modes
explanation:
Showing the current status of some or whole
voice ports.
example:
Router>enable
Router#show voip voice-port 1/0
FXS mode voice port 1/0
comfort noise: OFF
connection plar: EMPTY
description: EMPTY
input gain: 0(dB), output gain: 2(dB), signal gain: -11(dB)
timeouts initial: 10(S), timeouts interdigit: 10(S)
timing dialout pause: 2000(MS), timing digit: 100(MS)
timing interval digit: 100(MS)
no shutdown
Router#
Showing the status of all the voice DSP in the system
show voip voice-dsp
parameter:
none
default:
none
command mode:
Enable and above modes
explanation:
Showing the status of all the voice DSP in the
system.
example:
Router>enable
Router#show voip voice-dsp
Router#
Showing the value of CPLD register of all the voice plug-in cards on
the equipment.
show voip voice-regs
parameter:
none
default:
none
command mode:
Enable and above modes
explanation:
Showing the value of CPLD register of all the
voice plug-in cards on the equipment
example:
Router>enable
Router#show voip voice-regs
============================================================
Slot 1: 2 FXS
DSP0 Base Address: 0xF0830000
Out_reg: 1 1 0 1 0 0 1 0
Imask_reg:
1 1 1 1 1 0 0 0
Ipend_reg:
1 1 1 1 1 1 1 1
Router#
Showing the signaling tone configuration
of the designated voice plug-in card on the equipment.
show voip cptone slot-num
parameter:
slot-num Showing the slot
number where status port is located
default:
none
command mode:
Enable and the above modes
explanation:
Showing the signaling tone
configuration of the designated voice plug-in card on the equipment.
example:
This example is the demonstration of single frequency
signaling tone configured by the example in cptone commands.
Router>enable
Router#show voip cptone 1
If it is single frequency signal, it's high frequency would be
2001!
==========================================================================
Tone Type
Source High Frequency Low Frequency On Time Off Time
------------ ------- --------------- --------------- ----------
----------
DIAL PBX 2001 450
ALERT PBX 2001
450
100 400
BUSY PBX 2001
450
35 35
EMPTY PBX 2001
450
12 12
DIAL EXT 2001
450
ALERT EXT 2001
450
100 400
BUSY EXT 2001
455
35 35
==========================================================================
Router#
Showing the setting of current parameter of IVR and other
information related to IVR.
show IVR {configuration | call-instance | ivri-session}
parameter:
configuration Showing command configuration of IVR
call-instance Showing the information of instance of IVR call.
ivri-session
Showing the information of IVR interactive session.
default:
none
command mode:
Enable and above modes
explanation:
Showing the setting of current parameters of IVR
and other contents.
example:
Router>enable
Router#show voip ivr configuration
=============================================================================
IVR disable
Authen info:
Card name number length: 10, key length: 6, authen times: 3
Timeout for waiting dialing: 30s, for dial ending: 60s
Dialing info:
Dial number length: 10, times: 3
Timeout for waiting dialing: 30s, for dial ending: 60s
File info:
Play start
: default/6
Record start :
default/4
Record again : default/5
Record failed : default/10
Authen start : default/1
Key start
: default/2
Authen failed: default/9
Dial start
: default/3
Dial failed :
default/7
Interrupt start: default/8
Gather audio : user
Record info:
All record period: 300s, one record period: 3000ms
Start record key: '*', restart key: '1', stop key: '#'
Play info:
Play times: 3
=============================================================================
Router#
Showing the information of all or some call of H.323
show voip h323 session [H323_SESS_ID]
parameter:
session Showing
the information of H.323 session
H323_SESS_ID ID
of H.323 call
command mode:
Enable mode
explanation:
If there is no ID parameter, all the session information of current
types will be shown. Otherwise the call information of ID of current types will
be shown.
example:
The example below is the output of executing the command “show voip
h323 session 0”.
Showing the information of whole or some call of data platform.
show voip data session [data_SESS_ID]
parameter:
session Showing
the information of the data session
DATA_SESS_ID Calling
the reference value ID
command mode:
Enable mode
explanation:
If there is no ID parameter, all the session
information of current types will be shown. Otherwise the call information of
ID of current types will be shown.
example:
The example below is the output of executing the command “show
voip data session”.
Showing the information of all the sub audio file in the integrated
audio file.
show voip audio FILENAME
parameter:
FILENAME Name
of audio file
command mode:
explanation:
Showing the relevant information of all sub
audio file in the integrated audio file, including the name of sub audio file,
side-play mount of sub audio file in the integrated audio file, the length of
sub audio file.
Note:
When the non-audio type file, namely the file whose postfix name is not “.au”,
is used as shown, the above similar information will not be obtained and the
relevant error prompt will occur.
example:
The example below is the output of executing the command “show voip
audio”.
Router>enable
Router#show
voip audio single.au
This
is a single audio file, codec type is G723r53.
Router#show
voip audio multi.au
================================
Sub
audio name Offset Length
----------------
------- -------
SubAudio1
200 200
SubAudio2
400 200
SubAudio3
600 200
================================
This
is a single audio file, codec type is G723r53.
Showing the information of voice gateway on the equipment
show gateway
parameter:
none
default:
none
command mode:
Enable and above modes
explanation:
Showing the information of the voice gateway on
the equipment.
example:
The example below shows the information of unregistered voice
gateway.
Router>enable
Router#show gateway
Gateway bd119 172.16.20.119 is
registered to
gatekeeper cisco106 172.16.20.106
Alias list (CLI configured)
H323-ID bd119
E164-ID 11910
E164-ID 11911
Alias list (last RCF)
H323-ID bd119
E164-ID 11910
E164-ID 11911
Gateway Endpoint Identifier
8122610400000004
Router#
The example below shows the information of registered voice gateway.
Router>enable
Router#show gateway
Gateway bd119 172.16.20.119 is
registered to
gatekeeper cisco106 172.16.20.106
Alias list (CLI configured)
H323-ID bd119
E164-ID 11910
E164-ID 11911
Alias list (last RCF)
H323-ID bd119
E164-ID 11910
E164-ID 11911
Gateway Endpoint Identifier
8122610400000004
Router#
Showing the information
of all the terminals of the voice gatekeeper registered with the equipment.
show
gatekeeper endpoints {[gkid GKNAME][dynamic |
static]}
parameter:
GKNAME Name of
gatekeeper (the maximum length is 16)
static Showing
the static alias name entry
dynamic
showing dynamic alias name entry
default:
none
command mode:
Enable and
above modes
explanation:
Showing the information of all the terminals of the voice gatekeeper
registered with the equipment.
example:
Router>enable
Router#show
gatekeeper endpoints
Router#show
gatekeeper endpoint
GATEKEEPER ENDPOINT REGISTRATION
================================
CallSig
Address Port RAS Address Port Zone Name Type
Static
---------------
----- --------------- ----- ---------------- ----------- ------
172.16.20.119 1720 172.16.20.119
20001 gk1
GW N
E164-ID: 11910
E164-ID: 11911
H323-ID: bd119
=============================================================================
Total
number of this kind endpoints = 1
Total
number of active registrations =
Router#
show gatekeeper gw-type-prefix
Showing the information of technical prefix list of gateway.
show gatekeeper gw-type-prefix
parameter:
none
default:
none
command mode:
Enable and above modes
explanation:
Showing the information of technical prefix list
of gateway.
example:
Router>enable
Router#show gatekeeper
gw-tech-prefix
GATEWAY TYPE PREFIX TABLE
=========================
Prefix: 123
=========================
Router#
Showing the status information of local gatekeeper
show gatekeeper status
parameter:
none
default:
none
command mode:
Enable and above modes
explanation:
Showing the status information of local
gatekeeper
example:
Router>enable
Router#show gatekeeper status
Gatekeeper State: UP
Zone Name: gk1
Zone Name: gk2
Router#
Showing the relevant information of the zone
show gatekeeper zone {[gkid GKNAME][local|prefix|remote|subnet]}
parameter:
GKNAME Name of gatekeeper (the
maximum length is 16)
local Showing local zone
prefix Showing
prefix information of zone
remote Showing
remote zone
subnet Showing
information of local subnet
default:
none
command mode:
Enable and above modes
explanation:
Showing the relevant information of zone
example:
Router>enable
Router#show gatekeeper zone
GATEKEEPER
ZONES
================
GK name Domain
Name RAS Address PORT Local MAX-BW CUR-BW
(kbps) (kbps)
---------------- --------------------
--------------- ----- ----- ------ ------
gk1
rnd.com
172.16.20.115
1719 Y
SUBNET ATTRIBUTES :
subnet 172.16.20.0/255.255.255.0 : (Enabled)
All Other Subnets : (Disabled)
gk2
rnd.com
172.16.20.115
1719 Y
SUBNET ATTRIBUTES :
All Other Subnets : (Enabled)
gk153
rnd.com
172.16.20.153
1719 N
=============================================================================
Router#
Exporting the debug
information when DSP is working.
debug vpm dsp
no debug vpm dsp
parameter:
none
default:
no debug vpm dsp
command
mode:
Enable mode
explanation:
Checking
whether DSP module is used when the operation has trouble.
example:
router>enable
router#debug vpm dsp
VPM Dsp debugging is on
router#
Exporting the error
situation encountered in processing the voice module.
debug vpm
error
no debug vpm
error
parameter:
none
default:
no debug vpm error
command
mode:
Enable mode
explanation:
Exporting
the error message in processing the voice module.
example:
router>enable
router#debug vpm error
VPM Error debugging is on
router#
Exporting the error
situation encountered in processing the voice module.
debug vpm port slot-num/port-num
no debug vpm port slot-num/port-num
parameter:
slot-num The number of
slots where debug port is located.
port-num Port number of
debug
default:
none
command
mode:
Enable mode
explanation:
In
order to reduce the trouble in correcting the error, this command can be used
for preventing the information of multiple voice ports from being exported
together.
example:
router>enable
router#debug vpm port 1/0
VPM Port debugging is on
router#
Exporting the
information of message processing flow when the voice module is running.
debug vpm signal
no debug vpm signal
parameter:
none
default:
no debug vpm signal
command
mode:
Enable mode
explanation:
This
function can be used for tracing the message of the voice module and the flow
of state machine processing.
example:
router>enable
router#debug vpm signal
VPM Signal debugging is on
router#
Exporting the
information of wrong content of VoIP
debug voip error { [h323] | [dialsig] |
[ras] | [gw] | [gk] | [asn1] | [dp] | [vdata] | [ivrm] | [ivrp] | [ivri] | [ivrc] | [ct] | [others] }
no debug voip error
{ [h323] | [dialsig] | [ras] | [gw] |
[gk] | [asn1] | [dp] | [vdata] | [ivrm] | [ivrp] | [ivri] | [ivrc] | [ct] | [others] }
parameter:
h323 Debugging VoIP H323
error
dialsig Debugging VoIP
Dialsig error
ras Debugging VoIP RAS error
gw Debugging VoIP gateway error
gk Debugging VoIP Gatekeeper
error
asn1 Debugging VoIP ASN.1 error
dp Debugging VoIP data plane
error
vdata Debugging VoIP vdata error
ivrm Debugging VoIP IVR main
error
ivrp Debugging VoIP IVR play error
ivri Debugging VoIP IVRI error
ivrc Debugging VoIP IVRC error
ct Debugging VoIP call control
error
others Debugging other error of VoIP
call
default:
no debug all
command
mode:
Enable mode
explanation:
The
function can be used for checking the error message of various sub-modules of
VoIP.
example:
Router>enable
Router#debug
voip error h323
Router#
Exporting the
information of the content of VoIP event
debug voip error { [h323] | [dialsig] |
[ras] | [gw] | [gk] | [asn1] | [dp] | [vdata] | [ivrm] | [ivrp] | [ivri] | [ivrc] | [ct] | [others] } [detail]
no debug voip error
{ [h323] | [dialsig] | [ras] | [gw] |
[gk] | [asn1] | [dp] | [vdata] | [ivrm] | [ivrp] | [ivri] | [ivrc] | [ct] | [others] } [detail]
parameter:
h323 Debugging VoIP H323 event
dialsig Debugging VoIP Dialsig event
ras Debugging VoIP RAS event
gw Debugging VoIP gateway event
gk Debugging VoIP Gatekeeper
event
asn1 Debugging VoIP ASN.1 event
dp Debugging VoIP data plane
event
vdata Debugging VoIP vdata event
ivrm Debugging VoIP IVR main
event
ivrp Debugging VoIP IVR play
event
ivri Debugging VoIP IVRI event
ivrc Debugging VoIP IVRC event
ct Debugging VoIP call control
event
others Debugging other events of VoIP
call
detail Debugging the detailed content of VoIP event
default:
no debug all
command
mode:
Enable mode
explanation:
The function
can be used for checking the event message of various sub-modules of VoIP.
example:
Router>enable
Router#debug
voip event ras
2002-5-17
01:51:12 VOIP(RAS):
RasSendData:
send msg length 85 to 172.16.20.115:1719
RASSendData:
RRQ (seq# 356)
2002-5-17
01:51:12 VOIP(RAS):
RASRecvData:
rcvd msg length 62 from 172.16.20.115:1719
2002-5-17
01:51:12 VOIP(RAS):
RASRecvData:
RCF (seq# 356)
Exporting the message
of VoIP event content.
debug voip error { [q931] | [h225] | [h245] | [rtp] | [rtcp] | [fax] }
no debug voip error
{ [q931] | [h225] | [h245] | [rtp] |
[rtcp] | [fax] }
parameter:
q931 showing
VoIP Q.931
message content
h225 showing
VoIP H.225
message content
h245 showing
VoIP h245 message
content
rtp
showing VoIP
RTP message content
rtcp showing VoIP RTCP message content
fax
showing VoIP
FAX message content
default:
no debug all
command
mode:
Enable mode
explanation:
The function
can be used for checking the event message of various sub-modules of VoIP.
example:
Router>enable
Router#debug voip packet q931
Router#
Re-sequencing the
configured dialpeer on dialpeer ID
aline-dialpeer
parameter:
none
default:
none
command
mode:
Global configuration
mode
explanation:
The general dialpeer is sequenced on the
order of configured time. In order to facilitate the user’s management, the
command can be used for sequencing dialpeer after dialpeer configuration is
over. The command shall be confirmed as feasible before it is used because of
the irreversible operation of the command (among the different dialpeers with
the same number configured, the one arranged in the front is always used in
dialing)
example:
router>enable
router#config
router_config#aline-dialpeer
This operation can't be restore,
continue?[y/n]y
router_config#
Clearing some
session.
clear h323-session session_id
parameter:
session_id Session
ID
default:
The command
can be used for ending a session compulsively in the event that some session
suffers confusion, fails to response or cannot be brought to an end.
command
mode:
Enable mode
explanation:
none
example:
The example below
clears a session with session ID as 0.
router>enable
router#clear h323-session 0
router#
Configuring the
termination match character of dial string
dial-peer
terminator CHAR
no dail-peer
terminator
parameter:
CHAR The
termination match the character of the dial string (0~9 # * a b c d)
default:
no dail-peer
terminator
command
mode:
Global configuration
mode
explanation:
After the
user enters the configuration command, the matched character deposit will end
and the dial will apply the match method of the termination character. When the
dial is over, this termination character prompt shall be entered for matching.
After the user enters the “no” format
of the command, the stored termination match character is
ineffective. The dial applies to the match the method of each dial.
example:
The example below
configures ’*’ as termination match character.
router>enable
router#config
router_config#dial-peer terminator *
router_config#
Configuring RADIUS
accounting of all the session users.
gw-accounting-h323
no
gw-accounting-h323
parameter:
none
default:
no
gw-accounting-h323
command
mode:
Global configuration
mode
explanation:
Controlling the
accounting switch of all h323
voice, including the configuration of the command used for opening the
accounting of tel and voip.
example:
none
Configuring RADIUS
authentication of all one-off dial users.
gw-authen-h323
no gw-authen-h323
parameter:
none
default:
none
command
mode:
Global configuration
mode
explanation:
The command is configured for one-off
dial authentication switch and using one-off authentication of ivr.
example:
none
This command “sense cptone” is used for
detecting the frequency and on off time (unit:10ms) of 10 signaling tones like
the busy tone, dead lexel signal, congestion tone, dialing tone and ring back
tone, etc of PBX and outside line connected with FXO port slot/port.
sense cptone port slot-num/port-num dial
STR TONE_TYPE { single | dual }
parameter:
port Port
to be detected
slot-num The number of the
slot where the port to be detected is located.
port-num The port number
to be detected
dial The number used for triggering PBX or local network port exchanger connected with PBX to play the
signaling tone of designated type.
STR Dial string
TONE_TYPE Detected signaling tone
type
dial-tone-pbx
dial-tone-ext
alert-tone-pbx
alert-tone-ext
busy-tone-pbx
busy-tone-ext
empty-tone-pbx
empty-tone-ext
congestion-tone-pbx
congestion-tone-ext
single Detecting
single frequency
dual Detecting dual frequency
default:
none
command
mode:
Global configuration
mode
explanation:
The two exported parameters are the lower
frequency limit and upper frequency limit of signaling tone sent by the switch
connected with the port respectively as well as the on off time of the first
cycle. After the command is used, the command “cptone” can be used for
configuring the frequency and on off time of detective signaling tone for DSP
on the port to ensure the normal function of the port.
example:
The example below
makes a detection:
router>enable
router#config
router_config#sense cptone port 1/0 dial
12345 dial-tone-pbx dual
High:450 Low:420
High:460 Low:430
High:460 Low:420
router_config#
Using the optimized
asn coding
voip asn-opt
no voip asn-opt
parameter:
none
default:
no voip asn-opt
command
mode:
Global configuration
mode
explanation:
The
command can be used for improving the coding efficiency
example:
The example below configures
the use of the optimized asn coding.
router>enable
router#config
router_config#voip asn-opt
router_config#