To enable voice activity detection (VAD) for calls using a specific dial peer, use the vad command in dial-peer configuration mode. To disable VAD, use the no form of this command.
vad [aggressive]
novad [aggressive]
Syntax Description
aggressive
Reduces noise threshold from -78 to -62 dBm. Available only when session protocol multicast is configured.
Command Default
VAD is enabled
Aggressive VAD is enabled in multicast dial peers
Command Modes
Dial-peer configuration
Command History
Release
Modification
11.3(1)T
This command was introduced on the Cisco 3600 series.
12.0(4)T
This command was implemented as a dial-peer command on Cisco MC3810 (in prior releases, the vadcommand was available only as a voice-port command).
12.2(11)T
The aggressive keyword was added.
Usage Guidelines
Use thiscommand to enable voice activity detection. With VAD, voice data packets fall into three categories: speech, silence, and unknown. Speech and unknown packets are sent over the network; silence packets are discarded. The sound quality is slightly degraded with VAD, but the connection monopolizes much less bandwidth. If you use the no form of this command, VAD is disabled and voice data is continuously sent to the IP backbone. When configuring voice gateways to handle fax calls, VAD should be disabled at both ends of the IP network because it can interfere with the successful reception of fax traffic.
When the aggressive keyword is used, the VAD noise threshold is reduced from -78 to -62 dBm. Noise that falls below the -62 dBm threshold is considered to be silence and is not sent over the network. Additionally, unknown packets are considered to be silence and are discarded.
Examples
The following example enables VAD for a Voice over IP (VoIP) dial peer, starting from global configuration mode:
dial-peer voice 200 voip
vad
Related Commands
Command
Description
comfort-noise
Generates background noise to fill silent gaps during calls if VAD is activated.
dial-peervoice
Enters dial-peer configuration mode, defines the type of dial peer, and defines the tag number associated with a dial peer.
vad(voice-port)
Enables VAD for the calls using a particular voice port.
vad (SPA-DSP)
To enable or disable voice activity detection (vad) settings configured locally irrespective of the external vad settings, use the vadcommand in config dspfarm profile mode.
vad
{ on | off }
override
Syntax Description
on
Enables the local vad settings irrespective of the external vad settings.
off
Disables the local vad settins irrespective of the external vad settings.
override
Overrides the external vad settings with local vad configuration details.
Use this command to enable voice activity detection locally irrespective of external VAD settings. With VAD, voice data packets fall into three categories: speech, silence, and unknown. Speech and unknown packets are sent over the network; silence packets are discarded. The sound quality is slightly degraded with VAD, but the connection monopolizes much less bandwidth. If you disable VAD, voice data is continuously sent to the IP backbone.
Examples
The following example enables VAD and overrides external vad settings with local vad settings:
Router(config)# dspfarm profile 1
Router(config-dspfarm-profile)# vad on override
Router(config-dspfarm-profile)# do show running-config
!!!
dspfarm profile 1 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 588
associate application SBC
vad on override
!
The following example disables local vad settings and overrides external vad setting configuration:
Router(config)# dspfarm profile 1
Router(config-dspfarm-profile)# vad off override
Router(config-dspfarm-profile)# do show running-config
!!!
dspfarm profile 1 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 588
associate application SBC
vad off override
!
Related Commands
Command
Description
dspservicesdspfarm
Enables the DSP-farm services.
dspfarmprofile
Enters the DSP farm profile configuration mode, and defines a profile for the DSP farm services.
showdspfarm(SPA-DSP)
Displays DSP farm service information, such as operational status and DSP resource allocation for transcoding.
vbd-playout-delay
To configure the voice-band-detection playout-delay buffer on a Cisco router, use the vbd-playout-delaycommandinvoice service session configuration mode. To disable the buffer, use the no form of this command.
(Optional) Fixes the jitter buffer at a constant delay without time stamps.
passthrough
Sets the jitter buffer passthrough mode for clock compensation.
nominal
Sets the nominal playout buffer delay, in ms. Range:10 to 1000. Default: 60.
Command Default
The voice-band-detection playout-delay buffer is disabled.
Command Modes
Voice service session configuration (conf-voi-serv-sess)
Command History
Release
Modification
12.2(8)T
This command was introduced.
12.4(24)T
This command was modified.
The minimum time range value was changed from 4 to 1700 ms to a range of 10 to 40 ms. The default value 4 was increased to 40 ms.
The maximum time value was decreased from 1700 to 1000 ms and the default of 200 was increased to 1000 ms.
The nominal time range value was changed from 0 to 1500 ms to a range of 10 to 1000 ms. The default value of 100 was decreased to 60 ms.
12.4(24)T6
This command was modified. The no-timestamps keyword was added and passthrough keyword usage guidelines were clarified.
Usage Guidelines
Use thiscommand to set the playout jitter buffer. When a voice band is detected, the call uses the G.711 codec, and the playout delay values that you set are picked up. The original voice-call parameters are restored after the fax or modem call is completed. The no-timestamps keyword sets the jitter buffer at a constant delay without reading time stamps.
Note
The passthough keyword is a special mode used to handle clock drifting properly. We recommend this keyword only when instructed by your Cisco representative.
Examples
The following example configures ATM adaptation layer 2 (AAL2) voice-band-detection playout-delay adaptation mode and sets the mode to fixed:
voice service voatm
session protocol aal2
vbd-playout-delay mode fixed
The following example configures AAL2 voice-band-detection playout-delay adaptation mode and sets the mode at a constant delay without timestamps:
voice service voatm
session protocol aal2
vbd-playout-delay mode fixed no-timestamps
The following example sets the nominal AAL2 voice-band-detection playout-delay buffer to 12 ms:
voice service voatm
session protocol aal2
vbd-playout-delay nominal 12
The following example sets the AAL2 voice-band-detection playout-buffer delay to a maximum of 55 ms:
voice service voatm
session protocol aal2
vbd-playout-delay maximum 55
The following example sets the AAL2 voice-band-detection playout-buffer delay to a minimum of 22 ms:
voice service voatm
session protocol aal2
vbd-playout-delay minimum 22
The following sample output shows the vdb-playout-delay being verified in the running configuration output:
Router(conf-voi-serv-sess)#do show run | sec voice service voatm
voice service voatm
!
session protocol aal2
vbd-playout-delay minimum 22
Related Commands
Command
Description
voice-service
Specifies the voice encapsulation type and enters voice service configuration mode.
vbr-rt
To configure the real-time variable bit rate (VBR) for VoATM voice connections, use the
vbr-rt command in the appropriate configuration mode. To disable VBR for voice connections, use the
no form of this command.
vbr-rtpeak-rateaverage-rateburst
novbr-rt
Syntax Description
peak-rate
Peak information rate (PIR) for the voice connection, in kilobytes per second (kbps). If it does not exceed your carrier’s line rate, set it to the line rate. Range is from 56 to 10000.
average-rate
Average information rate (AIR) for the voice connection, in kbps.
burst
Burst size, in number of cells. Range is from 0 to 65536.
Command Default
No real-time VBR settings are configured
Command Modes
ATM Bundle-vc configuration for ATM VC bundle members
ATM PVP configuration for an ATM PVP
Interface-ATM-VC configuration for an ATM permanent virtual connection (PVC) or switched virtual circuit (SVC)
VC-class configuration for a virtual circuit (VC) class
Command History
Release
Modification
12.0
This command was introduced on the Cisco MC3810.
12.1(5)XM
This command was implemented on Cisco 3600 series routers and modified to support Simple Gateway Control Protocol (SGCP) and Media Gateway Control Protocol (MGCP).
12.2(2)T
This command was integrated into Cisco IOS Release 12.2(2)T.
12.2(11)T
This command was implemented on the Cisco AS5300 and Cisco AS5850.
Cisco IOS XE Release 2.3
This command was made available in ATM PVP configuration mode.
Usage Guidelines
This command configures traffic shaping between voice and data PVCs. Traffic shaping is required so that the carrier does not discard calls. To configure voice and data traffic shaping, you must configure the peak, average, and burst options for voice traffic. Configure the burst value if the PVC will carry bursty traffic. Peak, average, and burst values are needed so that the PVC can effectively handle the bandwidth for the number of voice calls.
Calculate the minimum peak, average, and burst values for the number of voice calls as follows:
Peak Value
Peak value = (2 x the maximum number of calls) x 16K = _______________
Average Value
Calculate according to the maximum number of calls that the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:
For VoIP:
G.711 with 40- or 80-byte sample size:
Average value = max calls x 128K = _______________
G.726 with 40-byte sample size:
Average value = max calls x 85K = _______________
G.729a with 10-byte sample size:
Average value = max calls x 85K = _______________
For VoATM adaptation layer 2 (VoAAL2):
G.711 with 40-byte sample size:
Average value = max calls x 85K = _______________
G.726 with 40-byte sample size:
Average value = max calls x 43K = _______________
G.729a with 10-byte sample size:
Average value = max calls x 43K = _______________
If voice activity detection (VAD) is enabled, bandwidth usage is reduced by as much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.
Burst Value
Set the burst size as large as possible, and never less than the minimum burst size. Guidelines are as follows:
Minimum burst size = 4 x number of voice calls = _______________
Maximum burst size = maximum allowed by the carrier = _______________
When you configure data PVCs that will be traffic shaped with voice PVCs, use AAL5snap encapsulation and calculate the overhead as 1.13 times the voice rate.
Examples
The following example configures the traffic-shaping rate for ATM PVC 20. Peak, average, and burst rates are calculated based on a maximum of 20 calls on the PVC.
Configures the AAL and encapsulation type for an ATM PVC, SVC, or VC class.
vcci
To identify a permanent virtual circuit (PVC) to the call agent, use the vcci command in ATM virtual circuit (VC) configuration mode. To restore the default value, use the noform of this command.
vccipvc-identifier
novcci
Syntax Description
pvc-identifier
Identifier for the PVC. Range is from 0 to 32767. There is no default value.
Command Default
No default behavior or values
Command Modes
ATM virtual circuit configuration mode
Command History
Release
Modification
12.1(5)XM
This command was introduced.
12.2(2)T
This command was integrated into Cisco IOS Release 12.2(2)T.
12.2(11)T
This command was implemented on the Cisco AS5300 and Cisco AS5850.
Usage Guidelines
The pvc-identifierargumentis a unique 15-bit value for each PVC. The call agent sets up a call with the gateway by specifying the PVC using the pvc-identifier.
Examples
The following example shows how to assign a PVC identifier:
Router(config-if-atm-vc)# vcci 5278
Related Commands
Command
Description
mgcp
Starts the MGCP daemon.
pvc
Creates an ATM PVC for voice traffic.
video codec (dial peer)
To assign a video codec to a VoIP dial peer, use the videocodec command in dial peer configuration mode. To remove a video codec, use the no form of this command.
videocodec
{ h261 | h263 | h263 | + | h264 }
novideocodec
Syntax Description
h261
Video codec H.261
h263
Video codec H.263
h263+
Video codec H.263+
h264
Video codec H.264
Command Default
No video codec is configured.
Command Modes
Dial peer configuration
Command History
Release
Modification
12.4(11)T
This command was introduced.
Usage Guidelines
Use this command to configure a video codec for a VoIP dial peer. If no video codec is configured, the default is transparent codec operation between the endpoints.
Examples
The following example shows configuration for video codec H.263+ on VoIP dial peer 30:
dial-peer voice 30 voip
video codec h263+
Related Commands
Command
Description
videocodec(voice-class)
Specifies a video codec for a voice class.
video codec (voice class)
To specify a video codec for a voice class, use the videocodeccommand in voice class configuration mode. To remove the video codec, use the no form of this command.
videocodec
{ h261 | h263 | h263 | + | h264 }
novideocodec
{ h261 | h263 | h263 | + | h264 }
Syntax Description
h261
Apply this preference to video codec H.261
h263
Apply this preference to video codec H.263
h263+
Apply this preference to video codec H.263+
h264
Apply this preference to video codec H.264
Command Default
No video codec is configured.
Command Modes
Voice class configuration
Command History
Release
Modification
12.4(11)T
This command was introduced.
Usage Guidelines
Use this command to specify one or more video codecs for a voice class.
Examples
The following example shows configuration for voice class codec 10 with two audio codec preferences and three video codec preferences:
voice class codec 10
codec preference 1 g711alaw
codec preference 2 g722
video codec h261
video codec h263
video codec h264
Related Commands
Command
Description
videocodec(dialpeer)
Specifies a video codec for a VoIP dial peer.
video screening
To enable transcoding and transsizing between two call legs when configuring SIP, use the videoscreeningcommand in foice service SIP configuration mode. To disable transcoding and transsizing, use no form of this command.
videoscreening
novideoscreening
Syntax Description
This command has no arguments or keywords.
Command Default
Video screening is disabled.
Command Modes
Voice service SIP configuration.
Command History
Release
Modification
15.1(4)M
The command was introduced.
Usage Guidelines
Use this command to enable conversion of video streams if there is a mismatch between two call legs.
Examples
The following example enters the voice-card configuration mode and enables video screening:
Router(config)# voice service voip
Router(config-voicecard)# sip
Router((conf-serv-sip)# video screening
Related Commands
Command
Description
codecprofile
Defines the video capabilities needed for video endpoints.
videocodec
Assigns a video codec to a VoIP dial peer.
violation
To specify the action that needs to be performed on any violation in the Differentiated Services Code Point (DSCP) policy, use the
violation command in voice class configuration mode. To disable the configuration, use the
no form of this command.
Number of violations after which the required action needs to be taken. The range is from 1 to 200000. The default value is 20.
action
Specifies that an action must be performed after the specified number of violations.
disconnect
Disconnects the call after the specified number of violations is exceeded.
ignore
Specifies that no action should be taken after the specified number of violations is exceeded.
no-syslog
(Optional) Specifies not to print messages to the system log when violations occur.
Command Default
No actions are specified against any violation.
Command Modes
Voice class configuration (config-class)
Command History
Release
Modification
15.2(2)T
This command was introduced.
Usage Guidelines
You can use the
violation command to specify the action that needs to be performed on any violation in the DSCP policy. A system log is created by default. You can configure the
no-syslog keyword to disable the Cisco Unified Border Element (Cisco UBE) from generating system logs on DSCP policy violation.
Configure a high value for DSCP violations. If you configure a low value such as 5, action will be performed on the call after every five violations and system logs will be generated frequently.
The “100 - Invalid information element contents [Q.850]” message is displayed in the system log when a call is disconnected because of a DSCP policy violation. The cause for disconnecting the call is propagated only to the call leg causing the violation. For example, if the outgoing call leg of a Session Initiation Protocol (SIP)-to-SIP call violates the DSCP policy and the number of violations exceeds the configured number, this call is disconnected with the cause of 100 (Invalid information element contents [Q.850]) to the outgoing call leg and cause 16 (Normal Call Cleaning) to the incoming call leg.
Examples
The following example shows how to configure a router to print to the system log and disconnect the call if a call exceeds 20,000 violations:
To specify the action that needs to be performed on any violation in the media bandwidth policy, use the
violation command in media profile configuration mode. To disable the configuration, use the
no form of this command.
no violation
numberaction
{ disconnect | drop | ignore }
[ no-syslog ]
Syntax Description
number
Number of violations after which the required action needs to be taken. The range is from 1 to 200000. The default value is 20.
action
Specifies that an action must be performed after the specified number of violations.
disconnect
Disconnects the call after the specified number of violations is exceeded.
drop
Drops the call after the specified number of violations is exceeded.
ignore
Specifies that no action should be taken after the specified number of violations is exceeded.
no-syslog
(Optional) Specifies not to print messages to the system log when violations occur.
Command Default
No actions are specified against any violation.
Command Modes
Media profile configuration (cfg-mediaprofile)
Command History
Release
Modification
15.2(2)T
This command was introduced.
Usage Guidelines
You can use the
violation command to specify the action that needs to be performed on any violation in the media bandwidth policy. A system log is created by default. You can configure the
no-syslog keyword to disable the Cisco Unified Border Element (Cisco UBE) from generating system logs on DSCP policy violation.
Configure a high value for DSCP violations. If you configure a low value such as 5, action will be performed on the call after every five violations and system logs will be generated frequently.
Examples
The following example shows how to configure a router to print the system log and disconnect the call if a call exceeds 20,000 violations:
Router> enable
Router# configure terminal
Router(config)# media profile police 1
Router(cfg-mediaprofile)# violation 20000 action drop
Related Commands
Command
Description
media profile police
Configures the media policing profile.
overhead
Configures the overhead bandwidth percentage above the negotiated bandwidth.
vmwi
To enable DC voltage or FSK visual message-waiting indictator (VMWI) on a Cisco VG224 onboard analog FXS voice port, use thevmwi command in voice-port configuration mode. To reset VMWI to default, use the no form of this command.
vmwi
{ dc-voltage | fsk }
novmwi
Syntax Description
dc-voltage
DC voltage VMWI is enabled on this FXS port.
fsk
FSK VMWI is enabled on this FXS port. Default.
Command Default
FSK VMWI is enabled.
Command Modes
Voice-port configuration (config-voiceport)
Command History
Release
Modification
12.4(20)YA
This command was introduced.
12.4(22)T
This command was integrated into Cisco IOS Release 12.4(22)T.
Usage Guidelines
This command with thedc-voltage keyword enables the message-waiting lamp to flash on an analog phone that requires DC voltage to activate a visual indicator.
This command with thefsk keyword enables the message-waiting lamp to flash on an analog phone that requires an FSK message to activate a visual indicator.
DC Voltage VMWI is supported for the SCCP telephony control (STC) application only. For all other applications, such as MGCP, FSK will be used even if you configure the vmwidc-voltage command on the voice gateway.
Examples
The example shows how to enable DC Voltage VMWI on port 2/0 on a Cisco VG224.
Enables basic SCCP call-control features for FXS analog ports on Cisco IOS voice gateways
vofr
To enable Voice over Frame Relay (VoFR) on a specific data-link connection identifier (DLCI) and to configure specific subchannels on that DLCI, use the
vofr command in frame relay DLCI configuration mode. To disable VoFR on a specific DLCI, use the
no form of this command.
Switched Calls
vofr
[ datacid ]
[ call-control [cid] ]
novofr
[ datacid ]
[ call-control [cid] ]
Switched Calls to Cisco MC3810 Multiservice Concentrators Running Cisco IOS Releases Release Before 12.0(7)XK and Release 12.1(2)T
vofr [cisco]
novofr [cisco]
Cisco-Trunk Permanent Calls
vofrdatacidcall-controlcid
novofrdatacidcall-controlcid
FRF.11 Trunk Calls
vofr
[ datacid ]
[ call-controlcid ]
novofr
[ datacid ]
[ call-controlcid ]
Syntax Description
data
(Required for Cisco-trunk permanent calls. Optional for switched calls.) Selects a subchannel (CID) for data other than the default subchannel, which is 4.
cid
(Optional) Specifies the subchannel to be used for data. Range is from 4 to 255. The default is 4. If
data is specified, enter a valid CID.
call-control
(Optional) Reserves a subchannel for call-control signaling.
cisco
(Optional) Cisco proprietary voice encapsulation for VoFR with data is carried on CID 4 and call-control on CID 5.
cid
(Optional) Specifies the subchannel to be used for call-control signaling. Valid range is from 4 to 255. The default is 5. If
call-control is specified and a CID is not entered, the default CID is used.
Command Default
Disabled
Command Modes
Frame relay DLCI configuration
Command History
Release
Modification
12.0(3)XG
This command was introduced on Cisco 2600 series, Cisco 3600 series, and Cisco 7200 series routers and Cisco MC3810.
12.0(4)T
This command was integrated into Cisco IOS Release 12.0(4)T.
12.0(7)XK
The use of the
cisco option was modified. Beginning in this release, use thecisco option only when configuring connections to Cisco MC3810 running Cisco IOS Releases before 12.0(7)XK and 12.1(2)T.
12.1(2)T
This command was integrated into Cisco IOS Release 12.1(2)T.
Usage Guidelines
The table below lists the different options of the
vofr command and which combination of options is used beginning in Cisco IOS Release 12.0(7)XK and Release 12.1(2)T.
Table 1 Combinations of the vofr Command
Type of Call
Command Combination to Use
Switched call (user dialed or auto-ringdown) to other routers supporting VoFR
1 The recommended form of this command to use is vofr data 4 call-control 5 .
2 For FRF.11 trunk calls, the call-control option is not required. It is required only if you mix FRF.11 trunk calls with other types of voice calls on the same PVC.
Examples
The following example, beginning in global configuration mode, shows how to enable VoFR on serial interface 1/1, DLCI 100. The example configures CID 4 for data; no call-control CID is defined.
interface serial 1/1
frame-relay interface-dlci 100
vofr
To configure CID 4 for data and CID 5 for call-control (both defaults), enter the following command:
vofr call-control
To configure CID 10 for data and CID 15 for call-control, enter the following command:
vofr data 10 call-control 15
To configure CID 4 for data and CID 15 for call-control, enter the following command:
vofr call-control 15
To configure CID 10 for data and CID 5 for call-control, enter the following command:
vofr data 10 call-control
To configure CID 10 for data with no call-control, enter the following command:
vofr data 10
Related Commands
Command
Description
class
Assigns a VC class to a PVC.
frame-relayinterface-dlci
Assigns a DLCI to a specified Frame Relay subinterface.
voice
To enable voice resource pool services for resource pool management, use the voicecommand in service profile configuration mode. To disable voice services, use the no form of this command.
voice
novoice
Syntax Description
This command has no arguments or keywords.
Command Default
Disabled
Command Modes
Service profile configuration mode
Command History
Release
Modification
12.2(2)XA
This command was introduced on the Cisco AS5350 and AS5400.
12.2(2)XB1
This command was implemented on the Cisco AS5850 platform.
12.2(11)T
This command was integrated into Cisco IOS Release 12.2(11)T.
Examples
The following example shows that voice service is available and enables voice resource pool service using the voice command in service profile configuration mode:
Router(config)# resource-pool profile service voip
Router(config-service-profile)# ?
Service Profile Configuration Commands:
default Set a command to its defaults
exit Exit from resource-manager configuration mode
help Description of the interactive help system
modem Configure modem service parameters
no Negate a command or set in its defaults
voice Configure voice service parameters
Router(config-service-profile)# voice
Related Commands
Command
Description
resource-poolenable
Enables resource pool management.
resource-poolprofileservicevoip
Defines the VoIP service profile for resource pool management.
voicecap configure
To apply a voicecap on NextPort platforms, use the voicecapconfigurecommand in voice-port configuration mode. To remove a voicecap, use the no form of this command.
voicecapconfigurename
novoicecapconfigurename
Syntax Description
name
Designates which voicecaps to use on this voice port.
Command Default
No default values or behavior
Command Modes
Voice-port configuration
Command History
Release
Modification
12.3(4)T
This command was introduced.
Usage Guidelines
The character value for the name argument must be identical to the value entered when you created the voicecap using the voicecapentry command.
Examples
The following example configures a voicecap with the name qualityERL:
To create a voicecap, use the
voicecapentry command in global configuration mode. To disable a voicecap, use the
no form of this command.
voicecapentry
[ namestring ]
novoicecapentry
[ namestring ]
Syntax Description
namestring
(Optional) A word and a string of characters that uniquely identify a voicecap.
Thename argument specifies a unique identifier for a voicecap.
The
string argument specifies one or more voicecap register entries, similar to a modemcap. Each entry is of the form
vindex =value , where
index refers to a specific V register, and
value designates the value for that V register.
Command Default
No voice caps can be applied to configure firmware.
Command Modes
Global configuration
Command History
Release
Modification
12.3(4)T
This command was introduced.
12.3(11)T
This command was integrated into Cisco IOS Release 12.3(11)T.
12.4(4)XC
This command was modified to include GSMAMR-NB codec capability.
12.4(9)T
This command was integrated into Cisco IOS Release 12.4(9)T.
Usage Guidelines
This command configures firmware through voicecap strings. This command allows you to assign values to specific registers. Voicecaps are applied to specific voice ports at system startup.
The voicecap values can be entered in a DSP-recognizable format called
raw format . They can also be entered in
standard format , which allows you to use commonly accessible values, such as decibels.
Starting with Cisco IOS Release 12.4(4)XC, this command can be used to configure GSMAMR-NB codecs on Cisco AS5350XM and Cisco AS5400XM platforms. The register values for GSMAMR-NB are shown in the table below.
Table 2 GSMAMR-NB Register Values
V-Reg #
Default
Description
Register Values and Additional Notes
0
0
Sets how Adaptive Multi-Rate (AMR) responds to an incoming codec mode request (CMR) that is not a member of the mode set.
0 = Drop the packet with the bad CMR. 1 = Ignore the CMR (do not change rates) but process the rest of the packet data normally. 2 = Change the rate to the highest rate in the mode set lower than the rate requested by the CMR.
1
0
Sets how AMR handles packets with a frame type (AMR rate) that is not a member of the mode set.
0 = Drop the packet with the bad frame-type. 1 = Attempt to decode the packet.
Examples
The following example creates a voicecap string for a GSMAMR-NB codec named gsmamrnb-ctrl with V register 0 set to 1:
To set the value for the minimum interval between reporting (MIR), use the voice call capacity mir command in global configuration mode. To turn off these attributes, use the no form of this command.
Minimum interval, in seconds, with a range of 1 to 3600 seconds and a default of 10. This value cannot be set higher than the time configured for the capacity update interval.
Command Default
10 seconds.
Command Modes
Global configuration
Command History
Release
Modification
12.3(1)
This command was introduced.
Usage Guidelines
Because the available circuit (AC) attribute of a destination is very dynamic, reporting of this attribute should be handled carefully. AC should be reported as frequently as possible so that the location server has better information about the resources. However, the location server should not be overwhelmed with too many updates.
All of the AC reporting, called the interesting point of AC, is performed when the specified event happens within the minimum interval between reporting (MIR) time since last reporting. This command sets the amount of time used for the interval to control the number of interesting points that are reported so not to overwhelm the location server with too many AC updates.
The seconds argument cannot be set higher than the time configured for the capacity update interval.
Examples
The following example shows the minimum interval between reporting for the carrier address family set to 25 seconds:
Router(config)# voice call carrier capacity mir 25
Related Commands
Command
Description
capacityupdateinterval(dialpeer)
Changes the capacity update for prefixes associated with a dial peer.
capacityupdateinterval(trunkgroup)
Change the capacity update for carriers or trunk groups.
voicecallcapacitystw
Set the value for STW.
voice call capacity reporting
To turn on the reporting of maxima (first derivative) or inflection
(second derivative) points in available capacity, use the voice call capacity
reporting command in global configuration mode. To turn off the reporting, use
the
no form of this command.
Maxima (first derivative) point in available capacity.
inflection
Inflection (second derivative) point in available capacity.
Command Default
The capacity reporting function is turned off.
Command Modes
Global configuration.
Command History
Release
Modification
12.3(1)
This command was introduced.
Usage Guidelines
The smoothed curve of the available circuits (AC) has maxima, minima,
and inflection points. When the curve has reached these points, this represents
a change in the call rate.
Maximum, minimum and inflection points are illustrated in the figure
below.
Figure 5. Maximum, Minimum, and Inflection Points for Available
Capacity
Examples
The following example shows the reporting of the available capacity
inflection point on the trunk group is turned on:
Sets the values for the minimum interval between reporting
(MIR) and smoothing transition time for weight (STW).
voicecallcapacitytimerinterval
Sets the periodic interval for reporting capacity from
carrier, trunk group, or prefix databases
voicecalltriggerhwm
Sets the value for percentage change, low water mark and
high water mark in the available capacity in the trunk group or prefix
databases.
voice call capacity stw
To set the value for smoothing transition time for weight (STW), use the voice call capacity stw command in global configuration mode. To turn off these attributes, use the no form of this command.
Transitions time can be from 0 to 60 seconds with a default of 10.
Command Default
10 seconds.
Command Modes
Global configuration.
Command History
Release
Modification
12.3(1)
This command was introduced.
Usage Guidelines
Because the available circuit (AC) attribute of a destination is very dynamic, reporting of this attribute should be handled carefully. AC should be reported as frequently as possible so that the location server has better information about the resources. However, the location server should not be overwhelmed with too many updates.
A smoothing algorithm is applied to the quantity of AC being reported. This algorithm eliminates reporting of noise. The degree of smoothing can be configured with the voice call capacity stw command. This command sets the smoothing transition time for weight, which is the time it takes for current smoothed value of AC to come half way between the current smoothed value and the current instantaneous value of AC. Lower stw values speed the smoothed value of AC as it approaches the instantaneous value of AC. When stw is set to 0, the smoothed value is always equal to the instantaneous value of AC.
Examples
The following example shows the smoothing time for weight for the carrier address family set to 25 seconds:
Changes the capacity update for prefixes associated with a dial peer.
capacityupdateinterval(trunkgroup)
Change the capacity update for carriers or trunk groups.
voicecallcapacitymir
Set the value for MIR.
voice call capacity timer interval
To set the periodic interval for reporting capacity from carrier, trunk group, or prefix databases, use the voice call capacity timer interval command in global configuration mode. To turn off the interval, use the no form of this command.
For the reporting interval, a periodic timer called the capacity update timer handles updates of available circuit (AC) information and can be configured using the voice call capacity timer interval command. For example, if AC has changed since the last reporting, the AC is again reported when the capacity update timer expires.
Examples
The following example sets the timer interval for the prefixes set at 15 seconds:
Turns on the reporting of maxima (first derivative) or inflection (second derivative) points in available capacity.
voicecalltriggerhwm
Sets the value for percentage change, low water mark and high water mark in the available capacity in the trunk group or prefix databases.
voice call convert-discpi-to-prog
To convert a disconnect message with a progress indicator (PI) to a progress message, use the voice call convert-discpi-to-prog command in global configuration mode. To return to the default condition, use the no form of this command.
(Optional) Information elements (IEs) are carried in the progress message.
always
(Optional) Converts disconnect message with a PI to a progress message in both preconnected and connected states.
Command Default
A disconnect message with a PI is not converted to a progress message.
Command Modes
Global configuration
Command History
Release
Modification
12.2(1)
This command was introduced.
12.3(6)
The tunnel-1Es keyword was added.
12.3(4)XQ
The always keyword with the tunnel-IEskeywordwere added.
12.3(8)T
The always keyword with the tunnel-IEskeywordwere added.
12.3(9)
The always keyword with the tunnel-1Eskeywordwere added.
Usage Guidelines
The voicecallconvert-discpi-to-prog command turns an ISDN disconnect message into a progress message. If you use the tunnel-IEskeyword, the information elements are not dropped when the disconnect message is converted to a progress message.
Examples
The following example changes a disconnect with PI to a progress message containing information elements (IEs):
voice call convert-discpi-to-prog tunnel-IEs
The following example changes a disconnect with PI to a progress message in the preconnected and connected states:
voice call convert-discpi-to-prog always
Related Commands
Command
Description
disc_pi_off
Enables an H.323 gateway to disconnect a call when it receives a disconnect message with a PI.
voice call csr data-points
To set the number of call success rate (CSR) data points, use the voice call csr data-points command in global configuration mode. To disable the setting of the CSR data points, use the no form of this command.
To set the recording interval for call success rates (CSR), use the voice call csr recording interval command in global configuration mode. To disable the CSR recording interval, use the no form of this command.
Sets the number of call success rate (CSR) data points.
voicecallcsrreportinginterval
Sets the reporting interval for CSR.
voice call csr reporting interval
To set the reporting interval for call success rate (CSR), use the voice call csr reporting interval command in global configuration mode. To disable the CSR recording interval, use the no form of this command.
To debug a voice call, use the
voicecalldebug command in global configuration mode. To disable the
short-header setting and return tothe
full-guid setting, use the
no form of this command.
{ voicecalldebugfull-guid | short-header }
{ novoicecalldebugfull-guid | short-header }
Syntax Description
full-guid
Displays the GUID in a 16-byte header.
Note
When the no version of this command is input with the full-guid keyword, the short 6-byte version displays. This is the default.
short-header
Displays the CallEntry ID in the header without displaying the GUID or module-specific parameters.
Command Default
The short 6-byte header displays.
Command Modes
Global configuration
Command History
Release
Modification
12.2(11)T
The new debug header was added to the following platforms: Cisco 2600 series, Cisco 3620, Cisco 3640, Cisco 3660 series, Cisco AS5300, Cisco AS5350, Cisco AS5400, Cisco AS5800, Cisco AS5850, and Cisco MC3810.
12.2(15)T
The header-only keyword was replaced by the short-header keyword.
Usage Guidelines
Despite its nontraditional syntax (trailing rather than preceding "debug"), this is a normal
debug command.
You can control the contents of the standardized header. Display options for the header are as follows:
Short 6-byte GUID
Full 16-byte GUID
Short header which contains only the CallEntry ID
The format of the GUID headers is as follows: //CallEntryID/GUID/Module-Dependent-List/Function-name:.
The format of the short header is as follows: //CallEntryID/Function-name:.
When the voice call debug short-header command is entered, the header displays with no GUID or module-specific parameters. When the no voice call debug short-header command is entered, the header, the 6-byte GUID, and module-dependent parameter output displays. The default option is displaying the 6-byte GUID trace.
Note
Using the no form of this command does not turn off debugging.
Examples
The following is sample output when the full-guid keyword is specified:
The "//-1/" output indicates that CallEntryID for CCAPI is not available.
Related Commands
Command
Description
debugrtspapi
Displays debug output for the RTSP client API.
debugrtspclientsession
Displays debug output for the RTSP client data.
debugrtsperror
Displays error message for RTSP data.
debugrtsppmh
Displays debug messages for the PMH.
debugrtspsocket
Displays debug output for the RTSP client socket data.
debugvoipccapierror
Traces error logs in the CCAPI.
debugvoipccapiinout
Traces the execution path through the CCAPI.
debugvoipivrall
Displays all IVR messages.
debugvoipivrapplib
Displays IVR API libraries being processed.
debugvoipivrcallsetup
Displays IVR call setup being processed.
debugvoipivrdigitcollect
Displays IVR digits collected during the call.
debugvoipivrdynamic
Displays IVR dynamic prompt play debug.
debugvoipivrerror
Displays IVR errors.
debugvoipivrscript
Displays IVR script debug.
debugvoipivrsettlement
Displays IVR settlement activities.
debugvoipivrstates
Displays IVR states.
debugvoipivrtclcommands
Displays the TCL commands used in the script.
debugvoiprawmsg
Displays the raw VoIP message.
debugvtspall
Enables
debugvtspsession,
debugvtsperror, and
debugvtspdsp.
debugvtspdsp
Displays messages from the DSP.
debugvtsperror
Displays processing errors in the VTSP.
debugvtspevent
Displays the state of the gateway and the call events.
debugvtspport
Limits VTSP debug output to a specific voice port.
debugvtsprtp
Displays the voice telephony RTP packet debugging.
debugvtspsend-nse
Triggers the VTSP software module to send a triple redundant NSE.
debugvtspsession
Traces how the router interacts with the DSP.
debugvtspstats
Debugs periodic statistical information sent and received from the DSP
debugvtspvofrsubframe
Displays the first 10 bytes of selected VoFR subframes for the interface.
debugvtsptone
Displays the types of tones generated by the VoIP gateway.
voice call disc-pi-off
To enable the gateway to treat a disconnect message with progress indicator (PI) like a standard disconnect without a PI, use the voicecalldisc-pi-offcommand in global configuration mode. To reset to the default, use the no form of this command.
voicecalldisc-pi-off
novoicecalldisc-pi-off
Syntax Description
This command has no keywords or arguments.
Command Default
Gateway disconnects incoming call leg when it receives a disconnect message with PI.
Command Modes
Global configuration
Command History
Release
Modification
12.3(5)
This command was introduced.
12.3(7)T
This command was integrated into Cisco IOS Release 12.3(7)T.
Usage Guidelines
Use this command if the gateway is connected to a switch that sends a release immediately after it receives a Disconnect with PI. To properly handle the call, the switch should open a backward voice path and keep the call active. Otherwise the rotary dial peer feature does not work because the incoming call leg is disconnected. Using this command enables the gateway to handle a disconnect with PI like a regular disconnect message so that you can use the rotary dial peer feature.
Examples
The following example enables the gateway to properly handle a disconnect with PI:
voice call disc-pi-off
Related Commands
Command
Description
disc_pi_off
Enables an H.323 gateway to disconnect a call when it receives a disconnect message with a PI.
voice call convert-discpi-to-prog
Converts a disconnect message with a PI to a progress message.
voice call rate monitor
To enable voice call rate monitoring, use the
voice call rate monitor command in voice service configuration mode. To disable voice call monitoring, use the
no form of this command.
voice call rate monitor
no voice call rate monitor
Syntax Description
This command has no arguments or keywords.
Command Default
Voice call monitoring is disabled.
Command Modes
Voice service configuration (conf-voi-serv)
Command History
Release
Modification
15.2(2)T
This command was introduced.
Usage Guidelines
You can use the
voice call rate monitor command to enable the call monitoring functionality for a duration of 60 seconds.
Examples
The following example shows how to enable voice call rate monitoring on a Cisco Unified Border Element (Cisco UBE):
Router# configure terminal
Router(config)# voice service voip
Router(conf-voi-serv)# voice call rate monitor
Related Commands
Command
Description
show voice call rate
Displays the voice call rate information.
voice call send-alert
To enable the terminating gateway to send an alert message instead of a progress message after it receives a call setup message, use the voicecallsend-alertcommandinglobal configuration mode. To reset to the default, use the no form of this command.
voicecallsend-alert
novoicecallsend-alert
Syntax Description
This command has no arguments or keywords.
Command Default
The terminating gateway sends a progress message after it receives a call Setup message.
Command Modes
Global configuration
Command History
Release
Modification
12.1(3)XI4
This command was introduced.
12.1(5)T
This command was not supported in this release.
12.1(5.3)T
This command was integrated into Cisco IOS Release 12.1(5.3)T.
12.2(1)
This command was integrated into Cisco IOS Release 12.2.
Usage Guidelines
In Cisco IOS Release 12.1(3)XI and later, the terminating gateway sends a Progress message with a progress indicator (PI) after it receives a Setup message. Previously, the gateway responded with an Alert message after receiving a call. In some cases, if the terminating switch does not forward the progress message to the originating gateway, the originating gateway does not cut-through the voice path until a Connect is received and the caller does not hear a ringback tone. In these cases, you can use the voicecallsend-alertcommand to make the gateway backward compatible with releases earlier than Cisco IOS Release 12.1(3)XI. If you configure the voicecallsend-alertcommand, the terminating gateway sends an Alert message after it receives a Setup message from the originating gateway.
To complete calls from a PRI to an FXS interface, configure the voicecallsend-alertcommand on the FXS device.
Examples
The following example configures the gateway to send an Alert message:
voice call send-alert
Related Commands
Command
Description
progress_ind
Sets a specific PI in call Setup, Progress, or Connect messages from an H.323 VoIP gateway.
voice call trap deviation
To configure the percentage deviation for voice call trap parameters, use the voicecalltrapdeviation command in global configuration mode. To disable the configured percentage deviation, use the no form of this command.
voicecalltrapdeviationpercent [vad]
novoicecalltrapdeviationpercent [vad]
Syntax Description
percent
The percentage deviation for trapping calls. The range of acceptable values is 1 to 100. The default is 49.
vad
(Optional) Specifies the deviation for calls with voice activity detection (VAD) turned on.
Command Default
This command is enabled by default, and the deviation for trapping calls is set to 49 percent.
Command Modes
Global configuration (config)
Command History
Release
Modification
12.4(12)
This command was introduced in a release earlier than Cisco IOS Release 12.4(12).
15.0(1)M
The no form of this command was modified.
Usage Guidelines
Prior to Release 15.0(1)M, if a non-default percent
value was configured, it could be disabled by entering the novoicecalltrapdeviationpercentcommand, even if the percent
value was not the configured value. For example, if the voicecalltrapdeviation30 command was configured, the novoicecalltrapdeviation40command disabled the initial command.
Beginning in Release 15.0(1)M, the percent
value in the no form of the command must match the configured non-default value. For example, if the voicecalltrapdeviation30 command is configured, the only way to disable it is to enter the novoicecalltrapdeviation30command. If the novoicecalltrapdeviation40 command is entered, the command-line interface displays this message: "Please enter correct deviation."
Examples
The following example shows how to set the deviation value for trapping calls to 30 percent:
Router(config)# voice call trap deviation 30 vad
voice call trigger hwm
To set the value for high water mark in the available capacity in the trunk group or prefix databases, use the voice call trigger hwm command in global configuration mode. To disable the trigger point, use the no form of this command.
Value can be 50 to 100 percent with a default of 80. If set to 100, this trigger will be turned off.
Command Default
80 percent
Command Modes
Global configuration
Command History
Release
Modification
12.3(1)
This command was introduced.
Usage Guidelines
Available circuits are reported when the value of AC goes above a threshold, called the high water mark. This can be configured with the voice call trigger hwm command. When the hwm option is selected and the value is set to 100, no update is sent due to high water mark.
Examples
The following example sets the trigger for available capacity on trunk groups to send at a high water mark of 75%:
Sets the values for the minimum interval between reporting (MIR) and smoothing transition time for weight (STW).
voicecallcapacityreporting
Turns on the reporting of maxima (first derivative) or inflection (second derivative) points in available capacity.
voicecallcapacitytimerinterval
Sets the periodic interval for reporting capacity from carrier, trunk group, or prefix databases
voicecalltriggerlwm
Sets the value for low water mark in the available capacity for carrier, trunk group, or prefix databases
voicecalltriggerpercent-change
Sets the value for percentage change in the available capacity for carrier, trunk group, or prefix databases
voice call trigger lwm
To set the value for low water mark in the available capacity in the trunk group or prefix databases, use the voice call trigger lwm command in global configuration mode. To disable the trigger point, use the no form of this command.
Value can be 0 to 30 percent with a default of 10. If set to 0, this trigger will be turned off.
Command Default
10 percent
Command Modes
Global configuration
Command History
Release
Modification
12.3(1)
This command was introduced.
Usage Guidelines
Available circuits are reported when the value of AC falls below a threshold, called the low water mark. When the lwm option is selected and the value is set to 0, no update is sent due to low water mark.
Examples
The following example sets the trigger for available capacity for E.164 prefixes to send at a low water mark of 25%:
Router(config)# voice call prefix trigger lwm 25
Related Commands
Command
Description
voicecallcapacitymir
Sets the values for the minimum interval between reporting (MIR) and smoothing transition time for weight (STW).
voicecallcapacityreporting
Turns on the reporting of maxima (first derivative) or inflection (second derivative) points in available capacity.
voicecallcapacitytimerinterval
Sets the periodic interval for reporting capacity from carrier, trunk group, or prefix databases.
voicecalltriggerhwm
Sets the value for high water mark in the available capacity for carrier, trunk group, or prefix databases.
voicecalltriggerpercent-change
Sets the value for percentage change in the available capacity for carrier, trunk group, or prefix databases.
voice call trigger percent-change
To set the value for percentage change, low water mark and high water mark in the available capacity in the trunk group or prefix databases, use the voice call trigger command in global configuration mode. To disable the trigger point, use the no form of this command.
If percent-change is selected, value can be 0 to 100 percent with a default of 30. If set to 0, this trigger will be turned off.
If lwm is selected, value can be 0 to 30 percent with a default of 10. If set to 0, this trigger will be turned off.
If hwm is select, value can be 50 to 100 percent with a default of 80. If set to 100, this trigger will be turned off.
Command Default
30 percent
Command Modes
Global configuration
Command History
Release
Modification
12.3(1)
This command was introduced.
Usage Guidelines
Available circuits are reported when the absolute percent change is above a threshold. When the percent-change option is selected and the value is set to 0, no update for percent change is sent
Examples
The following example sets the trigger for available capacity on the carrier codes to send at a percentage change of 15%:
Sets the values for the minimum interval between reporting (MIR) and smoothing transition time for weight (STW).
voicecallcapacityreporting
Turns on the reporting of maxima (first derivative) or inflection (second derivative) points in available capacity.
voicecallcapacitytimerinterval
Sets the periodic interval for reporting capacity from carrier, trunk group, or prefix databases
voicecalltriggerhwm
Sets the value for high water mark in the available capacity for carrier, trunk group, or prefix databases
voicecalltriggerlwm
Sets the value for low water mark in the available capacity for carrier, trunk group, or prefix databases
voice-card
To enter voice-card configuration mode and configure a voice card, use the
voice-card command in global configuration mode. There is no
no form of this command.
voice-cardslot
Syntax Description
slot
Slot number for the card to be configured. The following platform-specific numbering schemes apply:
Cisco 2600 series and Cisco 2600XM:
0 is the Advanced Integration Module (AIM) slot in the router chassis.
1 is the network module slot in the router chassis.
Cisco 3600 series:
A value from 1 to 6 identifies a network module slot in the router chassis.
Cisco 3660:
7 is AIM slot 0 in the router chassis.
8 is AIM slot 1.
Command Default
No default behavior or values
Command Modes
Global configuration
Command History
Release
Modification
12.0(5)XK
The command was introduced on the Cisco 2600 series and Cisco 3600 series.
12.0(7)T
This command was integrated into Cisco IOS Release 12.0(7)T.
12.0(7)XK
This command was implemented on the Cisco MC3810.
12.1(2)T
This command was integrated into Cisco IOS Release 12.1(2)T.
12.2(2)XB
Values for the
slot argument were updated to include AIMs.
12.2(8)T
This command was integrated into Cisco IOS Release 12.2(8)T.
12.2(13)T
This command was supported in Cisco IOS Release 12.2(13)T and implemented on the Cisco 1700 series, Cisco 2600XM, Cisco 3700 series, Cisco 7200 series, Cisco 7500 series, Cisco ICS7750, Cisco MC3810, and Cisco VG200.
12.2(15)T
This command was integrated into Cisco IOS Release 12.2(15)T.
Usage Guidelines
Voice-card configuration mode is used for commands that configure the use of digital signal processing (DSP) resources, such as codec complexity and DSPs. DSP resources can be found in digital T1/E1 packet voice trunk network modules on Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series.
Codec complexity is configured in voice-card configuration mode and has the following platform-specific usage guidelines:
On Cisco 2600 series, Cisco 2600XM, Cisco 3660, Cisco 3725, and Cisco 3745, the
slot argument corresponds to the physical chassis slot of the network module that has DSP resources to be configured.
DSP resource sharing is also configured in voice-card configuration mode. On the Cisco 2600 series, Cisco 2600XM, Cisco 3660, Cisco 3725, and Cisco 3745 under specific circumstances, configuration of the
dspfarm command enters DSP resources on a network module or AIM into a DSP resource pool. Those DSP resources are then available to process voice traffic on a different network module or voice/WAN interface card (VWIC). See the dspfarm (voice-card) command reference for more information about DSP resource sharing.
Note
When running high-complexity images, the system can only process up to 16 voice channels. Those 16 time slots need to be within a contiguous range (timeslot maximum (TSmax) minus timeslot minimum (TSmin) is less than or equal to 16, where TSmax and TSmin are the maximum DS0 and minimum DS0 configured for voice).
This command does not have a no form.
Examples
The following example enters voice-card configuration mode to configure resources on the network module in slot 1:
voice-card 1
The following example shows how to enter voice-card configuration mode and load high-complexity DSP firmware on voice-card 0. The dspfarm command enters the DSP resources on the AIM specified in the
voice-card command into the DSP resource pool.
voice-card 0
codec complexity high
dspfarm
Related Commands
Command
Description
codeccomplexity
Matches the DSP complexity packaging to the codecs to be supported.
dspfarm(voice-card)
Adds the specified voice card to those participating in a DSP resource pool.
voice cause-code
To set the internal Q850 cause code mapping for voice and to enter voice cause configuration mode, use the voicecause-codecommand in global configuration mode. To disable the internal Q850 cause code mapping for voice, use the no form of this command.
voicecause-code
novoicecause-code
Syntax Description
This command has no arguments or keywords.
Command Default
Internal Q850 cause code mapping for voice is disabled.
Command Modes
Global configuration (config)
Command History
Release
Modification
15.0(1)M
This command was introduced in a release earlier than Cisco IOS Release 15.0(1)M.
Examples
The following example shows how to set the cause code mapping for voice:
Assigns an identification tag number for a codec voice class.
voice class aaa
To enable dial-peer-based VoIP AAA configurations, use the voiceclassaaa command in global configuration mode. To disable dial-peer-based VoIP AAA configurations, use the no form of this command.
voiceclassaaatag
novoiceclassaaatag
Syntax Description
tag
A number used to identify voice class AAA. The range is from 1 to 10000. There is no default value.
Command Default
No default behaviors or values
Command Modes
Global configuration
Command History
Release
Modification
12.2(11)T
This command was introduced on the Cisco 3660, Cisco AS5300, Cisco AS5350, Cisco AS5400, Cisco AS5800, and Cisco AS5850.
Usage Guidelines
The voiceclassaaa configuration command sets up a voice service class that allows you to perform dial-peer-based AAA configurations.
The command activates voice class AAA configuration mode. Commands that are configured in voice class AAA configuration mode are listed in the "Related Commands" section.
Examples
The following example shows AAA configurations in voice class AAA configuration mode. The number assigned to the tag is 1.
Disables accounting that is automatically generated by the service provider module for a specific dial peer.
authenticationmethod
Specifies an authentication method for calls coming into the defined dial peer.
authorizationmethod
Specifies an authorization method for calls coming into the defined dial peer.
method
Specifies an accounting method for calls coming into the defined dial peer.
voice-classaaa
Applies properties defined in the voice class to a specific dial peer.
voice class busyout
To create a voice class for local voice busyout functions, use the voiceclassbusyoutcommandinglobal
configuration mode. To delete the voice class, use the no form of this command.
voiceclassbusyouttag
novoiceclassbusyouttag
Syntax Description
tag
Unique identification number assigned to one voice class. Range is 1 to 10000.
Command Default
No voice class is configured for busyout functions.
Command Modes
Global configuration
Command History
Release
Modification
12.1(3)T
This command was introduced on the Cisco 2600 series, Cisco 3600 series, and Cisco MC3810.
Usage Guidelines
You can apply a busyout voice class to multiple voice ports. You can assign only one busyout voice class to a voice port. If a second busyout voice class is assigned to a voice port, the second voice class replaces the one previously assigned.
If you assign a busyout voice class to a voice port, you may not assign separate busyout commands directly to the voice port, such as busyoutmonitorserial, busyoutmonitorethernet, or busyoutmonitorprobe.
Examples
The following example configures busyout voice class 20, in which the connections to two remote interfaces are monitored by a response time reporter (RTR) probe with a G.711ulaw profile, and voice ports are busied out whenever both links have a packet loss exceeding 10 percent and a packet delay time exceeding 2 seconds:
voice class busyout 20
busyout monitor probe 171.165.202.128 g711u loss 10 delay 2000
busyout monitor probe 171.165.202.129 g711u loss 10 delay 2000
The following example configures busyout voice class 30, in which voice ports are busied out when serial ports 0/0, 1/0, 2/0, and 3/0 go out of service.
voice class busyout 30
busyout monitor serial 0/0
busyout monitor serial 1/0
busyout monitor serial 2/0
busyout monitor serial 3/0
Related Commands
Command
Description
busyoutmonitorethernet
Configures a voice port to monitor a local Ethernet interface for events that would trigger a voice-port busyout.
busyoutmonitorprobe
Configures a voice port to enter the busyout state if an RTR probe signal returned from a remote, IP-addressable interface crosses a specified delay or loss threshold.
busyoutmonitorserial
Configures a voice port to monitor a serial interface for events that would trigger a voice-port busyout.
showvoicebusyout
Displays information about the voice busyout state.
voice class called number
To define a voice class called number or range of numbers, use the voiceclasscallednumbercommand in global configuration mode. To remove a voice class called number, use the no form of this command.
voiceclasscallednumber
{ inbound | outbound | pool }
tag
novoiceclasscallednumber
Syntax Description
inbound
Inbound voice class called number.
outbound
Outbound voice class called number.
pool
Voice class called number pool.
tag
Digits that identify a specific inbound or outbound voice class called number or voice class called number pool.
Command Default
No voice class called number is configured.
Command Modes
Global configuration
Command History
Release
Modification
12.4(11)T
This command was introduced.
Usage Guidelines
Use this command to define one or more static voice class called numbers for inbound and outbound POTS dial peers or a dynamic voice class called number pool. The indexes for a voice class called number are defined with the index (voice class) command.
Note
Enter the voiceclasscallednumber command in global configuration mode without hyphens. Enter the voice-classcalled-number command in dial-peer configuration mode with hyphens.
Examples
The following example shows configuration for an outbound voice class called number:
voice class called number outbound 30
index 1 5550100
index 2 5550101
index 3 5550102
index 4 5550103
The following example shows configuration for a voice class called number pool:
voice class called number pool 1
index 1 5550100 - 5550199
Related Commands
Command
Description
showvoiceclasscalled-number
Displays a specific voice class called number.
voice-classcalled-number(dial-peer)
Assigns a previously defined voice class called number to an inbound or outbound POTS dial peer.
voice class cause-code
To configure cause code list parameters for a voice class and to enter cause code configuration mode, use the voiceclasscause-codecommand in global configuration mode. To disable the cause code list parameters configuration for a voice class, use the no form of this command.
voiceclasscause-codenumber
novoiceclasscause-codenumber
Syntax Description
number
Numeric tag that specifies the voice class cause code. The range is from 1 to 64.
Command Default
The cause code list parameters are not defined.
Command Modes
Global configuration (config)
Command History
Release
Modification
15.0(1)M
This command was introduced in a release earlier than Cisco IOS Release 15.0(1)M.
Examples
The following example shows how to configure cause code list parameters for voice class 5:
Router> enable
Router# configure terminal
Router(config)# voice class cause-code 5
Related Commands
Command
Description
voiceclasscodec
Assigns an identification tag number for a codec voice class.
voice class codec
To enter voice-class configuration mode and assign an identification tag number for a codec voice class, use the voice class codec command in global configuration mode. To delete a codec voice class, use the no form of this command.
voiceclasscodectag
novoiceclasscodectag
Syntax Description
tag
Unique number that you assign to the voice class. Range is from 1 to 10000. There is no default.
Command Default
No default behavior or values
Command Modes
Global configuration
Command History
Release
Modification
12.0(2)XH
This command was introduced on the Cisco AS5300.
12.0(7)T
This command was implemented on the Cisco 2600 series and Cisco 3600 series.
12.0(7)XK
This command was implemented on the Cisco MC3810.
12.1(2)T
This command was integrated into Cisco IOS Release 12.1(2)T.
Usage Guidelines
This command only creates the voice class for codec selection preference and assigns an identification tag. Use the codecpreference command to specify the parameters of the voice class, and use the voice-classcodec dial-peer command to apply the voice class to a VoIP dial peer.
Note
The voiceclasscodeccommand in global configuration mode is entered without a hyphen. The voice-classcodeccommand in dial-peer configuration mode is entered with a hyphen.
Examples
The following example shows how to enter voice-class configuration mode and assign a voice class tag number starting from global configuration mode:
voice class codec 10
After you enter voice-class configuration mode for codecs, use the codecpreference command to specify the parameters of the voice class.
The following example creates preference list 99, which can be applied to any dial peer:
Specifies a list of preferred codecs to use on a dial peer.
testvoiceportdetector
Defines the order of preference in which network dial peers select codecs.
voice-classcodec(dialpeer)
Assigns a previously configured codec selection preference list to a dial peer.
voice class custom-cptone
To create a voice class for defining custom call-progress tones to be detected, use the voiceclasscustom-cptonecommandinglobal
configuration mode. To delete the voice class, use the no form of this command.
voiceclasscustom-cptonecptone-name
novoiceclasscustom-cptonecptone-name
Syntax Description
cptone-name
Descriptive identifier for this class of custom call-progress tones that associates this set of custom call-progress tones with voice ports.
Command Default
No voice class of custom call-progress tones is created.
Command Modes
Global configuration
Command History
Release
Modification
12.1(5)XM
This command was introduced on the Cisco 2600, Cisco 3600, and Cisco MC3810 platforms.
12.2(2)T
This command was implemented on Cisco 1750 access routers and integrated into Cisco IOS Release 12.2(2)T.
Usage Guidelines
After you create a voice class, you need to define custom call-progress tones for this voice class using the dualtone command.
Examples
The following example creates a voice class named country-x.
voice class custom-cptone country-x
The following example deletes the voice class named country-x.
no voice class custom-cptone country-x
Related Commands
Command
Description
dualtone
Defines the tone and cadence for a custom call-progress tone.
supervisorycustom-cptone
Associates a class of custom call-progress tones with a voice port.
voiceclassdualtone-detect-params
Modifies the boundaries and limits for call-progress tones.
voice class dscp-profile
To configure the differentiated services code point (DSCP) profile, use the
voice class dscp-profile command in global configuration mode. To disable the configuration, use the
no form of this command.
voice class dscp-profile tag
no voice class dscp-profile tag
Syntax Description
tag
Voice class DSCP tag. The range is from 1 to 10000.
Command Default
A DSCP profile is not configured.
Command Modes
Global configuration (config)
Command History
Release
Modification
15.2(2)T
This command was introduced.
Usage Guidelines
You can use the
voice class dscp-profile command to configure the DSCP profile and then configure DSCP policing and enter voice class configuration mode.
Examples
The following example shows how to configure a DSCP profile and enter voice class configuration mode:
Router> enable
Router# configure terminal
Router(config)# voice class dscp-profile 1
Router(config-class)# end
Related Commands
Command
Description
dscp media
Specifies the RPH to DSCP mapping.
voice class dualtone
To create a voice class for Foreign Exchange Office (FXO) supervisory disconnect tone detection parameters, use the voiceclassdualtonecommand in global
configuration mode. To delete the voice class, use the no form of this command.
voiceclassdualtonetag
novoiceclassdualtonetag
Syntax Description
tag
Unique identification number assigned to one voice class. Range is from 1 to 10000.
Command Default
No voice class is configured for tone detection parameters.
Command Modes
Global configuration
Command History
Release
Modification
12.1(3)T
This command was introduced on the Cisco 2600 series, Cisco 3600 series, and the Cisco MC3810.
Usage Guidelines
Use this command first to create the voice class. Then use the supervisorydisconnectdualtonevoice-classcommand to assign the voice class to a voice port.
A voice class can define any number of tones to be detected. You need to define a matching tone for each supervisory disconnect tone expected from a PBX or from the public switched telephone network (PSTN).
Examples
The following example configures voice class dualtone 70, which defines one tone with two frequency components, and does not configure a cadence list:
The following example configures voice class dualtone 90, which defines three tones, each with two frequency components, and configures two cadence lists:
Assigns a previously configured voice class for FXO supervisory disconnect tone to a voice port.
voice class dualtone-detect-params
To create a voice class for defining a set of tolerance limits for the frequency, power, and cadence parameters of the tones to be detected, use the voiceclassdualtone-detect-paramscommandinglobal
configuration mode. To delete the voice class, use the no form of this command.
voiceclassdualtone-detect-paramstag
novoiceclassdualtone-detect-paramstag
Syntax Description
tag
Unique tag identification number assigned to a voice class. Range is from 1 to 10000.
Command Default
No voice class is configured for defining answer-supervision tolerance limits.
Command Modes
Global configuration
Command History
Release
Modification
12.1(5)XM
This command was introduced on the Cisco 2600 series, Cisco 3600 series, and Cisco MC3810.
12.2(2)T
This command was implemented on Cisco 1750 routers and integrated into Cisco IOS Release 12.2(2)T.
Usage Guidelines
Use this command to create a voice class in which you can define maximum and minimum call-progress tone tolerance parameters that you can apply to any voice port. These parameters further define the call-progress tones defined by the voiceclasscustom-cptone command. Use the supervisorydualtone-detect-paramscommand to apply these tolerance parameters to a voice port.
Examples
The following example creates voice class 70, in which you can specify modified boundaries and limits for call-progress tone detection.
Assigns the boundary and detection tolerance parameters defined by thevoiceclassdualtone-detect-paramscommand to a voice port.
voiceclasscustom-cptone
Creates a voice class for defining custom call-progress tones.
voice class e164-pattern-map
To create an E.164 pattern map that specifies multiple destination E.164 patterns in a dial peer, use the
voice class e164-pattern map command in global configuration mode. To remove an E.164 pattern map from a dial peer, use the
no form of this command.
voice class e164-pattern-map
tag
no voice class e164-pattern-map
Syntax Description
tag
A number assigned to a voice class E.164 pattern map. The range is from 1 to 10000.
Command Modes
Global configuration (config)
Command History
Release
Modification
15.2(4)M
This command was introduced.
Examples
The following example shows how to create an E.164 pattern map that specifies multiple destination E.164 patterns in a dial peer:
Device(config)# voice class e164-pattern-map 2543
Related Commands
Command
Description
show voice class e164-pattern-map
Displays the configuration of E.164 pattern maps.
voice class e164-pattern-map load
Loads a destination E.164 pattern map that is specified by a text file on a dial peer.
voice class e164-pattern-map load
To load a destination E.164 pattern map that is specified by a text file on a dial peer, use the
voice class e164-pattern-map load command in privileged EXEC mode.
voice class e164-pattern-map load
tag
Syntax Description
tag
A number that is assigned to the destination E.164 pattern map. The range is from 1 to 10000.
Command Default
No default behavior or values.
Command Modes
Privileged EXEC (#)
Command History
Release
Modification
15.2(4)M
This command was introduced.
Usage Guidelines
After creating an E.164 pattern map, you can add destination E.164 pattern entries to the E.164 pattern map and store all the information on the voice gateway or create the E.164 pattern entries in a text file and store the file on the internally or externally supported file system.
Examples
The following example shows how to reload a particular destination E.164 pattern map on a dial peer:
Device# voice class e164-pattern-map load 2543
Related Commands
Command
Description
show voice class e164-pattern-map
Displays the configuration of E.164 pattern maps.
voice class e164-pattern-map
Creates an E.164 pattern map to specify multiple destination E.164 patterns in a dial peer.
voice class h323
To create an H.323 voice class that is independent of a dial peer and can be used on multiple dial peers, use the voice class h323 command in global configuration mode. To remove the voice class, use the no form of this command.
voiceclassh323tag
novoiceclassh323
Syntax Description
tag
Unique number to identify the voice class. Range is from 1 to 10000. There is no default value.
Command Default
No default behavior or values
Command Modes
Global configuration
Command History
Release
Modification
12.1(2)T
This command was introduced on the Cisco 1700, Cisco 2600 series, Cisco 3600 series, Cisco 7200 series, Cisco AS5300, Cisco uBR910, and Cisco uBR924.
Usage Guidelines
The voiceclassh323 command in global configuration mode does not include a hyphen. The voice-classh323 command in dial-peer configuration mode includes a hyphen.
Examples
The following example demonstrates how a voice class is created and applied to an individual dial peer. Voice class 4 contains a command to disable the capability to detect Cisco CallManager systems in the network (this command is used by Cisco CallManager Express 3.1 and later versions). The example then uses the voice-classh323command to apply voice class 4 to dial peer 36.
Router(config)# voice class h323 4
Router(config-class)# no telephony-service ccm-compatible
Router(config-class)# exit
Router(config)# dial-peer voice 36 voip
Router(config-dial-peer)# destination-pattern 555....
Router(config-dial-peer)# session target ipv4:10.5.6.7
Router(config-dial-peer)# voice-class h323 4
Related Commands
Command
Description
voice-classh323
Assigns an H.323 voice class to a VoIP dial peer.
voice class media
To configure the media control parameters for voice, use the voiceclassmediacommand in global configuration mode. To disable the media control parameters for voice, use the no form of this command.
voiceclassmedianumber
novoiceclassmedianumber
Syntax Description
number
Numeric tag that specifies the voice class media. The range is from 1 to 10000.
Command Default
The media control parameters for voice are not configured.
Command Modes
Global configuration (config)
Command History
Release
Modification
15.0(1)M
This command was introduced in a release earlier than Cisco IOS Release 15.0(1)M.
Examples
The following example shows how to configure media control parameters for voice:
Router> enable
Router# configure terminal
Router(config)# voice class media 5
Related Commands
Command
Description
voiceclasscodec
Assigns an identification tag number for a codec voice class.
voice class permanent
To create a voice class for a Cisco trunk or FRF.11 trunk, use the voiceclasspermanent command in global configuration mode. To delete the voice class, use the no form of this command.
voiceclasspermanenttag
novoiceclasspermanenttag
Syntax Description
tag
Unique number that you assign to the voice class. Range is from 1 to 10000.
Command Default
No voice class is configured.
Command Modes
Global configuration
Command History
Release
Modification
12.0(3)XG
This command was introduced on the Cisco MC3810.
12.0(4)T
This command was integrated into Cisco IOS Release 12.0(4)T.
12.1(3)T
This command was implemented on Cisco 2600 series and Cisco 3600 series.
Usage Guidelines
The voiceclasspermanent command can be used for Voice over Frame Relay (VoFR), Voice over ATM (VoATM), and Voice over IP (VoIP) trunks.
Thevoiceclasspermanentcommand in global configuration mode is entered without a hyphen. The voice-classpermanentcommand in dial-peer and voice-port configuration modes is entered with a hyphen.
Examples
The following example shows how to create a permanent voice class starting from global configuration mode:
voice class permanent 10
signal keepalive 3
exit
Related Commands
Command
Description
signalkeepalive
Configures the keepalive signaling packet interval for Cisco trunks and FRF.11 trunks.
signalpattern
Configures the ABCD bit pattern for Cisco trunks and FRF.11 trunks.
signaltimingidlesuppress-voice
Configures the signal timing parameter for the idle state of a call.
signaltimingoos
Configures the signal timing parameter for the OOS state of a call.
signal-type
Sets the signaling type for a network dial peer.
voice-classpermanent
Assigns a previously configured voice class for a Cisco trunk or FRF.11 trunk to a network dial peer.
voice class resource-group
To enter voice-class configuration mode and assign an identification tag number for a resource group, use the voiceclassresource-groupcommand in global configuration mode. To delete a resource group, use the no form of this command.
voiceclassresource-grouptag
novoiceclassresource-grouptag
Syntax Description
tag
Unique tag to identify the resource. The range is from 1 to 5.
Command Default
No resource groups are created.
Command Modes
Global configuration (config)
Command History
Release
Modification
15.1(2)T
This command was introduced.
Usage Guidelines
Use the voiceclassresource-group command to configure parameters along with the threshold values to be monitored for resource groups. When you use the voiceclassresource-group command, the router enters voice-class configuration mode. You can then group the resources to be monitored and configure parameters such as .
Examples
The following example shows how to enter voice-class configuration mode and assign identification tag number 5 for a resource group:
Router> enable
Router# configure terminal
Router(config)# voice class resource-group 5
Related Commands
Command
Description
debugrai
Enables debugging for Resource Allocation Indication (RAI).
periodic-reportinterval
Configures periodic reporting parameters for gateway resource entities.
raitarget
Configures the SIP RAI mechanism.
resource(voice)
Configures parameters for monitoring resources.
showvoiceclassresource-group
Displays the resource group configuration information for a specific resource group or all resource groups.
voice class sip-copylist
To configure a list of entities to be sent to the peer call leg, use the voiceclasssip-copylist command in global configuration mode. To disable the configuration, use the no form of this command.
voiceclasssip-copylisttag
novoiceclasssip-copylisttag
Syntax Description
tag
Voice class Session Initiation Protocol (SIP) copylist tag. The range is from 1 to 10000.
Command Default
No header is sent to the peer call leg.
Command Modes
Global configuration (config)
Command History
Release
Modification
15.1(3)T
This command was introduced.
Usage Guidelines
Use the voiceclasssip-copylist command to configure Cisco Unified Border Element (UBE) to pass an unsupported parameter present in a mandatory header from one call leg to another of Cisco UBE. You can copy the inbound message headers into variables and pass the headers to the outbound call leg.
Examples
The following example shows how to configure a SIP list to be sent to the peer call leg:
Router(config)# voice class sip-copylist 5
Related Commands
Command
Description
sip-header
Specifies the SIP header to be sent to the peer call leg.
voice class sip-profiles
To configure Session Initiation Protocol (SIP) profiles for a voice class, use the voiceclasssip-profilescommand in global configuration mode. To disable the SIP profiles for a voice class, use the no form of this command.
voiceclasssip-profilesnumber
novoiceclasssip-profilesnumber
Syntax Description
number
Numeric tag that specifies the voice class SIP profile. The range is from 1 to 10000.
Command Default
SIP profiles for a voice class are not configured.
Command Modes
Global configuration (config)
Command History
Release
Modification
15.0(1)M
This command was introduced in a release earlier than Cisco IOS Release 15.0(1)M.
Examples
The following example shows to specify SIP profile 2 for a voice class:
Router> enable
Router# configure terminal
Router(config)# voice class sip-profiles 2
Related Commands
Command
Description
voiceclasscodec
Assigns an identification tag number for a codec voice class.
voice class tone-signal
To enter voice-class configuration mode and create a tone-signal voice class, use the voiceclasstone-signal command in global configuration mode. To delete a tone-signal voice class, use the no form of this command.
voiceclasstone-signaltag
novoiceclasstone-signaltag
Syntax Description
tag
Label that uniquely identifies the voice class. Can be up to 32 alphanumeric characters.
Command Default
No default behavior or values
Command Modes
Global configuration
Command History
Release
Modification
12.3(4)XD
This command was introduced.
12.3(7)T
This command was integrated into Cisco IOS Release 12.3(7)T.
Usage Guidelines
Use the voiceclasstone-signal command to define wakeup, frequency selection, and guard tones to be played out before and during the voice packets for a specific voice port. Use the injectguard-tone, injectpause, and injecttone commands to define the tone signaling in this class. You can configure up to ten tones in a tone-signal voice class.
To avoid voice loss at the receiving end of an LMR system, the maximum of the sum of the durations of the injected tones and pauses in the voice class should not exceed 1500 milliseconds. You must also use the timingdelay-voicetdm command to configure a delay for the voice packet equal to the sum of the durations of all the injected tones and pauses.
Note that the hyphenation in this command differs from the hyphenation used in a similar command, voice-classtone-signal, which is used in voice-port configuration mode.
Examples
The following example shows how to create a tone-signal voice class starting from global configuration mode:
voice class tone-signal mytones
inject tone 1 1950 3 150
inject tone 2 2000 0 60
inject pause 3 60
inject tone 4 2175 3 150
inject tone 5 1000 0 50
Related Commands
Command
Description
injectguard-tone
Plays out a guard tone with the voice packet.
injectpause
Specifies a pause between injected tones.
injecttone
Specifies a wakeup or frequency selection tone to be played out before the voice packet.
timingdelay-voicetdm
Specifies the delay before a voice packet is played out.
voice-classtone-signal
Assigns a previously configured tone-signal voice class to a voice port.
voice class uri
To create or modify a voice class for matching dial peers to a Session Initiation Protocol (SIP) or telephone (TEL) uniform resource identifier (URI), use the voiceclassuricommand in global configuration mode. To remove the voice class, use the no form of this command.
voiceclassuritag
{ sip | tel }
novoiceclassuritag
Syntax Description
tag
Label that uniquely identifies the voice class. Can be up to 32 alphanumeric characters.
sip
Voice class for SIP URIs.
tel
Voice class for TEL URIs.
Command Default
No default behavior or values
Command Modes
Global configuration
Command History
Release
Modification
12.3(4)T
This command was introduced.
Usage Guidelines
This command takes you to voice URI class configuration mode, where you configure the match characteristics for a URI. The commands that you enter in this mode define the set of rules by which the URI in a call is matched to a dial peer.
To reference this voice class for incoming calls, use the incominguri command in the inbound dial peer. To reference this voice class for outgoing calls, use the destinationuri command in the outbound dial peer.
Using the novoiceclassuri command removes the voice class from any dial peer where it is configured with the destinationuri or incominguri commands.
Examples
The following example defines a voice class for SIP URIs:
voice class uri r100 sip
user-id abc123
host server1
phone context 408
The following example defines a voice class for TEL URIs:
voice class uri r101 tel
phone number ^408
phone context 408
Related Commands
Command
Description
debugvoiceuri
Displays debugging messages related to URI voice classes.
destinationuri
Specifies the voice class used to match the dial peer to the destination URI for an outgoing call.
host
Matches a call based on the host field in a SIP URI.
incominguri
Specifies the voice class used to match a VoIP dial peer to the URI of an incoming call.
pattern
Matches a call based on the entire SIP or TEL URI.
phonecontext
Filters out URIs that do not contain a phone-context field that matches the configured pattern.
phonenumber
Matches a call based on the phone number field in a TEL URI.
showdialplanincalluri
Displays which dial peer is matched for a specific URI in an incoming call.
showdialplanuri
Displays which outbound dial peer is matched for a specific destination URI.
user-id
Matches a call based on the user-id field in the SIP URI.
voice class uri sip preference
To set the preference for selecting a voice class for Session Initiation Protocol (SIP) uniform resource identifiers (URIs), use the voiceclassurisippreferencecommand in global configuration mode. To reset to the default, use the no form of this command.
voiceclassurisippreference
{ user-id | host }
novoiceclassurisippreference
Syntax Description
user-id
User-id field is given preference.
host
Host field is given preference.
Command Default
Host field
Command Modes
Global configuration
Command History
Release
Modification
12.3(4)T
This command was introduced.
Usage Guidelines
Use this command to resolve ties when more than one voice class is matched for a SIP URI. The default is to match on the host field of the URI.
This command applies globally to all URI voice classes for SIP.
Examples
The following example defines the preference as the user-id for a SIP voice class:
voice class uri sip preference user-id
Related Commands
Command
Description
debugvoiceuri
Displays debugging messages related to URI voice classes.
destinationuri
Specifies the voice class used to match the dial peer to the destination URI for an outgoing call.
host
Matches a call based on the host field in a SIP URI.
incominguri
Specifies the voice class used to match a VoIP dial peer to the URI of an incoming call.
user-id
Matches a call based on the user-id field in the SIP URI.
showdialplanincalluri
Displays which dial peer is matched for a specific URI in an incoming call.
showdialplanuri
Displays which outbound dial peer is matched for a specific destination URI.
voiceclassuri
Creates or modifies a voice class for matching dial peers to a SIP or TEL URI.
voice-class aaa (dial peer)
To apply properties defined in the voice class to a dial peer, use the voice-classaaacommand in dial-peer configuration mode. This command does not have a no form.
voice-classaaatag
Syntax Description
tag
A number to identify the voice class. Range is from 1 to 10000. There is no default.
Command Default
No default behaviors or values
Command Modes
Dial-peer configuration
Command History
Release
Modification
12.2(11)T
This command was introduced on the Cisco 3660, Cisco AS5300, Cisco AS5350, Cisco AS5400, Cisco AS5800, and Cisco AS5850.
Usage Guidelines
Properties that are configured in voice class AAA configuration mode can be applied to a dial peer by using this command.
Examples
The following example shows redirecting AAA requests using Digital Number Identification Service (DNIS). You define a voice class to specify the AAA methods and then use this command.
To assign a previously defined voice class called number to an inbound or outbound POTS dial peer, use the voice-classcalled-numbercommand in dial peer configuration mode. To remove a voice class called number from the dial peer, use the no form of this command.
voice-classcalled-number
[ inbound | outbound ]
tag
novoice-classcalled-number
Syntax Description
inbound
Assigns an inbound voice class called number to the dial peer.
outbound
Assigns an outbound voice class called number to the dial peer.
tag
Digits that identify a specific voice class called number.
Command Default
No voice class called number is configured on the dial peer.
Command Modes
Dial peer configuration
Command History
Release
Modification
12.4(11)T
This command was introduced.
Usage Guidelines
Use this command to assign a previously defined voice class called number to a dial peer for a static H.320 secondary call dial plan. Use the inbound keyword for inbound POTS dial peers, and the outbound keyword for outbound POTS dial peers.
Note
The voiceclasscallednumber command in global configuration mode is entered without hyphens. The voice-classcalled-number command in dial peer configuration mode is entered with hyphens.
Examples
The following example shows configuration for an outbound voice class called number outbound on POTS dial peer 22:
Defines a voice class called number or range of numbers for H.320 calls.
voice-classcalled-number-pool
Defines a pool of dynamic voice class called numbers for a voice port.
voice-class called-number-pool
To assign a previously defined voice class called number pool to a voice port, use the voice-classcalled-number-pool command in voice class configuration mode. To remove a voice class called number pool from the voice port, use the no form of this command.
voice-classcalled-number-pooltag
novoice-classcalled-number-pool
Syntax Description
tag
Digits that identify a specific voice class called number pool.
Command Default
No voice class called number pool is assigned to the voice port.
Command Modes
Voice class configuration
Command History
Release
Modification
12.4(11)T
This command was introduced.
Usage Guidelines
Use this command to assign a voice class called number pool to a voice port for a dynamic H.320 secondary call dial plan.
Examples
The following example shows configuration for voice class called number pool 100 on voice port 1/0/0:
Defines a voice class called number or range of numbers for H.320 calls.
voice-classcalled-number(dialpeer)
Defines a called number or range of called numbers for a POTS dial peer.
voice-class codec (dial peer)
To assign a previously configured codec selection preference list (codec voice class) to a VoIP dial peer, enter thevoice-classcodec command in dial-peer configuration mode. To remove the codec preference assignment from the dial peer, use the no form of this command.
voice-classcodectag [offer-all]
novoice-classcodec
Syntax Description
tag
Unique number assigned to the voice class. The range is from 1 to 10000.
This tag number maps to the tag number created using the voiceclasscodeccommand available in global configuration mode.
offer-all
(Optional) Adds all the configured codecs from the voice class codec to the outgoing offer from the Cisco Unified Border Element (Cisco UBE).
Command Default
Dial peers have no codec voice class assigned.
Command Modes
Dial-peer configuration (config-dial-peer)
Command History
Release
Modification
12.0(2)XH
This command was introduced in Cisco IOS Release 12.0(2)XH and implemented on the Cisco AS5300 series routers.
12.0(7)T
This command was integrated into Cisco IOS Release 12.0(7)T and implemented on the Cisco 2600 series and the Cisco 3600 series.
12.0(7)XK
This command was integrated into Cisco IOS Release 12.0(7)XK and implemented on the Cisco MC3810.
15.1(2)T
This command was modified. The offer-all keyword was added.
Cisco IOS XE Release 2.5
This command was integrated into Cisco IOS XE Release 2.5.
Usage Guidelines
You can assign one voice class to each VoIP dial peer. If you assign another voice class to a dial peer, the last voice class assigned replaces the previous voice class.
Note
The voice-classcodeccommand in dial-peer configuration mode is entered with a hyphen. The voiceclasscodeccommand in global configuration mode is entered without a hyphen.
Examples
The following example shows how to assign a previously configured codec voice class to a dial peer:
Displays the configuration for all dial peers configured on the router.
testvoiceportdetector
Defines the order of preference in which network dial peers select codecs.
voiceclasscodec
Enters voice-class configuration mode and assigns an identification tag number for a codec voice class.
voice-class h323 (dial peer)
To assign an H.323 voice class to a VoIP dial peer, use the voice-class h323 command in dial-peer configuration mode. To remove the voice class from the dial peer, use the no form of this command.
voice-classh323tag
novoice-classh323tag
Syntax Description
tag
Unique number to identify the voice class. Range is from 1 to 10000.
Command Default
The dial peer does not use an H.323 voice class.
Command Modes
Dial-peer configuration
Command History
Release
Modification
12.1(2)T
This command was introduced.
Usage Guidelines
The voice class that you assign to the dial peer must be configured using the voice class h323 in global configuration mode.
You can assign one voice class to each VoIP dial peer. If you assign another voice class to a dial peer, the last voice class assigned replaces the previous voice class.
The voice-class h323 command in dial-peer configuration mode includes a hyphen and in global configuration mode does not include a hyphen.
Examples
The following example demonstrates how a voice class is created and applied to an individual dial peer. Voice class 4 contains a command to disable the capability to detect Cisco CallManager systems in the network (this command is used by Cisco CallManager Express 3.1 and later versions). The example then uses the voice-classh323command to apply voice class 4 to dial peer 36.
Router(config)# voice class h323 4
Router(config-class)# no telephony-service ccm-compatible
Router(config-class)# exit
Router(config)# dial-peer voice 36 voip
Router(config-dial-peer)# destination-pattern 555....
Router(config-dial-peer)# session target ipv4:10.5.6.7
Router(config-dial-peer)# voice-class h323 4
Related Commands
Command
Description
showdial-peervoice
Displays the configuration for all dial peers configured on the router.
voiceclassh323
Enters voice-class configuration mode and assigns an identification tag number for an H.323 voice class.
voice-class permanent (dial-peer)
To assign a previously configured voice class for a Cisco trunk or FRF.11 trunk to a network dial peer, use the voice-classpermanent command in dial-peer configuration mode. To remove the voice-class assignment from the network dial peer, use the no form of this command.
voice-classpermanenttag
novoice-classpermanenttag
Syntax Description
tag
Unique number assigned to the voice class. The tag
number maps to the tag number created using thevoiceclasspermanentglobal configuration command. Range is from 1 to 10000.
Command Default
Network dial peers have no voice class assigned.
Command Modes
Dial-peer configuration
Command History
Release
Modification
12.0(3)XG
This command was introduced on Cisco MC3810.
12.0(4)T
This command was integrated into Cisco IOS Release 12.0(4)T.
12.1(3)T
This command was implemented on Cisco 2600 series and Cisco 3600 series.
Usage Guidelines
You can assign one voice class to any given network dial peer. If you assign another voice class to a dial peer, the last voice class assigned replaces the previous voice class.
You cannot assign a voice class to a plain old telephone service (POTS) dial peer.
The voice-classpermanentcommand in dial-peer configuration mode is entered with a hyphen. The voiceclasspermanentcommand in global configuration mode is entered without a hyphen.
Examples
The following example assigns a previously configured voice class to a Voice over Frame Relay (VoFR) network dial peer:
dial-peer voice 100 vofr
voice-class permanent 10
Related Commands
Command
Description
signalkeepalive
Configures the keepalive signaling packet interval for Cisco trunks and FRF.11 trunks.
signalpattern
Configures the ABCD bit pattern for Cisco trunks and FRF.11 trunks.
signaltimingidlesuppress-voice
Configures the signal timing parameter for the idle state of a call.
signaltimingoos
Configures the signal timing parameter for the OOS state of a call.
signal-type
Sets the signaling type for a network dial peer.
voiceclasspermanent
Creates a voice class for a Cisco trunk or FRF.11 trunk.
voice-class permanent (voice-port)
To assign a previously configured voice class for a Cisco trunk or FRF.11 trunk to a voice port, use the voice-classpermanent command in voice-port configuration mode. To remove the voice-class assignment from the voice port, use the no form of this command.
voice-classpermanenttag
novoice-classpermanenttag
Syntax Description
tag
Unique number assigned to the voice class. The tag
number maps to the tag number created using thevoiceclasspermanentglobal configuration command. Range is 1 to 10000.
Command Default
Voice ports have no voice class assigned.
Command Modes
Voice-port configuration
Command History
Release
Modification
12.0(3)XG
This command was introduced on Cisco MC3810.
12.0(4)T
This command was integrated into Cisco IOS Release 12.0(4)T.
12.1(3)T
This command was implemented as a voice-port configuration command on Cisco 2600 series and Cisco 3600 series routers.
Usage Guidelines
You can assign one voice class to any given voice port. If you assign another voice class to a voice port, the last voice class assigned replaces the previous voice class.
The voice-classpermanentcommand in voice-port configuration mode is entered with a hyphen. The voiceclasspermanentcommand in global configuration mode is entered without a hyphen.
Examples
The following example assigns a previously configured voice class to voice port 1/1/0:
voice-port 1/1/0
voice-class permanent 10
Related Commands
Command
Description
signalkeepalive
Configures the keepalive signaling packet interval for Cisco trunks and FRF.11 trunks.
signalpattern
Configures the ABCD bit pattern for Cisco trunks and FRF.11 trunks.
signaltimingidlesuppress-voice
Configures the signal timing parameter for the idle state of a call.
signaltimingoos
Configures the signal timing parameter for the OOS state of a call.
signal-type
Sets the signaling type for a network dial peer.
voiceclasspermanent
Creates a voice class for a Cisco trunk or FRF.11 trunk.
voice-class sip anat
To enable Alternative Network Address Types (ANAT) on a Session Initiation Protocol (SIP) trunk, use the voice-classsipanat command in SIP configuration or dial peer configuration mode. To disable ANAT on SIP trunks, use the no form of this command.
Both the Cisco IOS SIP gateway and Cisco Unified Border Element are required to support the Session Description Protocol (SDP) ANAT semantics. The bind command allows the use of ANAT semantics in outbound SDP. SDP ANAT semantics are intended to address scenarios that involve different network address families (for example, different IPv4 versions). Media lines grouped using ANAT semantics provide alternative network addresses of different families for a single logical media stream. The entity creating a session description with an ANAT group must be ready to receive or send media over any of the grouped "m" lines.
By default, ANAT is enabled on SIP trunks. However, if the SIP gateway is configured in IPv4-only mode or IPv6-only mode, the gateway will not use ANAT semantics in its SDP offer.
The system keyword configures ANAT on all network dial peers, including the local dial peer. Using the voice-classsipanat command without the system keyword enables ANAT only for the local dial peer.
Examples
The following example globally enables ANAT on a SIP trunk:
Router(config-serv-sip)# voice-class sip anat system
The following example enables ANAT on a specified dial peer:
Router(config-dial-peer)# voice-class sip anat
Related Commands
Command
Description
bind
Binds the source address for signaling and media packets to the IPv4 or IPv6 address of a specific interface.
voice pcm capture
To allocate the number of Pulse Code Modulation (PCM) capture buffers, to set up or change the destination URL for captured data, to enable PCM capture on-demand, and to change the PCM capture trigger string by the user, use the
voice
pcm
capture command in global configuration mode. To stop all logging and file operations, to disable data transport from the capture buffer, and to automatically set the number of buffers to 0, use the
no form of this command.
bitmap—PCM stream bitmap in hexadecimal. The range is from 1 to FFFFFFF. The default is 7.
duration—Configures the duration for PCM capture.
call-duration—Duration of call. The range is from 0 to 255. The default is 0.
Command Default
The default values are as follows:
Number of buffers: 0
Start string: 123
Stop string: 456
Stream: 7
Call duration: 0
Command Modes
Global configuration (config)
Command History
Release
Modification
15.2(2)T
This command was introduced.
Usage Guidelines
If you want to change the number of an existing nonzero buffer, you must first reset it to 0 and then change it from 0 to the new number.
The
destinationurl option sets up or changes the destination URL for captured data. To disable data transport from the capture buffer, use the
no form of this command. If the buffer is allocated, captured data is sent to the current URL (if it was already configured) until the new URL is specified.
If a new URL differs from the current URL and logging is enabled, the current URL is closed and all further data is sent to the new URL. Entering a blank URL or prefixing the command with
no disables data transport from the capture buffer, and (if capture is enabled) captured data is stored in the capture buffer until it reaches its capacity.
Once the buffer-queueing program is running, the transport process attempts to connect to a new or existing “capture destination” URL. A version message is written to the URL, and if the message is successfully received, any further messages placed into the message queue are written to that URL. If a new URL is entered using the
voice pcm capture destination url command, the open URL is closed, and the system attempts to write to the new URL. If the new URL does not work, the transport process exits. The transport process is restarted when another URL is entered or the system is restarted.
Examples
The following example shows how to configure the number of PCM capture buffers:
To enable support for the dial-peer-based asserted ID header in incoming Session Initiation Protocol (SIP) requests or response messages, and to send asserted ID privacy information in outgoing SIP requests or response messages, use the voice-classsipasserted-id command in dial-peer configuration mode. To disable the support for the asserted ID header, use the no form of this command.
voice-classsipasserted-id
{ pai | ppi | system }
novoice-classsipasserted-id
Syntax Description
pai
(Optional) Enables the P-Asserted-Identity (PAI) privacy header in incoming and outgoing SIP requests or response messages.
ppi
(Optional) Enables the P-Preferred-Identity (PPI) privacy header in incoming SIP requests and outgoing SIP requests or response messages.
system
(Optional) Uses global-level configuration settings to configure the dial peer.
Command Default
The privacy information is sent using the Remote-Party-ID (RPID) header or the FROM header.
Command Modes
Dial-peer configuration (config-dial-peer)
Command History
Release
Modification
15.1(1)T
This command was introduced.
15.1(3)T
This command was modified. Support for incoming calls was added.
Usage Guidelines
If you choose the pai keyword or the ppi keyword for incoming messages, the gateway builds the PAI or the PPI header, respectively, into the common SIP stack, thereby sending the call data using the PAI or the PPI header. For outgoing messages, the privacy information is sent on the PAI or PPI header. The paikeyword or the ppi keyword has priority over the Remote-Party-ID (RPID) header, and removes the RPID/FROM header from the outbound message, even if the router is configured to use the RPID header at the global level.
Examples
The following example shows how to enable support for the PPI header:
Enables support for the asserted ID header in incoming and outgoing SIP requests or response messages at the global level.
calling-infopstn-to-sip
Specifies calling information treatment for PSTN-to-SIP calls.
privacy
Sets privacy in support of RFC 3323.
voice-class sip associate registered-number
To associate the preloaded route and outbound proxy details to the registered number in the dail peer configuration mode, use the voice-classsipassociateregistered-numbercommand in dial peer configuration mode. To remove the association, use the no form of this command.
Registered number. The number must be between 4 and 32.
system
(Optional) Configures the association globally.
Command Default
The preloaded route and outbound proxy details are not associated by default.
Command Modes
Dial peer configuration (config-dial-peer)
Command History
Release
Modification
15.1(2)T
This command was introduced.
Usage Guidelines
The voice-classsipassociateregistered-numbercommand takes precedence over the associateregistered-numbercommand in voice service VOIP SIP configuration mode. However, if the voice-classsipassociateregistered-number command is used with the system keyword, the gateway uses the settings configured globally by the associateregistered-numbercommand.
Examples
The following example shows how to associate a registered number on dial peer.
Associates the preloaded route and outbound proxy details with the registered number in voice service VoIP SIP configuration mode.
voice-class sip asymmetric payload
To configure dynamic Session Initiation Protocol (SIP) asymmetric payload support on a dial peer, use the voice-classsipasymmetricpayloadcommand in dial peer configuration mode. To disable the configuration, use the no form of this command.
voice-classsipasymmetricpayload
{ dtmf | dynamic-codecs | full | system }
novoice-classsipasymmetricpayload
Syntax Description
dtmf
Provides asymmetric support only for dual-tone multi-frequency (DTMF) payloads.
dynamic-codecs
Provides asymmetric support only for dynamic codec payloads.
full
Provides asymmetric support both for DTMF and dynamic codec payloads.
system
(Optional) Specifies that the asymmetric payload uses the global value.
Command Default
Disabled (dynamic SIP asymmetric payload support is not enabled).
Command Modes
Dial peer (config-dial-peer)
Command History
Release
Modification
12.4(15)T
This command was introduced.
Cisco IOS XE
Release 3.1S
This command was integrated into Cisco IOS Release IOS XE 3.1S
Usage Guidelines
For the Cisco UBE the SIP asymmetric payload-type is supported for audio/video codecs, DTMF, and NSE. Hence, dtmf and dynamic-codecs keywords are internally mapped to the full keyword to provide asymmetric payload-type support for audio/video codecs , DTMF, and NSE.
Examples
The following example shows how to configure dynamic SIP asymmetric payload support:
Router# configure terminal
Router(config)# dial-peer voice 77 voip
Router(config-dial-peer)# voice-class sip asymmetric payload full
Related Commands
Command
Description
dial-peervoice
Defines a particular dial peer, specifies the method of voice encapsulation, and enters dial peer configuration mode.
voice-class sip authenticate redirecting-number
To supersede global settings and enable a dial peer on a Cisco IOS voice gateway to authenticate and pass Session Initiation Protocol (SIP) credentials based on the redirecting number of forwarded calls, use the voice-classsipauthenticateredirecting-number command in dial peer voice configuration mode. To supersede global settings and specify that a dial peer uses only the calling number of forwarded calls, use the no form of this command. To return a dial peer to the default setting so that the dial peer uses the global setting, use the default form of this command.
(Optional) Specifies that the dial peer use whatever setting is configured at the global (voice service SIP) command level (default).
Command Default
The dial peer uses the global setting. If the global setting is not specifically configured, the dial peer uses only the calling number of a forwarded call for SIP credentials even when the redirecting number is available for that call.
Command Modes
Dial peer voice configuration (config-dial-peer)
Command History
Release
Modification
12.4(24)T
This command was introduced.
Usage Guidelines
When an INVITE message sent out by the gateway is challenged, it must respond with the appropriate SIP credentials before the call is established. The default global behavior for the gateway is to authenticate and pass SIP credentials based on the calling number and all dial peers on a gateway default to the global setting. However, for forwarded calls, it is sometimes more appropriate to use the redirecting number and this can be specified at either the global or dial peer level (configuring behavior for a specific dial peer supersedes the global setting).
Use the voice-classsipauthenticateredirecting-number command in dial peer voice configuration mode to supersede global settings and enable a dial peer to authenticate and pass SIP credentials based on the redirecting number when available. Use the no form of this command to supersede global settings and force a dial peer to authenticate and pass SIP credentials based only on the calling number of forwarded calls. Use the default form of this command to configure the dial peer to use the global setting.
The redirecting number is present only in the headers of forwarded calls. When the voice-classsipauthenticateredirecting-number command is disabled or the redirecting number is not available, the dial peer passes SIP credentials that are based on the calling number of the forwarded call. This is also the behavior on dial peers that are configured to use the global setting and the global setting is disabled (default). To enable the global setting (which is used as the default setting for all dial peers on the gateway), use the authenticateredirecting-number command in voice service SIP configuration mode.
Examples
The following example shows how to enable dial peer 2 to authenticate and pass SIP credentials based on the redirecting number (if available) of a forwarded call when a SIP INVITE message is challenged:
The following example shows how to force dial peer 2 to authenticate and pass only the calling number of a call even when the global setting is enabled and a redirecting number is available for a call:
Router> enable
Router# configureterminal
Router(config)# dial-peer voice 2 voip
Router(config-dial-peer)# no voice-class sip authenticate redirecting-number
The following two examples show different ways of setting dial peer 2 to the default setting so that it authenticates and passes either the redirecting or calling number of a call based on the global (system) setting for the gateway:
Router> enable
Router# configureterminal
Router(config)# dial-peer voice 2 voip
Router(config-dial-peer)# default voice-class sip authenticate redirecting-number
Router> enable
Router# configureterminal
Router(config)# dial-peer voice 2 voip
Router(config-dial-peer)# voice-class sip authenticate redirecting-number system
Related Commands
Command
Description
authenticateredirecting-number
Enables a Cisco IOS voice gateway to authenticate and pass SIP credentials based on the redirecting number when available instead of the calling number of a forwarded call.
voice-class sip bind
To bind the source address of a specific interface for a dial-peer on a Session Initiation Protocol (SIP) trunk, use the voice-classsipbindcommand in dial peer voice configuration mode. To disable bind at the dial-peer level or restore the bind to the global level, use the no form of this command.
voice-classsipbind
{ control | media }
source-interfaceinterface-id
[ ipv6-addressipv6-address ]
Specifies an interface as the source address of SIP packets.
ipv6-addressipv6-address
(Optional) Configures the IPv6 address of the interface.
Command Default
Bind is disabled.
Command Modes
Dial peer voice configuration (config-dial-peer)
Command History
Release
Modification
15.1(2)T
This command was introduced.
Usage Guidelines
Use the voice-classsipbind command in dial peer voice configuration mode to bind the source address for signaling and media packets to the IP address of an interface on Cisco IOS voice gateway.
You can configure multiple IPv6 addresses for an interface and select one address using the ipv6-address keyword.
Examples
The following example shows how to configure SIP bind command:
Router(config)# dial-peer voice 101 voip
Router(config-dial-peer)# session protocol sipv2
Router(config-dial-peer)# voice-class sip bind control source-interface GigabitEthernet0/0 ipv6-address 2001:0DB8:0:1::1
Router(config-dial-peer)# voice-class sip bind media source-interface GigabitEthernet0/0
voice-class sip block
To configure an individual dial peer on a Cisco IOS voice gateway or Cisco Unified Border Element (Cisco UBE) to drop (not pass) specific incoming Session Initiation Protocol (SIP) provisional response messages, use thevoice-classsipblock command in dial peer voice configuration mode. To disable a configuration to drop incoming SIP provisional response messages on an individual dial peer, use the no form of this command.
Specifies that incoming SIP 180 Ringing messages should be dropped (not passed to the other leg).
181
Specifies that incoming SIP 181 Call is Being Forwarded messages should be dropped (not passed to the other leg).
183
Specifies that incoming SIP 183 Session in Progress messages should be dropped (not passed to the other leg).
sdp
(Optional) Specifies that either the presence or absence of Session Description Protocol (SDP) information in the received response determines when the dropping of specified incoming SIP messages takes place.
absent
Configures the SDP option so that specified incoming SIP messages are dropped only if SDP is absent from the received provisional response.
present
Configures the SDP option so that specified incoming SIP messages are dropped only if SDP is present in the received provisional response.
system
Configures the dial peer to use global configuration settings for dropping incoming SIP provisional response messages.
Command Default
Defaults to the global configuration setting, which, when not specifically configured, means incoming SIP 180, 181, and 183 provisional responses are forwarded.
Command Modes
Dial peer voice configuration (config-dial-peer)
Command History
Release
Modification
12.4(22)YB
This command was introduced. Only SIP 180 and SIP 183 messages are supported on Cisco UBEs.
15.0(1)M
This command was integrated into Cisco IOS Release 15.0(1)M.
15.0(1)XA
This command was modified. Support was added for SIP 181 messages on the Cisco IOS SIP gateway, SIP-SIP Cisco UBEs, and the SIP trunk of Cisco Unified Communications Manager Express (Cisco Unified CME).
15.1(1)T
This command was integrated into Cisco IOS Release 15.1(1)T.
Cisco IOS XE Release 3.1S
This command was integrated into Cisco IOS XE Release 3.1S.
Usage Guidelines
Use the voice-classsipblock command in dial peer voice configuration mode to configure a specific dial peer on a Cisco IOS voice gateway or Cisco UBE to override global settings and drop specified SIP provisional response messages. Additionally, you can use the sdp keyword to further control when the specified SIP message is dropped based on either the absence or presence of SDP information.
You can also use the system keyword to configure a specific dial peer to use global configuration settings for dropping incoming SIP provisional response messages. To configure global settings on a Cisco IOS voice gateway or Cisco UBE, use the block command in voice service SIP configuration mode. To disable configurations for dropping specified incoming SIP messages on an individual dial peer, use the novoice-classsipblock command in dial peer voice configuration mode.
Note
This command is supported only on outbound dial peers--it is nonoperational if configured on inbound dial peers. You should configure this command on the outbound SIP leg that sends out the initial INVITE message. Additionally, this feature applies only to SIP-to-SIP calls and will have no effect on H.323-to-SIP calls.
Examples
The following example shows how to configure dial peer 1 to override any global configurations and drop specified incoming SIP provisional response messages regardless whether SDP is present:
The following example shows how to configure dial peer 1 to override any global configurations and drop specified incoming SIP provisional response messages only if SDP is present:
The following example shows how to configure dial peer 1 to override any global configurations and drop incoming SIP provisional response messages only when SDP is not present:
The following example shows how to configure a dial peer to use the global configuration settings for dropping incoming SIP provisional response messages:
Router> enable
Router# configureterminal
Router(config)# dial-peer voice 1 voip
Router(config-dial-peer)# voice-class sip block 181 system
The following example shows how to configure a dial peer to pass all incoming SIP provisional response messages regardless of global configuration settings:
Router> enable
Router# configureterminal
Router(config)# dial-peer voice 1 voip
Router(config-dial-peer)# no voice-class sip block 180
Related Commands
Command
Description
block
Configures global configuration for dropping specified SIP provisional response messages on a Cisco IOS voice gateway or Cisco UBE.
mapresp-code
Configures global settings on a Cisco UBE for mapping specific incoming SIP provisional response messages to a different SIP response message.
voice-classsipmapresp-code
Configures a specific dial peer on a Cisco UBE to map specific incoming SIP provisional response messages to a different SIP response message.
voice-class sip call-route
To enable call routing based on the Destination-Route-String, P-called-party-id and History-Info header values at the dial-peer configuration level, use the
voice-classsipcall-route command in dial peer voice configuration mode. To disable Header-based routing, use the
no form of this command.
Enables call routing based on the Destination-Route-String.
p-called-party-id
Enables call routing based on the P-Called-Party-Id header.
history-info
Enables call routing based on the History-Info header.
url
Enables call routing based on the URL.
system
(Optional) Uses the global configuration settings to enable call routing based on the header values on this dial peer.
Command Default
Support for call routing based on the Destination-Route-String, P-Called-Party-Id, History-Info headers and URL at the dial peer level is disabled.
Command Modes
Dial peer voice configuration (config-dial-peer)
Command History
Release
Modification
12.4(22)YB
This command was introduced.
15.0(1)M
This command was integrated into Cisco IOS Release 15.0(1)M.
15.1(2)T
This command was modified. The
history-info keyword was added.
15.2(1)T
This command was modified. The
url keyword was added.
15.3(3)M
This command was modified. The
dest-route-string keyword was added.
Cisco IOS XE Release 3.10S
This command was integrated into Cisco IOS XE Release 3.10S.
Usage Guidelines
Use the
voice-classsipcall-route command on the inbound dial peer to enable the gateway to route calls based on the received header in a received INVITE message.
The
voice-classsipcall-route command takes precedence over the
call-route command in voice service VoIP SIP configuration mode. However, if the
voice-classsipcall-route command is used with the
system keyword, the gateway uses the settings configured globally by the
call-route command.
If multiple call routes are configured, call routing enabled based on destination route string takes precedence over other header configurations. Destination route string configuration is applicable only for outbound dial-peer matching.
Examples
The following example shows how to enable call routing based on the Destination-Route-String, P-Called-Party-Id, History-Info header values and URL at the dial peer configuration level:
Enables call routing based on the Destination-Route-String, P-Called-Party-Id and History-Info header values at the global configuration level.
voice-class sip calltype-video
To configure the bearer capability setting on an H.320 dial peer so that it supports unrestricted digital media, use the voice-classsipcalltype-video command in dial peer voice configuration mode. To return the bearer capability setting for an H.320 dial peer to the default, use the no form of this command.
voice-classsipcalltype-video
novoice-classsipcalltype-video
Syntax Description
This command has no arguments or keywords.
Command Default
Bearer capability setting for support of unrestricted digital media support is disabled.
Command Modes
Dial peer voice configuration (config-dial-peer)
Command History
Release
Modification
12.4(24)T
This command was introduced.
Usage Guidelines
H.320 dial peers support only voice calls by default. Use the voice-classsipcalltype-video command to configure the bearer capability setting, which enables support of unrestricted digital media calls on an H.320 dial peer.
Examples
The following example shows how to configure the bearer capability setting on dial peer 2 so that it supports unrestricted digital media:
Router> enable
Router# configureterminal
Router(config)# dial-peer voice 2 voip
Router(config-dial-peer)# voice-class sip call-type video
voice-class sip copy-list
To configure a list of entities to be sent to the peer call leg on a dial peer, use the voice-classsipcopy-listcommand in dial peer configuration mode. To disable the configuration, use the no form of this command.
voice-classsipcopy-list
{ tag | system }
novoice-classsipcopy-list
Syntax Description
tag
Tag number of the Session Initiation Protocol (SIP) copy list. The range is from 1 to 10000.
system
Specifies to use the global level configuration to copy the list.
Command Default
Entries configured at the global level are sent to the peer call leg.
Command Modes
Dial peer configuration (config-dial-peer)
Command History
Release
Modification
15.1(3)T
This command was introduced.
Usage Guidelines
Use the voice-classsipcopy-list command to configure Cisco Unified Border Element (UBE) to pass an unsupported parameter present in a mandatory header from one peer call leg to another. You can copy the inbound message headers into variables and pass the headers to the outbound peer call leg.
Examples
The following example shows how to configure a SIP list to be sent to the peer call leg:
Router(config)# dial-peer voice 66 voip
Router(config-dial-peer)# voice-class sip copy-list 4
Related Commands
Command
Description
voiceclasssip-copylist
Configures a list of entities to be sent to the peer call leg.
voice-class sip e911
To enable SIP E911 system services on a dial peer, use the voice-classsipe911command in VoIP dialpeer configuration mode. To disable SIP E911 services, use the no form of this command.
voice-classsipe911
novoice-classsipe911
Syntax Description
This command has no arguments or keywords.
Command Default
The dial peer uses the global setting.
Command Modes
VoIP dialpeer configuration mode.
Command History
Release
Modification
12.4(9)T
This command was introduced.
Usage Guidelines
The no form of this command sets the dial peer configuration to disable, which indicates that E911 will not be used for this peer. Because the no version of the command causes non default behavior, it can been seen in the showrunning-config output. See also the voiceservicevoipsipe911 and debugcsmneatcommands.
Examples
The following examples enable and disable E911 services on a VoIP dial peer:
Router(config)# dial-peer voice 2
Router(config-dial-peer)# voice-class sip e911
*Jun 06 00:47:20.611: setting peer 2 to enable
Router(config-dial-peer)# no voice-class sip e911
*Jun 06 00:49:58.931: setting peer 2 to disable
Related Commands
Command
Description
debugcsmneat
Turns on debugging for all Call Switching Module (CSM) Voice over IP (VoIP) calls.
showrunning-config
Displays the running configuration.
e911
Enables E911 system services for SIP voice service VoIP.
voice-class sip encap clear-channel
To enable RFC 4040-based clear-channel codec negotiation for Session Initiation Protocol (SIP) calls on an individual dial peer, overriding the global setting on a Cisco IOS voice gateway or Cisco Unified Border Element (Cisco UBE), use the voice-classsipencapclear-channel command in dial peer voice configuration mode. To disable RFC 4040-based clear-channel codec negotiation on an individual dial peer for SIP calls on a Cisco IOS voice gateway or Cisco UBE, use the no form of this command.
voice-classsipencapclear-channel
[ standard | system ]
novoice-classsipencapclear-channelstandard
Syntax Description
standard
(Optional) Specifies standard RFC 4040 encapsulation.
system
(Optional) Configures the dial peer to use global configuration settings for clear-channel codec negotiation.
Command Default
The dial peer uses the system configuration. (If the global encapclear-channelstandard command is not enabled, then legacy encapsulation [X-CCD/8000] is used for clear-channel codec negotiation.)
Command Modes
Dial peer voice configuration (config-dial-peer)
Command History
Release
Modification
15.0(1)XA
This command was introduced.
15.1(1)T
This command was integrated into Cisco IOS Release 15.1(1)T.
Usage Guidelines
Use the voice-classsipencapclear-channelstandard command in dial peer voice configuration mode to override global settings for clear-channel codec negotiation on a Cisco IOS voice gateway or Cisco UBE and enable RFC 4040-based clear-channel codec negotiation [CLEARMODE/8000] for SIP calls on a specific dial peer. RFC 4040-based clear-channel codec negotiation allows dial peers on Cisco IOS voice gateways and Cisco UBEs to successfully interoperate with third-party SIP gateways that do not support legacy Cisco IOS clear-channel codec encapsulation [X-CCD/8000].
When the voice-classsipencapclear-channelstandard command is enabled on a specific dial peer on a Cisco IOS voice gateway or Cisco UBE, SIP calls on that dial peer that use the Cisco IOS clear channel codec are translated into calls that use [CLEARMODE/8000] regardless of the global configuration so that the calls do not get rejected when they reach third-party SIP gateways.
You can also use the voice-classsipencapclear-channelsystem command to configure a specific dial peer to use global configuration settings for clear-channel codec negotiation. To enable RFC 4040 clear-channel codec negotiation for SIP calls globally on a Cisco IOS voice gateway or Cisco UBE, use the encapclear-channelstandard command in voice service SIP configuration mode. To override global settings and disable RFC 4040-based clear-channel codec negotiation on a specific dial peer, use the novoice-classsipencapclear-channelstandard command in dial peer voice configuration mode.
Examples
The following example shows how to configure dial peer 1 to override any global configurations and enable RFC 4040-based clear-channel codec negotiation for SIP calls:
Router> enable
Router# configureterminal
Router(config)# dial-peer voice 1 voip
Router(config-dial-peer)# voice-class sip encap clear-channel standard
The following example shows how to configure dial peer 1 to use the global configuration for clear-channel codec negotiation for SIP calls:
Router> enable
Router# configureterminal
Router(config)# dial-peer voice 1 voip
Router(config-dial-peer)# voice-class sip encap clear-channel system
Related Commands
Command
Description
encapclear-channelstandard
Enables RFC 4040-based clear-channel codec negotiation for SIP calls globally on a Cisco IOS voice gateway or Cisco UBE.