Table Of Contents
Cisco IOS Voice Commands:
M
map q850-cause
max1 lookup
max1 retries
max2 lookup
max2 retries
max-calls
max-conn (dial peer)
max-connection
max-forwards
max-redirects
max-subscription
maximum conference-party
maximum sessions (DSP Farm profile)
mdn
media
mediacard
media-inactivity-criteria
member (dial peer cor list)
method
mgcp
mgcp behavior
mgcp behavior comedia-check-media-src
mgcp behavior comedia-role
mgcp behavior comedia-sdp-force
mgcp bind
mgcp block-newcalls
mgcp call-agent
mgcp codec
mgcp codec gsmamr-nb
mgcp codec ilbc
mgcp debug-header
mgcp package-capability
mgcp dtmf-relay
mgcp endpoint offset
mgcp explicit hookstate
mgcp fax rate
mgcp fax-relay sg3-to-g3
mgcp fax t38
mgcp ip-tos
mgcp max-waiting-delay
mgcp modem passthrough codec
mgcp modem passthrough mode
mgcp modem passthrough voip redundancy
mgcp modem passthru
mgcp modem relay voip gateway-xid
mgcp modem relay voip latency
mgcp modem relay voip mode
mgcp modem relay voip mode sse
mgcp modem relay voip sprt retries
mgcp modem relay voip sprt v14
mgcp package-capability
Cisco IOS Voice Commands:
M
This chapter contains commands to configure and maintain Cisco IOS voice applications. The commands are presented in alphabetical order. Some commands required for configuring voice may be found in other Cisco IOS command references. Use the master index of commands or search online to find these commands.
For detailed information on how to configure these applications and features, refer to the Cisco IOS Voice Configuration Library.
map q850-cause
To play a customized tone to PSTN callers if a call disconnects with a specific Q.850 call-disconnect cause code and release source, use the map q850-cause command in voice-service configuration mode. To disable the code-to-tone mapping, use the no form of this command.
map q850-cause code-id release-source {local | remote | all} tone tone-id
no map q850-cause code-id release-source {local | remote | all} tone tone-id
Syntax Description
code-id
|
Q.850 call-disconnect cause code. Range: 1 to 15, 17 to 127 (16 is not allowed).
|
release-source
|
Source from which the cause code is generated. Choices are the following:
• local—Originating gateway or gatekeeper
• remote—Terminating gateway or gatekeeper
• all—Any gateway or gatekeeper
|
tone tone-id
|
Tone to play for this cause code. Choices are the following:
• 1—Busy tone
• 2—Congestion tone
• 3—Special-information tone (a three-tone sequence at 950, 1400, and 1800 MHz) (not supported on IP phones)
|
Command Default
No mapping occurs.
Command Modes
Voice-service
Command History
Release
|
Modification
|
12.4(9)T
|
This command was introduced.
|
Usage Guidelines
Use this command to cause a particular tone to play when a call disconnects for a particular reason.
The tone plays to callers only if the call-disconnect and wait-to-release timers are set to values greater than 0 by entering the timeouts call-disconnect and timeouts wait-release commands.
Examples
The following example maps Q.850 call-disconnect cause code 21 to tone 3 on the local gateway and to tone 2 on the remote gateway:
Router(config)# voice service pots
Router(conf-voi-serv)# map q850-cause 21 release-source local tone 3
Router(conf-voi-serv)# map q850-cause 21 release-source remote tone 2
Related Commands
Command
|
Description
|
progress_ind
|
Sets a specific PI in call setup, progress, or connect messages from an H.323 VoIP gateway.
|
q850-cause
|
Maps a Q.850 call-disconnect cause code to a different Q.850 call-disconnect cause code.
|
scenario-cause
|
Configures new Q.850 call-disconnect cause codes for use if an H.323 call fails.
|
timeouts call-disconnect
|
Configures the delay timeout before an FXO voice port disconnects an incoming call after disconnect tones are detected.
|
timeouts wait-release
|
Configures the delay timeout before the system starts the process for releasing voice ports.
|
max1 lookup
To enable Domain Name System (DNS) lookup for a new call-agent address when the suspicion threshold value is reached, use the max1 lookup command in MGCP profile configuration mode. To disable lookup, use the no form of this command.
max1 lookup
no max1 lookup
Syntax Description
This command has no arguments or keywords.
Command Default
Lookup is enabled.
Command Modes
MGCP profile configuration
Command History
Release
|
Modification
|
12.2(2)XA
|
This command was introduced.
|
12.2(4)T
|
This command was integrated into Cisco IOS Release 12.2(4)T.
|
12.2(11)T
|
This command was implemented on the Cisco AS5300 and Cisco AS5850.
|
Usage Guidelines
This command is used when configuring values for a Media Gateway Control Protocol (MGCP) profile.
Call-agent redundancy can be provided when call agents are identified by DNS name rather than by IP address in the call-agent command, because each DNS name can have more than one IP address associated with it.
When the active call agent does not respond to a message from the media gateway, the gateway tests to determine whether the call agent is out of service. The gateway retransmits the message to the call agent for the number of times specified in the max1 retries command; this is known as the suspicion threshold. If there is no response and the max1 lookup command is enabled, the gateway examines the DNS lookup table to find the IP address of another call agent. If a second call agent is listed, the gateway retransmits the message to the second call agent until a response is received or the number of retries specified in the max1 retries command is reached.
This process is repeated for each IP address in the DNS table until the final address is reached. For the final address, the number of retries is specified by the max2 retries command; this number is known as the disconnect threshold. If the number of retries specified in the max2 retries command is reached and there is still no response and the max2 lookup command is enabled, the gateway performs one final DNS lookup. If any new IP addresses have been added, the gateway starts the retransmission process again. Otherwise, the gateway places the endpoint in a disconnected state.
Examples
The following example enables DNS lookup and sets the suspicion retransmission counter to 7:
Router(config)# mgcp profile nyc-ca
Router(config-mgcp-profile)# call-agent igloo.northpole.net
Router(config-mgcp-profile)# max1 lookup
Router(config-mgcp-profile)# max1 retries 7
Related Commands
Command
|
Description
|
call-agent
|
Specifies a call-agent address and protocol for an MGCP profile.
|
max1 retries
|
Sets the MGCP suspicion threshold value.
|
max2 lookup
|
Enables DNS lookup for an MGCP call agent when the disconnect threshold is reached.
|
max2 retries
|
Sets the MGCP disconnect threshold value.
|
mgcp
|
Starts and allocates resources for the MGCP daemon.
|
mgcp profile
|
Initiates MGCP profile mode to create and configure a named MGCP profile associated with one or more endpoints or to configure the default profile.
|
max1 retries
To set the Media Gateway Control Protocol (MGCP) suspicion threshold value (the number of attempts to retransmit messages to a call agent address before performing a new lookup for retransmission), use the max1 retries command in MGCP profile configuration mode. To reset to the default, use the no form of this command.
max1 retries number
no max1 retries
Syntax Description
number
|
Number of times to attempt to resend messages. Range is from 3 to 30. The default is 5.
|
Command Default
5 attempts
Command Modes
MGCP profile configuration
Command History
Release
|
Modification
|
12.2(2)XA
|
This command was introduced and replaces the mgcp request retries command, which is no longer supported.
|
12.2(4)T
|
This command was integrated into Cisco IOS Release 12.2(4)T.
|
12.2(11)T
|
This command was implemented on the Cisco AS5300 and Cisco AS5850 platforms. The maximum number of retries was increased to 30.
|
Usage Guidelines
This command is used when configuring values for an MGCP profile.
Call-agent redundancy can be provided when call agents are identified by Domain Name System (DNS) name rather than by IP address in the call-agent command, because each DNS name can have more than one IP address associated with it.
When the active call agent does not respond to a message from the media gateway, the gateway tests to determine whether the call agent is out of service. The gateway retransmits the message to the call agent for the number of times specified in the max1 retries command; this is known as the suspicion threshold. If there is no response and the max1 lookup command is enabled, the gateway examines the DNS lookup table to find the IP address of another call agent.
If a second call agent is listed, the gateway retransmits the message to the second call agent until a response is received or the number of retries specified in the max1 retries command is reached. This process is repeated for each IP address in the DNS table until the final address is reached. For the final address, the number of retries is specified by the max2 retries command; this is known as the disconnect threshold. If the number of retries specified in the max2 retries command is reached and there is still no response and the max2 lookup command is enabled, the gateway performs one final DNS lookup. If any new IP addresses have been added, the gateway starts the retransmission process again. Otherwise, the gateway places the endpoint in a disconnected state.
Examples
The following example enables DNS lookup and sets the suspicion retransmission counter to 7:
Router(config)# mgcp profile nyc-ca
Router(config-mgcp-profile)# call-agent igloo.northpole.net
Router(config-mgcp-profile)# max1 lookup
Router(config-mgcp-profile)# max1 retries 7
Related Commands
Command
|
Description
|
call-agent
|
Specifies a call-agent address and protocol for an MGCP profile.
|
max1 lookup
|
Enables DNS lookup for an MGCP call agent when the suspicion threshold is reached.
|
max2 lookup
|
Enables DNS lookup for an MGCP call agent when the disconnect threshold is reached.
|
max2 retries
|
Sets the MGCP disconnect threshold value.
|
mgcp
|
Starts and allocates resources for the MGCP daemon.
|
mgcp profile
|
Initiates MGCP profile mode to create and configure a named MGCP profile associated with one or more endpoints, or to configure the default profile.
|
max2 lookup
To enable Domain Name System (DNS) lookup for a new call-agent address after the disconnect threshold timeout value is reached, use the max2 lookup command in MGCP profile configuration mode. To disable DNS lookup, use the no form of this command.
max2 lookup
no max2 lookup
Syntax Description
This command has no arguments or keywords.
Command Default
Lookup is enabled.
Command Modes
MGCP profile configuration
Command History
Release
|
Modification
|
12.2(2)XA
|
This command was introduced.
|
12.2(4)T
|
This command was integrated into Cisco IOS Release 12.2(4)T.
|
12.2(11)T
|
This command was implemented on the Cisco AS5300 and Cisco AS5850.
|
Usage Guidelines
This command is used when configuring values for a Media Gateway Control Protocol (MGCP) profile.
Call-agent redundancy can be provided when call agents are identified by DNS name rather than by IP address in the call-agent command, because each DNS name can have more than one IP address associated with it.
When the active call agent does not respond to a message from the media gateway, the gateway tests to determine whether the call agent is out of service. The gateway retransmits the message to the call agent for the number of times specified in the max1 retries command; this is known as the suspicion threshold. If there is no response and the max1 lookup command is enabled, the gateway examines the DNS lookup table to find the IP address of another call agent. If a second call agent is listed, the gateway retransmits the message to the second call agent until a response is received or the number of retries specified in the max1 retries command is reached.
This process is repeated for each IP address in the DNS table until the final address is reached. For the final address, the number of retries is specified by the max2 retries command; this is known as the disconnect threshold. If the number of retries specified in the max2 retries command is reached and there is still no response and the max2 lookup command is enabled, the gateway performs one final DNS lookup. If any new IP addresses have been added, the gateway starts the retransmission process again. Otherwise, the gateway places the endpoint in a disconnected state.
Examples
The following example enables DNS lookup and sets the disconnect retransmission counter to 9:
Router(config)# mgcp profile nyc-ca
Router(config-mgcp-profile)# call-agent ca1@exp.example.com
Router(config-mgcp-profile)# max2 lookup
Router(config-mgcp-profile)# max2 retries 9
Related Commands
Command
|
Description
|
call-agent
|
Specifies a call-agent address and protocol for an MGCP profile.
|
max1 lookup
|
Enables DNS lookup for an MGCP call agent when the suspicion threshold is reached.
|
max1 retries
|
Sets the MGCP suspicion threshold value.
|
max2 retries
|
Sets the MGCP disconnect threshold value.
|
mgcp
|
Starts and allocates resources for the MGCP daemon.
|
mgcp profile
|
Initiates MGCP profile mode to create and configure a named MGCP profile associated with one or more endpoints, or to configure the default profile.
|
max2 retries
To set the Media Gateway Control Protocol (MGCP) disconnect threshold value (the number of attempts to retransmit messages to a call agent address before performing a new lookup for further retransmission), use the max2 retries command in MGCP profile configuration mode. To disable the disconnect threshold or to return the number of retries to the default, use the no form of this command.
max2 retries number
no max2 retries
Syntax Description
number
|
Number of times to attempt to resend messages. Range is from 3 to 30. The default is 7.
|
Command Default
7 attempts
Command Modes
MGCP profile configuration
Command History
Release
|
Modification
|
12.2(2)XA
|
This command was introduced and replaced the mgcp request retries command, which is no longer supported.
|
12.2(4)T
|
This command was integrated into Cisco IOS Release 12.2(4)T.
|
12.2(11)T
|
This command was implemented on the Cisco AS5300 and Cisco AS5850. The maximum number of retries was increased to 30.
|
Usage Guidelines
This command is used when configuring values for an MGCP profile.
Call-agent redundancy can be provided when call agents are identified by Domain Name System (DNS) name rather than by IP address in the call-agent command, because each DNS name can have more than one IP address associated with it.
When the active call agent does not respond to a message from the media gateway, the gateway tests to determine whether the call agent is out of service. The gateway retransmits the message to the call agent for the number of times specified in the max1 retries command; this is known as the suspicion threshold. If there is no response and the max1 lookup command is enabled, the gateway examines the DNS lookup table to find the IP address of another call agent. If a second call agent is listed, the gateway retransmits the message to the second call agent until a response is received or the number of retries specified in the max1 retries command is reached.
This process is repeated for each IP address in the DNS table until the final address is reached. For the final address, the number of retries is specified by the max2 retries command; this is known as the disconnect threshold. If the number of retries specified in the max2 retries command is reached and there is still no response and the max2 lookup command is enabled, the gateway performs one final DNS lookup. If any new IP addresses have been added, the gateway starts the retransmission process again. Otherwise, the gateway places the endpoint in a disconnected state.
Examples
The following example sets the disconnect retransmission counter to 9:
Router(config)# mgcp profile nyc-ca
Router(config-mgcp-profile)# call-agent igloo.northpole.net
Router(config-mgcp-profile)# max2 retries 9
Related Commands
Command
|
Description
|
call-agent
|
Specifies a call-agent address and protocol for an MGCP profile.
|
max1 lookup
|
Enables DNS lookup for an MGCP call agent after the suspicion threshold value is reached.
|
max1 retries
|
Sets the MGCP suspicion threshold value.
|
max2 lookup
|
Enables DNS lookup for an MGCP call agent after the disconnect threshold value is reached.
|
mgcp
|
Starts and allocates resources for the MGCP daemon.
|
mgcp profile
|
Initiates MGCP profile mode to create and configure a named MGCP profile associated with one or more endpoints, or to configure the default profile.
|
max-calls
To set the maximum number of calls that a trunk group can handle, use the max-calls command in trunk group configuration mode. To reset to the default, use the no form of this command.
max-calls {any | data | voice} number [direction [in | out]]
no max-calls {any | data | voice} number [direction [in | out]]
Syntax Description
any
|
Assigns the maximum number of calls that the trunk group can handle, regardless of the type of call.
|
data
|
Assigns the maximum number of data calls to the trunk group.
|
voice
|
Assigns the maximum number of voice calls to the trunk group.
|
number
|
Range is from 0 to 1000.
|
direction
|
(Optional) Specifies direction of calls.
|
in
|
(Optional) Allows only incoming calls.
|
out
|
(Optional) Allows only outgoing calls.
|
Command Default
No limit when the command is not set.
Command Modes
Trunk group configuration
Command History
Release
|
Modification
|
12.2(11)T
|
This command was introduced.
|
Usage Guidelines
Use this command to set the maximum number of calls to be handled by the trunk group. If the command is not set the maximum is infinite.
If the maximum is reached, the trunk group becomes unavailable for more calls. When the number of calls falls below the maximum, the trunk group will accept more calls.
Examples
The following example assigns a maximum number of 500 calls of any type to trunk group gw15:
Router(config)# trunk group gw15
Router(config-trunk-group)# max-calls any 500
The following example assigns a maximum of 200 data calls and 750 voice calls to trunk group 32:
Router(config)# trunk group 32
Router(config-trunk-group)# max-calls data 200
Router(config-trunk-group)# max-calls voice 750
Related Commands
Command
|
Description
|
show trunk group
|
Displays the configuration of one or more trunk groups.
|
trunk group
|
Initiates a trunk group definition.
|
max-conn (dial peer)
To specify the maximum number of incoming or outgoing connections for a particular Multimedia Mail over IP (MMoIP), plain old telephone service (POTS), Voice over Frame Relay (VoFR), or Voice over IP (VoIP) dial peer, use the max-conn command in dial peer configuration mode. To set an unlimited number of connections for this dial peer, use the no form of this command.
max-conn number
no max-conn
Syntax Description
number
|
Maximum number of connections for this dial peer. Range is from 1 to 2147483647. Default is an unlimited number of connections.
|
Command Default
The no form of this command is the default, meaning an unlimited number of connections
Command Modes
Dial peer configuration
Command History
Release
|
Modification
|
11.3(1)T
|
This command was introduced.
|
12.0(4)XJ
|
This command was modified for store-and-forward fax.
|
12.0(4)T
|
This command was integrated into Cisco IOS Release 12.0(4)T.
|
12.1(1)T
|
This command was integrated into Cisco IOS Release 12.1(1)T.
|
12.1(5)T
|
This command was integrated into Cisco IOS Release 12.1(5)T.
|
12.2(4)T
|
This command was implemented on the Cisco 1750.
|
12.2(8)T
|
This command was implemented on the following platforms: Cisco 1751, Cisco 2600 series, Cisco 3600 series, Cisco 3725, and Cisco 3745.
|
Usage Guidelines
Use this command to define the maximum number of connections used simultaneously to send or receive fax-mail. This command applies to off-ramp store-and-forward fax functions.
Examples
The following example configures a maximum of 5 connections for VoIP dial peer 10:
Related Commands
Command
|
Description
|
mta receive maximum-recipients
|
Specifies the maximum number of recipients for all SMTP connections.
|
max-connection
To set the maximum number of simultaneous connections to be used for communication with a settlement provider, use the max-connection command in settlement configuration mode. To reset to the default, use the no form of this command.
max-connection number
no max-connection number
Syntax Description
number
|
Maximum number of HTTP connections to a settlement provider.
|
Command Default
10 connections
Command Modes
Settlement configuration
Command History
Release
|
Modification
|
12.0(4)XH1
|
This command was introduced on the following platforms: Cisco 2600 series, Cisco 3600 series, and Cisco AS5300.
|
12.1(1)T
|
This command was integrated into Cisco IOS Release 12.1(1)T.
|
Examples
The following command sets the maximum number of simultaneous connections to 10:
Related Commands
Command
|
Description
|
connection-timeout
|
Configures the time that a connection is maintained after completing a communication exchange.
|
customer-id
|
Sets the customer identification.
|
device-id
|
Specifies a gateway associated with a settlement provider.
|
encryption
|
Sets the encryption method to be negotiated with the provider.
|
response-timeout
|
Configures the maximum time to wait for a response from a server.
|
retry-delay
|
Sets the time between attempts to connect with the settlement provider.
|
retry-limit
|
Sets the maximum number of connection attempts to the provider.
|
session-timeout
|
Sets the interval for closing the connection when there is no input or output traffic.
|
settlement
|
Enters settlement configuration mode and specifies the attributes specific to a settlement provider.
|
shutdown
|
Brings up the settlement provider.
|
type
|
Configures an SAA-RTR operation type.
|
url
|
Configures the ISP address.
|
max-forwards
To globally set the maximum number of hops, that is, proxy or redirect servers that can forward the Session Initiation Protocol (SIP) request, use the max-forwards command in SIP user-agent configuration mode. To reset the default number of hops, use the no form of this command.
max-forwards number-of-hops
no max-forwards number-of-hops
Syntax Description
number-of-hops
|
Number of hops. Range is from 1 to 70. Default is 70.
|
Command Default
70 hops
Command Modes
SIP user-agent configuration
Command History
Release
|
Modification
|
12.1(3)T
|
This command was introduced on the following platforms: Cisco 2600 series, Cisco 3600 series, and Cisco AS5300.
|
12.2(2)XA
|
This command was implemented on Cisco AS5350 and AS5400 platforms.
|
12.2(2)XB1
|
This command was introduced on the Cisco AS5850.
|
12.2(8)T
|
This command was implemented on Cisco 7200 series routers. This command does not support the Cisco AS5300, Cisco AS5350, Cisco AS5400, and Cisco AS5850 in this release.
|
12.3(8)T
|
This command was enhanced with a greater configurable range and a higher default value (compliant with RFC 3261).
|
Usage Guidelines
To reset this command to the default value, you can also use the default command.
Examples
The following example sets the number of forwarding requests to 65:
Related Commands
Command
|
Description
|
max-redirects
|
Sets the maximum number of redirects that the user agent allows.
|
max-redirects
To set the maximum number of redirect servers that the n_ allows, use the max-redirects command in dial peer configuration mode. To reset to the default, use the no form of this command.
max-redirects number
no max-redirects
Syntax Description
number
|
Maximum number of redirect servers that a call can traverse. Range is from 1 to 10. The default is 1.
|
Command Default
1 redirect
Command Modes
Dial peer configuration
Command History
Release
|
Modification
|
12.1(1)T
|
This command was introduced on the following platforms: Cisco 2600 series, Cisco 3600 series, and Cisco AS5300.
|
12.2(2)XA
|
This command was implemented on the Cisco AS5400 and Cisco AS5350 platforms.
|
12.2(2)XB1
|
This command was implemented on the Cisco AS5850.
|
12.2(8)T
|
This command was implemented on the Cisco 7200 series. This command does not support the Cisco AS5300, Cisco AS5350, Cisco AS5400, and Cisco AS5850 in this release.
|
12.2(11)T
|
This command was integrated into Cisco IOS Release 12.2(11)T.
|
Examples
The following is an example of setting the maximum number of redirect servers that the user agent allows:
Related Commands
Command
|
Description
|
dial-peer voice
|
Enters dial peer configuration mode and specifies the method of voice-related encapsulation.
|
max-subscription
To set the maximum number of concurrent watch sessions that are allowed, use the max-subscription command in presence configuration mode. To return to the default, use the no form of this command.
max-subscription number
no max-subscription
Syntax Description
number
|
Maximum watch sessions. Range: 100 to 500. Default: 100.
|
Command Default
Maximum subscriptions is 100.
Command Modes
Presence (config-presence)
Command History
Release
|
Modification
|
12.4(11)XJ
|
This command was introduced.
|
12.4(15)T
|
This command was integrated into Cisco IOS Release 12.4(15)T.
|
Usage Guidelines
This command sets the maximum number of concurrent presence subscriptions for both internal and external subscribe requests.
Examples
The following example shows the maximum subscriptions set to 150:
Router(config-presence)# max-subscription 150
Related Commands
Command
|
Description
|
allow watch
|
Allows a directory number on a phone registered to Cisco Unified CME to be watched in a presence service.
|
allow subscribe
|
Allows internal watchers to monitor external presence entities (directory numbers).
|
presence
|
Enables presence service on the router and enters presence configuration mode.
|
presence enable
|
Allows incoming presence requests from SIP trunks.
|
server
|
Specifies the IP address of a presence server for sending presence requests from internal watchers to external presence entities.
|
watcher all
|
Allows external watchers to monitor internal presence entities (directory numbers).
|
maximum conference-party
To configure the maximum number of conference parties allowed in each meet-me conference, use the maximum conference-party command in DSP farm profile configuration mode. To reset this number to the default, use the no form of this command.
maximum conference-party max-parties
no maximum conference-party max-parties
Syntax Description
max-parties
|
Maximum number of parties allowed in each meet-me conference session. One DSP can support the following maximums:
• G.711—32 parties
• G.729—16 parties
The default is 8 parties.
|
Command Default
8 parties
Command Modes
DSP farm profile configuration (config-dspfarm-profile)
Command History
Release
|
Modification
|
12.4(11)XJ2
|
This command was introduced.
|
12.4(15)T
|
This command was integrated into Cisco IOS Release 12.4(15)T.
|
Usage Guidelines
The maximum number of parties allowed for hardware conferencing is dependent on the codec used in the DSP farm profile. Use the codec command in DSP Farm profile configuration mode to specify the codecs supported by the DSP farm profile. Use the show dspfarm profile command to display the DSP farm profile.
Examples
The following example configures a DSP farm profile that has maximum of 16 parties for hardware conferences using the G.711 codec:
Router(config)# dspfarm profile conference1
Router(config-dspfarm-profile)# maximum conference-party 16
Router(config-dspfarm-profile)# codec g711alaw
Related Commands
Command
|
Description
|
codec (DSP Farm profile)
|
Specifies the codecs supported by a DSP farm profile.
|
show dspfarm profile command
|
Displays configured DSP farm profile information.
|
maximum sessions (DSP Farm profile)
To specify the maximum number of sessions that are supported by the profile, use the maximum sessions command in digital signal processor (DSP) farm profile configuration mode. To reset to the default, use the no form of the command.
Command Syntax When Conferencing or Transcoding Is Configured
maximum sessions number
no maximum sessions
Command Syntax When MTP is Configured
maximum sessions {hardware | software} number
no maximum sessions
Syntax Description
hardware
|
Number of sessions that MTP hardware resources will support.
|
software
|
Number of sessions that MTP software resources will support.
|
number
|
Number of session supported by the profile. Range is 0 to X. Default is 0. The X value is determined at run time depending on the number of resources available with the resource provider.
|
Command Default
0 sessions
Command Modes
DSP farm profile configuration
Command History
Release
|
Modification
|
12.3(8)T
|
This command was introduced.
|
Usage Guidelines
When using MTP service type, you must specify the number of sessions separately for software MTP and hardware MTP. The hardware MTP needs DSP resources. Use hardware MTP when the codecs are the same and the packetization period is different.
Active profiles must be shut down in order to change any parameters.
Note
The syntax of the command will vary based on the type of profile that you are configuring. The keywords only apply when MTP is configured.
Examples
The following example shows that four sessions are supported by the DSP farm profile:
Router(config-dspfarm-profile)# maximum sessions 4
Related Commands
Command
|
Description
|
associate application
|
Associates the SCCP protocol to the DSP farm profile.
|
codec (dspfarm-profile)
|
Specifies the codecs supported by a DSP farm profile.
|
description (dspfarm-profile)
|
Includes a specific description about the DSP farm profile.
|
dspfarm profile
|
Enters DSP farm profile configuration mode and defines a profile for DSP farm services.
|
shutdown (dspfarm-profile)
|
Allocates DSP farm resources and associates with the application.
|
voice-card
|
Enters voice-card configuration mode.
|
mdn
To request that a message disposition notification (MDN) be generated when a message is processed (opened), use the mdn command in dial peer configuration mode. To disable generation of an MDN, use the no form of this command.
mdn
no mdn
Syntax Description
This command has no arguments or keywords.
Command Default
Disabled
Command Modes
Dial peer configuration
Command History
Release
|
Modification
|
12.0(4)XJ
|
This command was introduced.
|
12.0(4)T
|
This command was integrated into Cisco IOS Release 12.0(4)T.
|
12.1(1)T
|
This command was integrated into Cisco IOS Release 12.1(1)T.
|
12.1(5)T
|
This command was integrated into Cisco IOS Release 12.1(5)T.
|
12.2(4)T
|
This command was implemented on the Cisco 1750 access router.
|
12.2(8)T
|
This command was implemented on the following platforms: Cisco 1751, Cisco 2600 series, Cisco 3600 series, Cisco 3725, and Cisco 3745.
|
Usage Guidelines
Message disposition notification is an e-mail message that is generated and sent to the sender when the message is opened by the receiver. Use this command to request that an e-mail response message be sent to the sender when the e-mail that contains the fax TIFF image has been opened.
This command applies to on-ramp store-and-forward fax functions.
Examples
The following example requests that a message disposition notification be generated by the recipient:
Related Commands
Command
|
Description
|
mta receive generate-mdn
|
Specifies that the off-ramp gateway process a response MDN from an SMTP server.
|
mta send return-receipt-to
|
Specifies the address to which MDNs are sent.
|
media
To enable media packets to pass directly between the endpoints, without the intervention of the IP-to-IP gateway (IPIPGW), use the media command in dial-peer, voice-class, or voice-service configuration mode. To return to the default IPIPGW behavior, use the no form of this command.
media [flow-around | flow-through | statistics]
no media [flow-around | flow-through | statistics]
Syntax Description
flow-around
|
Enables media packets to pass directly between the endpoints, without the intervention of the IP-to-IP gateway (IPIPGW) The media is to flow around the gateway.
|
flow-through
|
Enables media packets to pass through the endpoints, without the intervention of the IPIPGW.
|
statistics
|
Media monitoring is enabled.
|
Command Default
The default behavior of the IP-to-IP gateway is to receive media packets from the inbound call leg, terminate them, and then reoriginate the media stream on an outbound call leg.
Command Modes
Dial-peer, voice-class, or voice-service configuration mode (config-dial-peer) (config-class) (config-voi-serv).
Command History
Release
|
Modification
|
12.3(1)T
|
This command was introduced.
|
12.4(11)XJ2
|
The statistics keyword was introduced.
|
12.4(15)T
|
This command was integrated into Cisco IOS Release 12.4(15)T.
|
Usage Guidelines
With the default configuration, the IPIPGW receives media packets from the inbound call leg, terminates them, and then reoriginates the media stream on an outbound call leg. Media flow-around enables media packets to be passed directly between the endpoints, without the intervention of the IPIPGW. The IPIPGW continues to handle routing and billing functions. Media flow-around for SIP-to-SIP calls is not supported.
Note
The IPIPGW must be running Cisco IOS Release 12.3(1) or a later release to support media flow-around.
You can specify media flow-around for voice-class, all VoIP calls, or individual dial-peers.
Examples
Media Flow-around Examples
The following example show media flow-around being configured on a dial-peer:
Router(config)# dial-peer voice 2 voip
Router(config-dial-peer) media flow-around
The following example show media flow-around being configured for all VoIP calls:
Router(config)# voice service voip
Router(config-voi-serv) media flow-around
The following example show media flow-around being configured for voice-class calls:
Router(config)# voice class media 1
Router(config-class) media flow-around
Media Flow-though Examples
The following example show media flow-around being configured on a dial-peer:
Router(config)# dial-peer voice 2 voip
Router(config-dial-peer) media flow-through
The following example show media flow-around being configured for all VoIP calls:
Router(config)# voice service voip
Router(config-voi-serv) media flow-through
The following example show media flow-around being configured for voice-class calls:
Router(config)# voice class media 2
Router(config-class) media flow-through
Media Statistics Examples
The following example show media monitoring being configured for all VoIP calls:
Router(config)# voice service voip
Router(config-voi-serv) statistics
The following example show media monitoring being configured for voice-class calls:
Router(config)# voice class media 1
Router(config-class) statistics
Related Commands
Command
|
Description
|
dial-peer voice
|
Enters dial-peer configuration mode
|
voice service
|
Enters voice-service configuration mode
|
voice class
|
Enters voice-class configuration mode
|
mediacard
To enter mediacard configuration mode and configure a Communications Media Module (CMM) media card, use the mediacard command in global configuration mode.
mediacard slot
Syntax Description
slot
|
Specifies the slot number for the media card to be configured. Valid values are from 1 to 4.
|
Command Default
No default behavior or values
Command Modes
Global configuration mode
Command History
Release
|
Modification
|
12.3(8)XY
|
This command was introduced on the Communication Media Module.
|
12.3(14)T
|
This command was integrated into Cisco IOS Release 12.3(14)T.
|
12.4(3)
|
This command was integrated into Cisco IOS Release 12.4(3).
|
Usage Guidelines
Mediacard configuration mode is used to configure parameters related to the selected media card, such as digital signal processor (DSP) resource pools.
Examples
The following example shows how you configure DSP resources on the media card in slot 1:
Related Commands
Command
|
Description
|
debug mediacard
|
Displays debugging information for Digital Signal Processor Resource Manager (DSPRM).
|
show mediacard
|
Displays information about the selected media card.
|
media-inactivity-criteria
To specify the mechanism for detecting media inactivity (silence) on a voice call, use the media-inactivity-criteria command in gateway configuration mode. To disable detection, use the no form of this command.
media-inactivity-criteria {rtp | rtcp | all}
no media-inactivity-criteria
Syntax Description
rtp
|
Real-Time Transport Protocol (RTP) (default)
|
rtcp
|
RTP Control Protocol (RTCP)
|
all
|
Both RTP and RTCP
|
Command Default
Media-inactivity detection is performed by means of RTP.
Command Modes
Gateway
Command History
Release
|
Modification
|
12.4(9)T
|
This command was introduced.
|
Usage Guidelines
Use this command to specify the mechanism for detecting silence on a voice call. After doing so, you can configure silent calls to disconnect by entering the related commands listed below.
Use this command, in conjunction with the application, package callfeature, param, and paramspace commands, to configure callfeature parameters at the package level and to override them as needed for specific applications or dial peers.
The mechanism that you explicitly specify with this command takes precedence over any mechanism that you might implicitly have specified with the ip rtcp report interval command in combination with the timer media-inactive or timer receive-rtcp command.
Examples
The following example specifies the use of RTCP for silence detection:
Router(config-gateway)# media-inactivity-criteria rtcp
The following example shows a configuration that might result from the use of this and related commands:
map q850-cause 44 release-source local tone 3
param med-inact-disc-cause 44
param med-inact-det enable
param med-inact-action disconnect
ip rtcp report interval 9000
progress_ind disconnect enable 8
media-inactivity-criteria rtcp
Related Commands
Command
|
Description
|
application
|
Enables a specific application on a dial peer.
|
ip rtcp report interval
|
Configures the average reporting interval between subsequent RTCP report transmissions.
|
package callfeature
|
Enters application-parameter configuration mode.
|
param
|
Loads and configures parameters in a package or a service (application) on the gateway.
|
paramspace
|
Enables an application to use parameters from the local parameter space of another application.
|
timer media-inactive
|
Sets the media-inactivity disconnect timer.
|
timer receive-rtcp
|
Sets the RTCP timer and configures a multiplication factor for the RTCP timer interval for SIP or H.323 calls.
|
member (dial peer cor list)
To add a member to a dial peer class of restrictions (COR) list, use the member command in dial peer COR list configuration mode. To remove a member from a list, use the no form of this command.
member class-name
no member class-name
Syntax Description
class-name
|
Class name previously defined in dial peer COR custom configuration mode by using of the name command.
|
Command Default
No default behavior or values.
Command Modes
Dial peer COR list configuration
Command History
Release
|
Modification
|
12.1(3)T
|
This command was introduced.
|
Examples
The following example adds three members to the COR list named list3:
Related Commands
Command
|
Description
|
dial-peer cor list
|
Defines a COR list name.
|
method
To set a specific accounting method list, use the method command in gateway accounting AAA configuration mode.
method acctMethListName
Syntax Description
acctMethListName
|
Name of the accounting method list.
|
Command Default
H.323 is the default accounting method list.
Command Modes
Gateway accounting AAA configuration
Command History
Release
|
Modification
|
12.2(11)T
|
This command was introduced on the following platforms: Cisco 3660, Cisco AS5300, Cisco AS5350, Cisco AS5400, Cisco AS5800, and Cisco AS5850.
|
Usage Guidelines
•
For information on setting AAA network security for your network, including setting method lists, refer to the Authentication, Authorization, and Accounting Cisco IOS Security Configuration Guide, Release 12.2.
•
The method command sets the accounting method globally (not for a dial peer). To initially define the AAA method list name for accounting, use the aaa accounting command.
•
The method list name used is the same name used to define the method list name under the aaa accounting command.
Examples
The following example uses the method list named "klz_aaa6" that was previously defined using the AAA commands.
aaa group server radius sg6
server 1.6.30.70 auth-port 1708 acct-port 1709
aaa authentication login klz_aaa6 group sg6
! klz_aaa6 is defined as the method list name.
aaa authorization exec klz_aaa6 group sg6
aaa accounting connection klz_aaa6 start-stop group sg6
! The same method list named klz_aaa6 is used.
Related Commands
Command
|
Description
|
aaa accounting
|
Enables accounting of requested services for billing or security purposes.
|
gw-accounting aaa
|
Enables VoIP gateway accounting.
|
mgcp
To allocate resources for the Media Gateway Control Protocol (MGCP) and start the MGCP daemon, use the mgcp command in global configuration mode. To terminate all calls, release all allocated resources, and stop the MGCP daemon, use the no form of this command.
mgcp [port]
no mgcp
Syntax Description
port
|
(Optional) User Datagram Protocol (UDP) port for the MGCP gateway. Range is from 1025 to 65535. The default is UDP port 2427.
|
Command Default
UDP port 2427
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(1)T
|
This command was introduced on the Cisco AS5300.
|
12.1(3)T
|
This command was implemented on the following platforms: Cisco 3660, Cisco uBR924, and Cisco 2600 series.
|
12.1(5)XM
|
This command was added to Cisco MC3810.
|
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 AS5850.
|
Usage Guidelines
Once you start the MGCP daemon using the mgcp command, you can suspend it (for example, for maintenance) by using the mgcp block-newcalls command. When you are ready to resume normal MGCP operations, use the no mgcp block-newcalls command. Use the no mgcp command only if you intend to terminate all MGCP applications and protocols.
When the MGCP daemon is not active, all MGCP messages are ignored.
If you want to change the UDP port while MGCP is running, you must stop the MGCP daemon using the no mgcp command, and then restart it with the new port number using the mgcp port command.
Examples
The following example initiates the MGCP daemon:
The following example enables the MGCP daemon on port 4204:
Router(config)# mgcp 4204
Related Commands
Command
|
Description
|
application
|
Enables debugging on MGCP.
|
debug mgcp
|
Enables debugging on MGCP.
|
mgcp block-newcalls
|
Gracefully terminates all MGCP activity.
|
mgcp ip-tos
|
Enables or disables the IP ToS for MGCP connections.
|
mgcp request retries
|
Specifies the number of times to retry sending the mgcp command.
|
show mgcp
|
Displays the MGCP parameter settings.
|
mgcp behavior
To configure a gateway to alter the Media Gateway Control Protocol (MGCP) behavior, use the mgcp behavior command in global configuration mode. To resume using the standard protocol version behavior specified in the configuration, use the no form of this command.
mgcp behavior category version
no mgcp behavior category version
Syntax Description
category
|
MGCP behavior category. See Table 28.
|
version
|
MGCP version for the behavior category. See Table 28.
|
Command Default
The gateway follows the rules and guidelines specified by the configured MGCP protocol version.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.3(2)T1
|
This command was introduced.
|
12.3(4)T
|
The signals v0.1 keyword was added.
|
12.3(8)T
|
The dlcx-clear-signals keyword was added.
|
12.3(11)T
|
The ack-init-rsip disable and init-rsip-per-insvc legacy keywords were added.
|
12.3(14)T
|
The q-mode-enduring legacy keyword was added.
|
12.3(16)
|
The mdcx-sdp ack-with-sdp keyword was added.
|
12.4(4)T
|
The rsip-range keyword was added.
|
Usage Guidelines
Table 28 describes the MGCP behavior keywords.
Table 28 mgcp behavior keywords
Keywords
|
Description
|
auep v0.1
|
Forces the gateway to reply to an Audit Endpoint (AUEP) command according to the MGCP Version 0.1 specification. This behavior applies specifically to the case in which the endpoint being audited is out of service. If this command is used, an AUEP command on an out-of-service endpoint results in a return error code of 501.
By default, or when the no form of this command is issued, MGCP Version 1.0 behavior occurs—that is, response code 200 is sent for all valid endpoints, regardless of their service state, and requested audit information follows. In either case, the configured MGCP version is ignored.
|
signals v0.1
|
Forces the gateway to handle call signaling tones such as ringback, network congestion, reorder, busy, and off-hook warning tones according to the MGCP Version 0.1 specification. The MGCP Version 0.1 specification treats some call signaling tones as on-off tones, which terminate only after a specific MGCP message has been received to stop the signal.
By default, or when the no form of this command is issued, RFC 3660 is followed, which treats the call signaling tones as timeout tones that terminate when the appropriate timeout expires. In either case, the configured MGCP version is ignored.
|
ack-init-rsip disable
|
Forces the gateway to accept commands from the call agent before its initial ReStart In Progress (RSIP) messages are acknowledged, that is, 405 error codes do not occur. The gateway also behaves in this way if it is configured for MGCP Version 1.0 and earlier versions.
By default, or when the no form of this command is issued, if the gateway is configured for MGCP Version RFC 3435-1.0 or later versions, it responds to call agent commands with a 405 error code until its initial RSIPs are acknowledged by the call agent.
|
init-rsip-per-insvc legacy
|
Forces the gateway to always use the restart method of Restart for its initial RSIP messages, regardless of the service state of the endpoints. Wildcard demotion may occur as needed, based on configuration.
By default, or when the no form of this command is issued, if the MGCP gateway is running Version RFC 3435-1.0, the default restart method for initial RSIPs depends on the service state of the endpoint. For in-service endpoints, the restart method is Restart. For out-of-service endpoints, the restart method is Forced.
Additionally, regardless of the protocol version, the gateway always attempts to use a wildcard RSIP * message to minimize the number of messages sent to the call agent. The gateway sends the fully wildcarded RSIP * message as long as the following requirements are met:
• MGCP is configured for a single profile (or default profile) only.
• A single DS0 group is configured for each DS1.
• The single DS0 group includes all the possible DS0s.
• All endpoints are in the same service state (when the MGCP call agent is configured for Version RFC 3435-1.0 and the no form of this command is issued).
If any one of these requirements is not met, the initial RSIP * message is demoted and sent as multiple RSIP messages to the call agent. When demoting, the gateway continues to attempt to minimize the number of RSIP messages.
|
dlcx-clear-signals all
|
Forces the gateway to turn off or clear all signals when it receives a Delete Connection (DLCX) message from the call agent even if there is no S: line in the message.
By default, and as specified by RFC 3435, the gateway maintains current endpoint signals if a DLCX has no S: line. The MGCP gateway clears signals only when the call agent explicitly turns off each signal or sends an empty S: line to clear all signals.
|
q-mode-enduring legacy
|
Allows the gateway to keep the current quarantine mode when a request notification (RQNT) does not contain a Q: line. Operation reverts to legacy behavior, which is the following:
Note Only the first bulleted item results in modified behavior.
• No Q: line—No change is made to quarantine mode (whatever mode was set in the previous command persists)
• Empty Q: line—Reset quarantine mode to the default
• Valid Q: line—Set quarantine mode per command
• Invalid Q: line—Generate an error
Note The quarantine mode is set with the mgcp quarantine mode command, and the default is discarded. This is the configuration mode used if the quarantine mode is not specified in the RQNT or embedded request for events.
By default, or when the no form of this command is issued, MGCP behaves according to both MGCP Version 0.1 and MGCP Version 1.0 specifications—that is, the MGCP gateway resets the quarantine mode to the default in the running configuration if no Q: line is present.
|
mdcx-sdp ack-with-sdp
|
Forces the gateway to generate a Session Description Protocol (SDP) in response to a modify connection (MDCX) message that contains an SDP. The response contains the SDP only if the MDCX is responded to with a positive (200) ack.
By default, or when the no form of this command is issued, the positive ack reply generates an SDP only if any of the parameters have changed from the previous SDP that was generated by the gateway. With this command, even if all the parameters are the same as the previous SDP, the SDP is still generated. This enables operation with a SIP gateway that expects an SDP response to every CRCX or MDCX message.
|
rsip-range
|
Determines whether the gateway can generate RSIP messages with endpoint ranges for versions other than Trunking Gateway Control Protocol (TGCP). By default, endpoint ranges are generated in RSIP messages for TGCP only. The following category and version values can be configured:
• rsip-range all—Allows the gateway to generate endpoint ranges in RSIP messages for all MGCP versions.
• rsip-range none—Prevents the gateway from generating endpoint ranges for all MGCP versions, including TGCP.
• rsip-range tgcp-only—Allows the gateway to generate endpoint ranges in RSIP messages only if the configured protocol is TGCP. This is the default value.
TGCP specifications require support for endpoint ranges in RSIP messages. Not all call agents may support this functionality however. In such cases, selecting none allows the gateway to interoperate with these call agents. Conversely, if a nonTGCP call agent supports endpoint ranges, selecting all allows the gateway to take advantage of this functionality.
|
Examples
The following example forces the gateway to send MGCP 0.1 responses to AUEP commands:
Router(config)# mgcp behavior auep v0.1
The following example forces the gateway to provide MGCP 0.1 treatment of call signaling tones:
Router(config)# mgcp behavior signals v0.1
The following example disables the requirement that the RSIP be acknowledged before a call agent command is accepted:
Router(config)# mgcp behavior ack-init-rsip disable
The following example configures the gateway to not demote initial RSIPs based on the service state of the endpoints:
Router(config)# mgcp behavior init-rsip-per-insvc legacy
The following example forces the gateway to turn off all signals on receipt of a DLCX:
Router(config)# mgcp behavior dlcx-clear-signals all
The following examples sets quarantine mode to legacy:
Router(config)# mccp behavior q-mode-enduring legacy
The following example forces the gateway to generate an SDP in the response to an MDCX with SDP:
Router(config)# mgcp behavior mdcx-sdp ack-with-sdp
The following example allows the gateway to generate endpoint ranges for all MGCP versions:
Router(config)# mccp behavior rsip-range all
Use the following commands to display the MGCP behavior and versions settings:
Router# show running-config | include behavior
mgcp behavior signals v0.1
mgcp behavior ack-init-rsip disable
mgcp behavior init-rsip-per-insvc legacy
mgcp behavior q_mode-enduring legacy
mgcp behavior dlcx-clear-signals all
mgcp behavior mdcx-sdp ack-with-sdp
mgcp behavior rsip-range all
Router# show running-config | include call-agent
mgcp call-agent ca123.example.net 4040 service-type mgcp version rfc3435-1.0
Related Commands
Command
|
Description
|
mgcp
|
Allocates resources for MGCP and starts the MGCP daemon.
|
mgcp call-agent
|
Specifies the address and protocol for the MGCP call agent.
|
show mgcp
|
Displays values for MGCP parameters.
|
show running-config
|
Displays the contents of the currently running configuration file.
|
mgcp behavior comedia-check-media-src
To force IP address and port detection from the first RTP packet received for the entire Media Gateway Control Protocol (MGCP) gateway and enable the callback function selected by MGCP, use the mgcp behavior comedia-check-media-src command in global configuration mode.
mgcp behavior comedia-check-media-src {enable | disable}
Syntax Description
enable
|
Forces ip address and port detection.
|
disable
|
Disables ip address and port detection.
|
Command Default
Disabled
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.4(11)T
|
This command was introduced.
|
Usage Guidelines
Use the mgcp behavior comedia-check-media-src command to force IP address and port detection from the first rtp packet received for the entire MGCP gateway. This command also enables the callback function selected by MGCP, and with the configuration of the mgcp behavior comedia-role command contributes to the determination of whether to populate the SDP direction attribute.
Examples
The following example shows IP address and port detection being enabled for the entire MGCP gateway:
Router(config)# mgcp behavior comedia-check-media-src enable
Related Commands
Field
|
Description
|
mgcp
|
Allocates resources for the MGCP and starts the daemon.
|
mgcp behavior comedia-role
|
Specifies the location of the configured MGCP gateway.
|
mgcp behavior comedia-sdp-force
|
Forces the SDP to place the direction attribute in the SDP using the command as a reference.
|
show mgcp connection
|
Displays information for active MGCP-controlled connections.
|
mgcp behavior comedia-role
To specify the location of the configured Media Gateway Control Protocol (MGCP) gateway, use the mgcp behavior comedia-role command in global configuration mode.
mgcp behavior comedia-role {active | passive | none}
Syntax Description
active
|
Specifies MGCP gateways located inside NAT.
|
passive
|
Specifies MGCP gateways located outside of NAT.
|
none
|
Specifies gateway behavior be as in releases prior to Cisco IOS Release 12.4(11)T.
|
Command Default
none
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.4(11)T
|
This command was introduced.
|
Usage Guidelines
This command will specify the location of the configured MGCP gateway and its role in solving the NAT media traversal. A comedia role of active is configured for MGCP gateways inside NAT. For gateways located outside of NAT a comedia role of passive is configured. Configuring the none keyword specifies gateway behavior before the mgcp behavior comedia-role command was introduced.
The mgcp behavior comedia-role and mgcp behavior comedia-check-media-src commands are used to determine when to populate the sdp direction attribute.
Examples
The following example shows the location of the MGCP gateway configured for MGCP gateways inside NAT:
Router(config)# mgcp behavior comedia-role active
Related Commands
Field
|
Description
|
mgcp behavior comedia-check-media-src
|
Enables ip address and port detection from the first rtp packet received for the entire MGCP gateway.
|
mgcp behavior comedia-sdp-force
|
Forces the SDP to place the direction attribute in the SDP using the command as a reference.
|
mgcp
|
Allocates resources for the MGCP and starts the daemon.
|
show mgcp
|
Displays the entire mgcp configuration.
|
show mgcp connection
|
Displays information for active MGCP-controlled connections.
|
mgcp behavior comedia-sdp-force
To force MGCP to place the direction attribute in the Session Description Protocol (SDP), use the mgcp behavior comedia-sdp-force command in global configuration mode.
mgcp behavior comedia-sdp-force {enable | disable}
Syntax Description}
enable
|
Forces MGCP to place the direction attribute in the SDP.
|
disable
|
Allows the mgcp behavior comedia-role, and mgcp behavior comedia-check-media-src commands and the remote descriptor to determine if the direction attribute is added to the SDP.
|
Command Default
Disabled.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.4(11)T
|
This command was introduced.
|
Usage Guidelines
This command will force the MGCP to always place the direction attribute in the SDP using the mgcp behavior comedia-sdp-force command as a reference. When the mgcp behavior comedia-sdp-force command is configured with the disable keyword, the mgcp behavior comedia-role and mgcp behavior comedia-check-media-src commands and the remote descriptor determine if the direction is added to the SDP. If the role is not configured, this command has no effect.
Examples
The following example configuration forces the direction attribute to be placed in the SDP:
Router(config)# mgcp behavior comedia-sdp-force enable
Related Commands
Field
|
Description
|
mgcp
|
Allocates resources for the MGCP and starts the daemon.
|
mgcp behavior comedia-check-media-src
|
Enables ip address and port detection from the first rtp packet received for the entire MGCP gateway.
|
mgcp behavior comedia-role
|
Specifies the location of the configured MGCP gateway.
|
show mgcp connection
|
Displays information for active MGCP-controlled connections.
|
mgcp bind
To configure the source address for signaling and media packets to the IP address of a specific interface, use the mgcp bind command in global configuration mode. To disable binding, use the no form of this command.
mgcp bind {control | media} source-interface interface-id
no mgcp bind {control | media}
Syntax Description
control
|
Binds only Media Gateway Control Protocol (MGCP) control packets.
|
media
|
Binds only media packets.
|
source-interface
|
Specifies an interface as the source address of MGCP or Session Initiation Protocol (SIP) packets.
Note The MGCP Gateway Support for the mgcp bind Command feature does not support SIP.
|
interface-id
|
Specifies the interface for source address of MGCP packets. The following are valid source addresses:
• Async—Async interface
• BVI—Bridge-Group Virtual Interface
• CTunnel—CTunnel interface
• Dialer—Dialer interface
• FastEthernet—Fast Ethernet IEEE 802.3
• Lex—Lex interface
• Loopback—Loopback interface
• MFR—Multilink Frame Relay bundle interface
• Multilink—Multilink-group interface
• Null—Null interface
• Serial—Serial
• Tunnel—Tunnel interface
• Vif—PGM Multicast Host interface
• Virtual-Template—Virtual Template interface
• Virtual-TokenRing—Virtual Token Ring
|
Command Default
Binding is disabled.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.2(13)T
|
This command was introduced for MGCP on the Cisco 2400 series, Cisco 2600 series, Cisco 3600 series, Cisco 3700 series, Cisco AS5300, Cisco AS5350, Cisco AS5400, Cisco AS5850, Cisco IAD2421, Cisco MC3810, and Cisco VG200.
|
Usage Guidelines
If the mgcp bind command is not enabled, the IP layer still provides the best local address.
A warning message is displayed if any of the following situations occur:
•
When there are active MGCP calls on the gateway, the mgcp bind command is rejected for both control and media.
•
If the bind interface is not up, the command is accepted but does not take effect until the interface comes up.
•
If the IP address is not assigned on the bind interface, the mgcp bind command is accepted but takes effect only after a valid IP address is assigned. During this time, if MGCP calls are up, the mgcp bind command is rejected.
•
When the bound interface goes down, either because of a manual shutdown on the interface or because of operational failure, the bind activity is disabled on that interface.
•
When bind is not configured on the media gateway controller (MGC), the IP address used for sourcing MGCP control and media is the best available IP address.
Examples
The following example shows how the configuration of bind interfaces is shown when show running-config information is viewed:
mgcp bind control source-interface FastEthernet0
mgcp bind media source-interface FastEthernet0
Related Commands
Command
|
Description
|
show mgcp
|
Displays values for MGCP parameters.
|
mgcp block-newcalls
To block new calls while maintaining existing calls, use the mgcp block-newcalls command in global configuration mode. To resume media gateway control protocol (MGCP) operation, use the no form of this command.
mgcp block-newcalls
no mgcp block-newcalls
Syntax Description
This command has no arguments or keywords.
Command Default
New call are not blocked.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(1)T
|
This command was introduced on the Cisco AS5300.
|
12.1(3)T
|
This command was implemented on the following platforms: Cisco 2600 series, Cisco 3660, and Cisco uBR924.
|
12.2(11)T
|
This command was implemented on the Cisco AS5850.
|
Usage Guidelines
This command is valid only if the mgcp command is enabled.
Once you issue this command, all requests for new connections (CreateConnection requests) are denied. All existing calls are maintained until participants terminate them or you use the no mgcp command. When the last active call is terminated, the MGCP daemon is terminated and all resources that are allocated to it are released. The no mgcp block-newcalls command returns the router to normal MGCP operations.
Examples
The following example prevents the gateway from receiving new calls:
Router(config)# mgcp block-newcalls
Related Commands
Command
|
Description
|
mgcp
|
Allocates resources for the MGCP and starts the daemon.
|
mgcp call-agent
To configure the address and protocol of the call agent for Media Gateway Control Protocol (MGCP) endpoints on a media gateway, use the mgcp call-agent command in global configuration mode. To reset to the default, use the no form of this command.
mgcp call-agent {host-name | ip-address} [port] [service-type type [version protocol-version]]
no mgcp call-agent
Syntax Description
host-name
|
Fully qualified domain name (including host portion) for the call agent; for example, ca123.example.net.
|
ip-address
|
IP address for the call agent.
|
port
|
(Optional) User Datagram Protocol (UDP) port over which the gateway sends messages to the call agent. Range is from 1025 to 65535.
|
service-type type
|
(Optional) Type of Gateway control service protocol. It can be one of the following values:
• mgcp—Media Gateway Control Protocol
• ncs—Network Communication Server
• sgcp—Simple Gateway Control Protocol
• tgcp—Trunking Gateway Control Protocol
|
version protocol-version
|
(Optional) Version of gateway control service protocol. It can be one of the following values:
• For service-type mgcp: 0.1, 1.0, rfc3435-1.0
– 0.1—Version 0.1 of MGCP (Internet Draft)
– 1.0—Version 1.0 of MGCP (RFC2705 Version 1.0)
– rfc3435-1.0—Version 1.0 of MGCP (RFC3435 Version 1.0)
Note This configuration value is used to allow the router to tailor the MGCP application behavior to be compatible based on the RFC2705 or RFC3435 definitions.
• For service-type ncs: 1.0
• For service-type sgcp: 1.1, 1.5
• For service-type tgcp: 1.0
|
Command Default
Call-agent UDP port: 2727 for MGCP 1.0, NCS 1.0, and TGCP 1.0
Call-agent UDP port: 2427 for MGCP 0.1 and SGCP
Call-agent UDP port: 2427 for Cisco CallManager
Service type and version: mgcp 0.1
Service type for Cisco CallManager: mgcp
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(1)T
|
This command was introduced on the Cisco AS5300.
|
12.1(3)T
|
The service-type type keyword and argument were added.
|
12.1(5)XM
|
The version protocol-version keyword and argument were added.
|
12.2(2)T
|
This command was integrated into Cisco IOS Release 12.2(2)T.
|
12.2(2)XA
|
New service types (ncs and tgcp) and appropriate versions were added. Version 1.0 was added for the mgcp service type. This command was implemented on Cisco 2600 series and Cisco 3600 series routers.
|
12.2(4)T
|
This command was integrated into Cisco IOS Release 12.2(4)T.
|
12.2(2)XN
|
This command was implemented to provide enhanced MGCP voice gateway interoperability on Cisco CallManager Version 3.1 for the following platforms: Cisco 2600 series, Cisco 3600 series, and Cisco VG200.
|
12.2(11)T
|
This command was integrated into Cisco IOS Release 12.2(11)T and Cisco CallManager Version 3.2 and implemented on the Cisco IAD2420 series and Cisco AS5850.
|
12.2(13)T
|
This command was integrated into Cisco IOS Release 12.2(13)T and implemented on the Cisco AS5300, Cisco AS5350, and Cisco AS5400.
|
12.3(8)T 1
|
This command was modified by adding the RFC3435-1.0 option to the command.
|
Usage Guidelines
Global call-agent configuration (with this command) and call-agent configuration for an MGCP profile (with the mgcp profile call-agent command) are mutually exclusive; the first to be configured on an endpoint blocks configuration of the other on the same endpoint.
Identifying call agents by Domain Name System (DNS) name rather than by IP address in the mgcp call-agent and mgcp profile call-agent commands provides call-agent redundancy, because a DNS name can have more than one IP address associated with it. If a call agent is identified by DNS name and a message from the gateway fails to reach the call agent, the max1 lookup and max2 lookup commands enable a search from the DNS lookup table for a backup call agent at a different IP address.
The port argument configures the call-agent port number (the UDP port over which the gateway sends messages to the call agent). The reverse (the gateway port number, or the UDP port over which the gateway receives messages from the call agent) is configured by specifying a port number in the mgcp command.
When the service type is set to mgcp, the call agent processes the restart in progress (RSIP) error messages sent by the gateway if the mgcp sgcp restart notify command is enabled. When the service type is set to sgcp, the call agent ignores the RSIP messages.
Use this command on any platform and media gateway.
The mgcp service type supports the RSIP error messages sent by the gateway if the mgcp sgcp restart notify command is enabled.
Examples
The following examples illustrate several formats for specifying the call agent (use any one of these formats):
Router(config)# mgcp call-agent 209.165.200.225 service-type mgcp version 1.0
Router(config)# mgcp call-agent 10.0.0.1 2427 service-type mgcp version rfc3435-1.0
Router(config)# mgcp call-agent igloo.northpole.net service-type ncs
Router(config)# mgcp call-agent igloo.northpole.net 2009 service-type sgcp version 1.5
Router(config)# mgcp call-agent 209.165.200.225 5530 service-type tgcp
Related Commands
Command
|
Description
|
call-agent
|
Specifies a call-agent address and protocol for an MGCP profile.
|
debug mgcp events
|
Displays debug messages for MGCP events.
|
max1 lookup
|
Enables DNS lookup of the MGCP call agent address when the suspicion threshold is reached.
|
max2 lookup
|
Enables DNS lookup of the MGCP call agent address when the disconnect threshold is reached.
|
mgcp
|
Starts and allocates resources for the MGCP daemon.
|
mgcp profile
|
Initiates MGCP profile mode to create and configure an MGCP profile associated with one or more endpoints, or to configure the default profile.
|
mgcp sgcp restart notify
|
Starts RSIP message processing in the MGCP application.mgcp
|
sgcp restart notify
|
Enables the MGCP application to process SGCP-type RSIP messages.
|
mgcp codec
To select the codec type and its optional packetization period value, use the mgcp codec command in global configuration mode. To set the codec to its default value of G711 u-law, use the no form of this command.
mgcp codec type [packetization-period value]
no mgcp codec
Syntax Description
type
|
Type of codec supported. Valid codecs include the following: G711alaw, G711ulaw, G723ar53, G723ar63, G723r53, G723r63, G729ar8, G729br8, and G729r8.
|
packetization-period value
|
(Optional) Packetization period. This value is useful when the preferred compression algorithm and packetization period parameter is not provided by the media gateway controller. The range depends on the type of codec selected:
• Range for G729 is 10 to 220 in increments of 10.
• Range for G711 is 10 to 20 in increments of 10.
• Range for G723 is 30 to 330 in increments of 10.
|
Command Default
G711 u-law codec
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(1)T
|
This command was introduced on the Cisco AS5300.
|
12.1(3)T
|
This command was implemented on the following platforms: Cisco 2600 series, Cisco 3660, and Cisco uBR924.
|
12.1(5)XM
|
This command was implemented on the Cisco MC3810.
|
12.2(2)T
|
This command was integrated into Cisco IOS Release 12.2(2)T and implemented on the Cisco 7200 series.
|
12.2(11)T
|
This command was implemented on the Cisco AS5850.
|
Examples
The following example specifies the codec type:
Router(config)# mgcp codec g711alaw
The following example sets the codec type and packetization period:
Router(config)# mgcp codec g729r8 packetization-period 150
Related Commands
Command
|
Description
|
mgcp
|
Starts the MGCP daemon.
|
mgcp codec gsmamr-nb
To specify the Global System for Mobile Adaptive Multi-Rate Narrow Band (GSMAMR-NB) codec for an MGCP dial peer, use the mgcp codec gsmamr-nb command in dial peer voice configuration mode. To disable the GSMAMR-NB codec, use the no form of this command.
mgcp codec gsmamr-nb [packetization-period 20] [encap rfc3267] [frame-format
{bandwidth-efficient | octet-aligned [crc | no-crc]}] [modes modes-value]
no mgcp codec gsmamr-nb
Syntax Description
packetization-period 20
|
(Optional) Sets the packetization period at 20 ms.
|
encap rfc3267
|
(Optional) Sets the encapsulation value to comply with RFC 3267.
|
frame-format
|
(Optional) Specifies a frame format. Supported values are octet-aligned and bandwidth-efficient. The default is octet-aligned.
|
crc | no-crc
|
(Optional) CRC is applicable only for octet-aligned frame format. If you enter bandwidth-efficient frame format, the crc | no-crc options are not available because they are inapplicable.
|
modes
|
(Optional) The eight speech-encoding modes (bit rates between 4.75 and 12.2 kbps) available in the GSMAMR-NB codec.
|
modes-value
|
(Optional) Valid values are from 0 to 7. You can specify modes as a range (for example, 0-2), or individual modes separated by commas (for example, 2,4,6), or a combination of the two (for example, 0-2,4,6-7).
|
Command Default
Packetization period is 20 ms.
Encapsulation is rfc3267.
Frame format is octet-aligned.
CRC is no-crc.
Modes value is 0-7.
Command Modes
Dial peer voice configuration (config-dial-peer)
Command History
Release
|
Modification
|
12.4(11)XW
|
This command was introduced.
|
Usage Guidelines
Use the mgcp codec gsmamr-nb command to configure the GSMAMR-NB codec and its parameters on the Cisco AS5350XM and Cisco AS5400XM platforms.
Examples
The following example shows how to set the codec to gsmamr-nb and set the parameters:
Router(config-dial-peer)# mgcp codec gsmamr-nb packetization-period 20 encap rfc3267
frame-format octet-aligned crc
Related Commands
Command
|
Description
|
mgcp
|
Starts the MGCP daemon.
|
mgcp codec ilbc
To specify the internet Low Bandwidth Codec (iLBC) for an MGCP dial peer, use the mgcp codec ilbc command in dial peer voice configuration mode. To disable the iLBC, use the no form of this command.
mgcp codec ilbc mode frame_size [packetization-period value]
no mgcp codec ilbc
Syntax Description
mode frame_size
|
Specifies the iLBC operating frame mode that is encapsulated in each packet in milliseconds (ms). Valid entries are the following:
• 20—20, 40, 60, 80, 100 or 120 ms frames for 15.2 kbps bit rate. Default is 20.
• 30—30, 60, 90, or 120 ms frames for 13.33 kbps bit rate. Default is 30.
|
packetization-period value
|
(Optional) Packetization period. This value is useful when the preferred compression algorithm and packetization period parameter are not provided by the media gateway controller. The range is 20 to120 in increments of 10.
|
Command Default
20ms frames for a 15.2 kbps bit rate.
Command Modes
Dial peer voice configuration (config-dial-peer)
Command History
Release
|
Modification
|
12.4(11)XW
|
This command was introduced.
|
Usage Guidelines
The iLBC is only supported on Cisco AS5350XM and Cisco AS5400XM Universal Gateways with Voice Feature Cards (VFCs) and IP-to-IP gateways with no transcoding and conferencing.
Examples
The following example shows how to set the MGCP codec to ilbc and set the parameters:
Router(config-dial-peer)# mgcp codec ilbc mode 20 packetization-period 60
Related Commands
Command
|
Description
|
mgcp
|
Starts the MGCP daemon.
|
mgcp debug-header
To enable the display of Media Gateway Control Protocol (MGCP) module-dependent information in the debug header, use the mgcp debug-header command in global configuration mode. To disable the MGCP module-dependent information, use the no form of this command.
mgcp debug-header
no mgcp debug-header
Syntax Description
This command has no arguments or keywords.
Command Default
MGCP module-dependent information in the debug header is enabled.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.4(4)T
|
This command was introduced.
|
Usage Guidelines
This command determines whether MGCP module-dependent information is displayed in the standard header for debug output.
Examples
The following example enables MGCP module-dependent information in debug headers:
Router(config)# mgcp debug-header
Related Commands
Command
|
Description
|
debug mgcp all
|
Enables all debug traces for MGCP.
|
debug mgcp endpoint
|
Enables debug traces for a specific MGCP endpoint.
|
mgcp
|
Starts the MGCP daemon.
|
show debugging
|
Displays the types of debugging that are enabled.
|
show mgcp
|
Displays the MGCP parameter settings.
|
voice call debug
|
Specifies the format of the debug header.
|
mgcp package-capability
To specify MGCP package capability type for a media gateway, use the mgcp package-capability command in global configuration mode. To remove a specific MGCP package capability from the list of capabilities, use the no form of this command.
mgcp package-capability package
no mgcp package-capability package
Syntax Description
package
|
Specifies one of the following package capabilities (available choices vary according to platform and release version; check the command line interface help for a list):
• as-package—Announcement server package.
• atm-package—ATM package. MGCP for VoATM using ATM adaptation layer 2 (AAL2) permanent virtual circuit (PVC) and a subset of ATM extensions specified by Cisco is supported. Switched virtual circuit (SVC)-based VoAAL2 is not supported.
• dt-package—DT package. Events and signals for immediate-start and basic dual-tone multifrequency (DTMF) and dial-pulse trunks.
• dtmf-package—DTMF package. Events and signals for DTMF relay.
• fxr-package—FXR package for fax transmissions.
• gm-package—Generic media package. Events and signals for several types of endpoints, such as trunking gateways, access gateways, or residential gateways.
• hs-package—Handset package. An extension of the line package, to be used when the gateway is capable of emulating a handset.
• it-package—PacketCable Trunking Gateway Control Protocol (TGCP) ISDN User Part (ISUP) trunk package.
• lcs-package—MGCP Line Control Signaling (LCS) package.
• line-package—Line package. Events and signals for residential lines. This is the default for residential gateways.
• md-package—MD package. Provides support for Feature Group D (FGD) Exchange Access North American (EANA) protocol signaling.
• mdste-package—Modem relay Secure Telephone Equipment (STE) package. Events and signals for modem connections enabling a secure communication path between IP-STE and STE.
• mf-package—MF package. Events and signals for multifrequency tones (MF) relay.
• mo-package—MO (Multifrequency Operations) package. Events and signals for Operator Service Signaling protocol for Feature Group D (FGD).
|
|
• ms-package—MS package. Events and signals for MF single-stage dialing trunks, including wink-start and immediate-start PBX Direct Inward Dialing (DID) and Direct Outward Dialing (DOD), basic R1, and FGD Terminating Protocol.
• nas-package—Network Access Server (NAS) Package. Accepts NAS requests from the call agent.
Note For Cisco IOS Release 12.4(4)T and later releases, the nas-package is not enabled by default.
• script-package—Script package. Events and signals for script loading.
• srtp-package—Secure RTP (SRTP) package. Enables MGCP gateway capability to process SRTP packages. The default is disabled.
• trunk-package—Trunk package. Events and signals for trunk lines. This is the default for trunking gateways.
|
Command Default
For residential gateways: line-package
For trunk gateways: trunk-package
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.0(7)XR2
|
This command was introduced on the Cisco AS5300.
|
12.1(1)T
|
This command was integrated into Cisco IOS Release 12.1(1)T.
|
12.1(3)T
|
This command was implemented on the following platforms: Cisco uBR924, Cisco 2600 series, and Cisco 3660. The line-package, rtp-package, and script-package keywords were added and a distinction was made between residential and trunking gateways.
|
12.1(5)XM
|
This command was implemented on the Cisco 3600 series and Cisco MC3810. The atm-package, hs-package, ms-package, dt-package, and mo-package keywords were added.
|
12.2(2)T
|
This command was integrated into Cisco IOS Release 12.2(2)T and implemented on the Cisco 7200 series.
|
12.2(2)XB
|
The res-package and nat-package keywords were added.
|
12.2(8)T
|
This command was integrated into Cisco IOS Release 12.2(8)T.
|
12.2(11)T
|
This command was implemented on the following platforms: Cisco AS5300, Cisco AS5350, Cisco AS5400, and Cisco AS5850.
|
12.3(1)
|
The fxr-package keyword was added.
|
12.3(8)T
|
The lcs-package keyword was added.
|
12.3(8)XY
|
The pre-package keyword was added.
|
12.3(11)T
|
This command was integrated into Cisco IOS Release 12.3(11)T. The srtp-package keyword was added.
|
12.4(2)T
|
The mdste-package keyword was added.
|
12.4(4)T
|
The md-package keyword was added. The nas-package keyword is not enabled by default.
|
Usage Guidelines
Events specified in the MGCP messages from the call agent must belong to one of the supported packages. Otherwise, connection requests are refused by the gateway.
By default, certain packages are configured as supported on each platform type. Using this command, you can configure additional package capability only for packages that are supported by your call agent. You can also disable support for a package with the no form of this command. Enter each package you want to add as a separate command.
Note
Beginning in Cisco IOS Release12.4(4)T the nas-package is not enabled by default.
The md-package is enabled automatically when a T1 interface is configured to use FGD EANA signaling with the ds0-group command.
Use the show mgcp command to display the packages that are supported on the gateway.
Use this command before specifying a default package with the mgcp default-package command. Specify at least one default package.
Packages that are available to be configured with this command vary by platform and type of gateway. Use the CLI help to ascertain the packages available on your gateway. This example shows the CLI help output for a Cisco 3660:
Router# mgcp package-capability ?
as-package Select the Announcement Server Package
atm-package Select the ATM Package
dtmf-package Select the DTMF Package
gm-package Select the Generic Media Package
hs-package Select the Handset Package
line-package Select the Line Package
mf-package Select the MF Package
res-package Select the RES Package
rtp-package Select the RTP Package
trunk-package Select the Trunk Package
Note
The CAS packages configured using the dt-package, md-package, mo-package, and ms-package keywords are available only as default packages using the mgcp default-package command. They do not appear as keywords in the mgcp package-capability command. This is because all the other packages are configured on a per-gateway basis, whereas the CAS packages are defined on a per-trunk basis. The per-trunk specification is made when the trunk is configured using the ds0-group command.
When the lcs-package keyword is used on the Cisco Integrated Access Device (IAD), the named telephony events (NTEs) associated with the line control signalling (LCS) package are enabled automatically. NTEs are used by a media gateway to transport telephony tones and trunk events across a packet network. See RFC 2833.
Note
Using NTE in the LCS package requires a successful MGCP/Session Definition Protocol (SDP) negotiation during call setup. The Call Agent must use the Line Connection Option's fmtp parameter keyword, telephone-event, to indicate which LCS NTEs will be used. If the IAD has been configured to use the LCS package, the IAD will answer with a SDP containing the requested LCS NTE events.
Examples
The following example enables the modem relay STE package, trunk package, DTMF package, and script package on the gateway, and then names the trunk package as the default package for the gateway:
Router(config)# mgcp package-capability mdste-package
Router(config)# mgcp package-capability trunk-package
Router(config)# mgcp package-capability dtmf-package
Router(config)# mgcp package-capability script-package
Router(config)# mgcp default-package trunk-package
Related Commands
Command
|
Description
|
ds0-group
|
Specifies the DS0 time slots that make up a logical voice port
|
mgcp
|
Starts the MGCP daemon.
|
mgcp default-package
|
Configures the default package capability type for the media gateway.
|
show mgcp
|
Displays the supported MGCP packages.
|
mgcp dtmf-relay
To ensure accurate forwarding of digits on compressed codecs, use the mgcp dtmf-relay command in global configuration mode. To disable this process for uncompressed codecs, use the no form of this command.
Voice over IP (VoIP)
mgcp dtmf-relay voip codec {all | low-bit-rate} mode {cisco | nse | out-of-band | nte-gw | nte-ca}
no mgcp dtmf-relay voip
Voice over AAL2 (VoAAL2)
mgcp dtmf-relay voaal2 codec [all | low-bit-rate]
no mgcp dtmf-relay voaal2
Syntax Description
voip
|
VoIP calls.
|
voaal2
|
Voice over AAL2 (VoAAL2) calls (using Annex K type 3 packets).
|
all
|
Dual-tone multifrequency (DTMF) relay is to be used with all voice codecs.
|
low-bit-rate
|
DTMF relay is to be used with only low-bit-rate voice codecs, such as G.729.
|
cisco
|
Real-time Transport Protocol (RTP) digit events are encoded using a proprietary format similar to Frame Relay as described in the FRF.11 specification. The events are transmitted in the same RTP stream as nondigit voice samples, using payload type 121.
|
nse
|
Named service event (NSE) RTP digit events are encoded using the format specified in RFC 2833, Section 3.0, and are transmitted in the same RTP stream as nondigit voice samples, using the payload type that is configured using the mgcp tse payload command.
|
out-of-band
|
Media Gateway Control Protocol (MGCP) digit events are sent using NTFY messages to the call agent, which plays them on the remote gateway using RQNT messages with S: (signal playout request).
|
nte-gw
|
RTP digit events are encoded using the named telephony event (NTE) format specified in RFC 2833, Section 3.0, and are transmitted in the same RTP stream as nondigit voice samples. The payload type is negotiated by the gateways before use. The configured value for payload type is presented as the preferred choice at the beginning of the negotiation.
|
nte-ca
|
Identical to the nte-gw keyword behavior except that the call agent's local connection options a: line is used to enable or disable DTMF relay.
|
Command Default
For the Cisco 7200 series router, the command is not enabled.
For all other platforms, noncompressed codecs are disabled.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(3)T
|
This command was introduced.
|
12.1(5)XM
|
This command was implemented on the Cisco MC3810.
|
12.2(2)T
|
This command was integrated into Cisco IOS Release 12.2(2)T and implemented on the Cisco 7200 series. The voaal2 keyword was added.
|
12.2(2)XB
|
The nte-gw and nte-ca keywords were added to this command.
|
12.2(8)T
|
This command was integrated into Cisco IOS Release 12.2(8)T.
|
12.2(2)XN
|
This command was implemented on the following platforms: Cisco 2600 series, Cisco 3600 series, and Cisco Voice Gateway 200 (Cisco VG200).
|
12.2(11)T
|
This command was integrated into Cisco IOS Release 12.2(11)T and Cisco CallManager Version 2.0. This command was implemented on the following platforms: Cisco AS5300, Cisco AS5400, Cisco AS5850, and Cisco IAD2420.
|
12.2(15)T
|
This command was implemented on the Cisco 1751 and Cisco 1760.
|
Usage Guidelines
Use this command to access an announcement server or a voice-mail server that cannot decode RTP packets containing DTMF digits. When the mgcp dtmf-relay command is active, the DTMF digits are removed from the voice stream and carried so that the server can decode the digits.
Only VoIP supports the mode keyword for forwarding digits on codecs.
Examples
The following example removes the DTMF tone from the voice stream and sends FRF.11 with a special payload for the DTMF digits:
mgcp dtmf-relay codec mode cisco
The following example configures a low-bit-rate codec using VoIP in NSE mode:
mgcp dtmf-relay voip codec low-bit-rate mode nse
The following example configures a codec for VoAAL2:
mgcp dtmf-relay voaal2 codec all
The following example configures a low-bit-rate codec using VoIP in NSE mode:
mgcp dtmf-relay voip codec low-bit-rate mode nse
The following example sets the dtmf-relay codec and mode to gateway:
mgcp dtmf-relay codec mode nte-gw
Related Commands
Command
|
Description
|
mgcp
|
Starts the MGCP daemon.
|
mgcp endpoint offset
To enable incrementing of the POTS or DS0 portion of an endpoint name when using the Network-based Call Signaling (NCS) 1.0 profile of Media Gateway Control Protocol (MGCP), use the mgcp endpoint offset command in global configuration mode. To reset to the default, use the no form of this command.
mgcp endpoint offset
no mgcp endpoint offset
Syntax Description
This command has no arguments or keywords.
Command Default
Disabled
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.2(2)XA
|
This command was introduced.
|
12.2(4)T
|
This command was integrated into Cisco IOS Release 12.2(4)T.
|
12.2(11)T
|
This command was implemented on the Cisco AS5300 and Cisco AS5850.
|
Usage Guidelines
This command is used with NCS 1.0 to increment the POTS or DS0 portion of an endpoint name by 1 to minimize potential interoperability problems with call agents (media gateway controllers).
NCS 1.0 mandates that the port number of an endpoint be based on 1, and port numbering on some gateway platforms is based on 0.
When this command is configured, it offsets all endpoint names on the gateway. For example, an endpoint with a port number of aaln/0 is offset to aaln/1, and a DS0 group number of 0/0:0 is offset to 0/0:1.
Examples
The following example enables incrementing the port number portion of an endpoint name:
Router(config)# mgcp endpoint offset
Related Commands
Command
|
Description
|
mgcp
|
Starts and allocates resources for the MGCP daemon.
|
mgcp explicit hookstate
To enable detection of explicit hookstates, use the mgcp explicit hookstate command in global configuration mode. To disable hookstate detection, use the no form of this command.
mgcp explicit hookstate
no mgcp explicit hookstate
Syntax Description
This command has no arguments or keywords.
Command Default
Hookstate detection is enabled.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(5)XM
|
This command was introduced.
|
12.2(2)T
|
This command was implemented on the Cisco 7200 series.
|
12.2(11)T
|
This command was implemented on the Cisco AS5300 and Cisco AS5850.
|
Usage Guidelines
Explicit hookstate detection is enabled by default. In this state, the gateway returns a "401 endpoint already off hook" or "402 endpoint already on hook" NACK (Not Acknowledged) response to R:hu or R:hd event requests.
If you turn hookstate detection off with the no form of the mgcp explicit hookstate command, the hookstate is not checked when the gateway receives R:hu or R:hd event requests. The gateway acknowledges (ACK) these event requests.
Examples
The following example enables hookstate detection:
Router(config)# mgcp explicit hookstate
Related Commands
Command
|
Description
|
mgcp
|
Starts the MGCP daemon.
|
mgcp fax rate
To establish the maximum fax rate for Media Gateway Control Protocol (MGCP) T.38 sessions, use the mgcp fax rate command in global configuration mode. To reset MGCP endpoints to their default fax rate, use the no form of this command.
mgcp fax rate {2400 | 4800 | 7200 | 9600 | 12000 | 14400 | voice}
no mgcp fax rate
Syntax Description
2400
|
Maximum fax transmission speed of 2400 bits per second (bps).
|
4800
|
Maximum fax transmission speed of 4800 bps.
|
7200
|
Maximum fax transmission speed of 7200 bps.
|
9600
|
Maximum fax transmission speed of 9600 bps.
|
12000
|
Maximum fax transmission speed of 12,000 bps.
|
14400
|
Maximum fax transmission speed of 14,400 bps.
|
voice
|
Highest possible transmission speed allowed by the voice codec. This is the default.
|
Command Default
MGCP fax rate is set to the highest possible transmission speed allowed by the voice codec
(mgcp fax rate voice).
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.3(8)T
|
This command was introduced.
|
Usage Guidelines
Use this command to specify the maximum fax transmission rate for all MGCP endpoints in the gateway.
The values for this command apply only to the fax transmission speed and do not affect the quality of the fax itself. The higher transmission speed values (14,400 bps) provide a faster transmission speed but use a significantly large portion of the available bandwidth. A lower transmission speed value (2400 bps, for example) provides a slower transmission speed but uses a smaller portion of the available bandwidth.
Note
MGCP fax rate does not support call admission and control or bandwidth allocation.
When the MGCP fax rate is set to the highest possible transmission speed allowed by the voice codec (mgcp fax rate voice), all MGCP endpoints limit T.38 fax calls to this speed. For example, if the voice codec is G.711, fax transmission may occur up to 14,400 bps because 14,400 bps is less than the 64-kbps voice rate. If the voice codec is G.729 (8 kbps), the fax transmission speed is limited to the nearest fax rate of 7200 bps.
Tip
If the fax rate transmission speed is set higher than the codec rate in the same dial peer, the data sent over the network for fax transmission will be greater than the bandwidth reserved for Resource Reservation Protocol (RSVP). The mgcp fax rate command sets a maximum fax rate for T.30 negotiation (DIS/DCS). Fax machines can negotiate a lower rate, but not a higher rate.
Only values other than the default value appear in the saved gateway configuration.
Examples
The following example configures a maximum fax rate transmission speed of 9600 bps for MGCP T.38 fax relay sessions:
Router(config)# mgcp fax rate 9600
The following example configures the maximum fax rate transmission speed to 12,000 bps for MGCP T.38 fax relay sessions:
Router(config)# mgcp fax rate 12000
Related Commands
Command
|
Description
|
show call active fax
|
Displays the maximum fax rate for the current T.38 fax session.
|
show mgcp
|
Displays the current configuration for the MGCP fax rate.
|
mgcp fax-relay sg3-to-g3
To enable the fax stream between two Super Group 3 (SG3) fax machines to negotiate down to G3 speeds for Media Gateway Control Protocol (MGCP) fax relay, use the mgcp fax-relay sg3-to-g3 command in global configuration mode. To disable SG3 fax message suppression, use the no form of this command.
mgcp fax-relay sg3-to-g3
no mgcp fax-relay sg3-to-g3
Syntax Description
This command has no arguments or keywords.
Command Default
Disabled
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.4(4)T
|
This command was introduced.
|
12.4(6)T
|
This feature was implemented on the Cisco 1700 series and Cisco 2800 series.
|
Usage Guidelines
When this command is entered, the digital signal processor (DSP) fax-relay firmware suppresses the V.8 CM tone and the fax machines negotiate down to G3 speeds for the fax stream.
Examples
The following global configuration output shows V.8 fax CM message suppression being enabled on the voice dial peer for MGCP signaling types:
Router(config)# mgcp fax-relay sg3-to-g3
Related Commands
Command
|
Description
|
fax-relay sg3-to-g3
|
Specifies that, for SIP and H.323 signaling types, V.8 fax CM message suppression is enabled on the DSP firmware.
|
mgcp fax t38
|
Specifies MGCP fax T.38 parameters.
|
mgcp fax t38
To configure MGCP fax T.38 parameters, use the mgcp fax t38 command in global configuration mode. return a parameter to its default, use the no form of this command.
mgcp fax t38 {ecm | gateway force | hs_redundancy factor | inhibit | ls_redundancy factor |
nsf hexcode}
no mgcp fax t38 {ecm | gateway force | hs_redundancy | inhibit | ls_redundancy | nsf}
Syntax Description
ecm
|
Enables error correction mode (ECM) for the gateway. By default, ECM is not enabled.
|
gateway force
|
Forces gateway-controlled T.38 fax relay using Cisco-proprietary named service events (NSEs) even if the capability to use T.38 and NSEs cannot be negotiated by the MGCP call agent at call setup time. The default is that force is not enabled.
|
hs_redundancy factor
|
Sends redundant T.38 fax packets. Refers to data redundancy in the high-speed V.17, V.27, and V.29 T.4 or T.6 fax machine image data. For the hs_redundancy parameter, the factor range is from 0 through 2. The default is 0 (no redundancy).
Note Setting the hs_redundancy parameter to a value greater than 0 causes a significant increase in the network bandwidth consumed by the fax call.
|
inhibit
|
Disables use of T.38 for the gateway. By default, T.38 is enabled.
Note If the MGCP gateway uses the auto-configuration function, the mgcp fax t38 inhibit command is automatically configured on the gateway each time a new configuration is downloaded. Beginning with Cisco IOS Software Release 12.4T, the auto-configuration of this command is removed. For MGCP gateways using auto-cofiguration and running Cisco IOS version 12.4T or later, you must manually configure the mgcp fax t38 inhibit command to use T.38 fax relay.
|
ls_redundancy factor
|
Sends redundant T.38 fax packets. The ls_redundancy parameter refers to data redundancy in the low-speed V.21-based T.30 fax machine protocol. For the ls_redundancy parameter, the factor range is from 0 through 2. Default is 0 (no redundancy).
|
nsf hexcode
|
Overrides the nonstandard facilities (NSF) code with the code provided using the hexcode argument. The word argument is a two-digit hexadecimal country code and a four-digit hexadecimal manufacturer code. By default, the NSF code is not overridden.
|
Command Default
ecm—disabled
gateway force—disabled
hs_redundancy—0
inhibit—disabled (T.38 is enabled. See note in above table.)
ls_redundancy—0
nsf—not overridden
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.2(2)XB
|
This command was introduced.
|
12.2(8)T
|
This command was integrated into Cisco IOS Release 12.2(8)T and implemented on the following platforms: Cisco 2600 series, Cisco 3600 series, and Cisco 7200 series. Support for the Cisco AS5300, Cisco AS5350, Cisco AS5400, and Cisco AS5850 is not included in this release.
|
12.2(11)T
|
This command was applicable to the Cisco AS5300, Cisco AS5350, Cisco AS5400, and Cisco AS5800 in this release.
|
12.2(11)T2
|
The gateway force keyword pair was introduced.
|
12.2(15)T
|
This command was implemented on the Cisco 1751 and Cisco 1760.
|
12.4T
|
The mgcp fax t38 inhibit command was no longer configured by default for MGCP gateways that use the auto-configuration function.
|
Usage Guidelines
Nonstandard facilities (NSF) are capabilities a particular fax manufacturer has built into a fax machine to distinguish products from each other.
To disable T.38 fax relay, use the mgcp fax t38 inhibit command.
Some MGCP call agents do not properly pass those portions of Session Description Protocol (SDP) messages that advertise T.38 and NSE capabilities. As a result, gateways that are controlled by these call agents are unable to use NSEs to signal T.38 fax relay to other gateways that use NSEs. The mgcp fax t38 gateway force command provides a way to ensure gateway-controlled T.38 fax relay and use of NSEs between an MGCP gateway and another gateway. The other gateway can be an H.323, Session Initiation Protocol (SIP), or MGCP gateway. Both gateways must be configured to use NSEs to signal T.38 fax relay mode switchover. On H.323 and SIP gateways, use the fax protocol t38 nse force command to specify the use of NSEs for T.38 fax relay. On MGCP gateways, use the mgcp fax t38 gateway force command.
Examples
The following example configures the gateway to use NSEs for gateway-controlled T.38 fax relay signaling:
Router(config)# mgcp fax t38 gateway force
The following example shows that MGCP T.38 fax relay and ECM are enabled, NSF override is disabled, and low- and high-speed redundancy are set to the default value of 0:
Router(config)# mgcp fax t38 ecm
MGCP Admin State ACTIVE, Oper State ACTIVE - Cause Code NONE
MGCP call-agent: 172.18.195.147 2436 Initial protocol service is MGCP 0.1
MGCP block-newcalls DISABLED
MGCP send RSIP for SGCP is DISABLED
MGCP quarantine mode discard/step
MGCP quarantine of persistent events is ENABLED
MGCP dtmf-relay for VoIP disabled for all codec types
MGCP dtmf-relay for VoAAL2 disabled for all codec types
MGCP voip modem passthrough mode: CA, codec: g711ulaw, redundancy: DISABLED,
MGCP voaal2 modem passthrough mode: NSE, codec: g711ulaw
MGCP T.38 Named Signalling Event (NSE) response timer: 200
MGCP Network (IP/AAL2) Continuity Test timer: 200
MGCP 'RTP stream loss' timer disabled
MGCP maximum exponential request timeout 4000
MGCP gateway port: 2427, MGCP maximum waiting delay 3000
MGCP restart delay 0, MGCP vad DISABLED
MGCP system resource check DISABLED
MGCP xpc-codec: DISABLED, MGCP persistent hookflash: DISABLED
MGCP persistent offhook: ENABLED, MGCP persistent onhook: DISABLED
MGCP piggyback msg ENABLED, MGCP endpoint offset DISABLED
MGCP undotted-notation DISABLED
MGCP codec type g729r8, MGCP packetization period 10
MGCP JB threshold lwm 30, MGCP JB threshold hwm 150
MGCP LAT threshold lmw 150, MGCP LAT threshold hwm 300
MGCP PL threshold lwm 1000, MGCP PL threshold hwm 10000
MGCP CL threshold lwm 1000, MGCP CL threshold hwm 10000
MGCP playout mode is adaptive 60, 4, 200 in msec
MGCP IP ToS low delay disabled, MGCP IP ToS high throughput disabled
MGCP IP ToS high reliability disabled, MGCP IP ToS low cost disabled
MGCP IP RTP precedence 5, MGCP signaling precedence: 3
MGCP default package: dt-package
MGCP supported packages: gm-package dtmf-package trunk-package line-package
hs-package rtp-package as-package atm-package ms-package
dt-package mo-package res-package mt-package
dt-package mo-package res-package mt-package
MGCP Digit Map matching order: shortest match
SGCP Digit Map matching order: always left-to-right
MGCP VoAAL2 ignore-lco-codec DISABLED
MGCP T.38 Fax ECM is ENABLED
MGCP T.38 Fax NSF Override is DISABLED
MGCP T.38 Fax Low Speed Redundancy: 0
MGCP T.38 Fax High Speed Redundancy: 0
The following example shows that NSF is overridden:
MGCP T.38 Fax NSF Override is ENABLED: AC04D3
Related Commands
Related Commands
Related CommandsRouter(config)# mgcp ip-tos signaling precedence
Command
|
Description
|
fax protocol
|
Specifies fax protocol parameters on H.323 and SIP gateways.
|
mgcp ip-tos
To enable or disable the IP type of service (ToS) for media gateway control protocol (MGCP) connections, use the mgcp ip-tos command in global configuration mode. To restore the default, use the no form of this command.
mgcp ip-tos {high-reliability | high-throughput | low-cost | low-delay | rtp precedence value |
signaling precedence value}
no mgcp ip-tos {high-reliability | high-throughput | low-cost | low-delay | rtp precedence value
| signaling precedence value}
Syntax Description
high-reliability
|
High-reliability ToS.
|
high-throughput
|
High-throughput ToS.
|
low-cost
|
Low-cost ToS.
|
low-delay
|
Low-delay ToS.
|
rtp precedence value
|
Value of the Real-Time Transport Protocol (RTP) IP precedence bit. Range is from 0 to 7. The default is 3.
Note In Cisco IOS Release 12.1(3)T, this parameter was precedence value.
|
signaling precedence value
|
IP precedence value for MGCP User Datagram Protocol (UDP) and Real-Time Transport Protocol Control Protocol (RTCP) signaling packets. Range is from 0 to 7. The default is 3.
|
Command Default
Services are disabled.
RTP precedence: 3
Signaling precedence: 3
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(1)T
|
This command was introduced on the Cisco AS5300.
|
12.1(3)T
|
This command was implemented on the following platforms: Cisco 2600 series, Cisco 3660, and Cisco uBR924.
|
12.1(5)XM
|
This command was implemented on the Cisco MC3810. The precedence parameter was changed to rtp precedence and the signaling precedence parameter was added.
|
12.2(2)T
|
This command was integrated into Cisco IOS Release 12.2(2)T and implemented on the Cisco 7200 series.
|
12.2(11)T
|
This command was implemented on the Cisco AS5300 and Cisco AS5850.
|
Usage Guidelines
Only one of the keywords in the group high-reliability, high-throughput, low-cost, and low-delay can be enabled at any given time. Enabling one keyword disables any other that was active. Enabling one of these keywords has no effect on the precedence value.
The no form of the mgcp ip-tos command disables the first four keywords and sets the precedence value back to 3.
When you configure a new value for precedence, the old value is erased.
Examples
The following example activates the low-delay keyword and disables the previous three keywords:
Router(config)# mgcp ip-tos high-rel
Router(config)# mgcp ip-tos high-throughput
Router(config)# mgcp ip-tos low-cost
Router(config)# mgcp ip-tos low-delay
Router(config)# mgcp ip-tos rtp precedence 4
Related Commands
Related CommandsRouter(config)# mgcp ip-tos signaling precedence 5
Command
|
Description
|
mgcp
|
Starts the MGCP daemon.
|
mgcp max-waiting-delay
To specify the media gateway control protocol (MGCP) maximum waiting delay (MWD), use the mgcp max-waiting-delay command in global configuration mode. To reset to the default, use the no form of this command.
mgcp max-waiting-delay milliseconds
no mgcp max-waiting-delay
Syntax Description
milliseconds
|
Time, in milliseconds, to wait after restart. Range is from 0 to 600000 (600 seconds). The default is 3000 (3 seconds).
|
Command Default
3000 ms
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(1)T
|
This command was introduced on the Cisco AS5300.
|
12.1(3)T
|
This command was implemented on the following platforms: Cisco 2600 series, Cisco 3660, and Cisco uBR924.
|
12.2(11)T
|
This command was implemented on the Cisco AS5850.
|
Usage Guidelines
Use this command to send out an Restart in Progress (RSIP) message to the call agent with the restart method. This command helps prevent traffic bottlenecks caused by MGCP gateways all trying to connect at the same time after a restart.
Examples
The following example sets the MGCP maximum waiting delay to 600 ms:
Router(config)# mgcp max-waiting-delay 600
Related Commands
Command
|
Description
|
mgcp
|
Starts the MGCP daemon.
|
mgcp restart-delay
|
Configures the graceful teardown method sent in the RSIP message.
|
mgcp modem passthrough codec
To select the codec that enables the gateway to send and receive modem and fax data in VoIP and VoATM adaptation layer 2 (VoAAL2) configurations, use the mgcp modem passthrough codec command in global configuration mode. To disable support for modem and fax data, use the no form of this command.
mgcp modem passthrough {voip | voaal2} codec {g711alaw | g711ulaw}
no mgcp modem passthrough {voip | voaal2}
Syntax Description
voip
|
VoIP voice protocol.
|
voaal2
|
VoAAL2 voice protocol.
|
g711alaw
|
G.711 a-law codec for changing speeds during modem and fax switchover.
|
g711ulaw
|
G.711 u-law codec for changing speeds during modem and fax switchover.
|
Command Default
The g711 u-law codec for both VOIP and VOAAL2
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(3)T
|
This command was introduced.
|
12.1(5)XM
|
This command was implemented on the Cisco MC3810.
|
12.2(2)T
|
This command was integrated into Cisco IOS Release 12.2(2)T and implemented on the Cisco 7200 series.
|
12.2(11)T
|
This command was implemented on the Cisco AS5300 and Cisco AS5850.
|
Usage Guidelines
Use this command for fax pass-through because the answer tone can come from either modem or fax transmissions. Selecting a codec dynamically changes the codec type and speed to meet network conditions.
Examples
The following example enables a gateway to send and receive VoAAL2 modem or fax data using the G711 a-law codec:
Router(config)# mgcp modem passthrough voaal2 codec g711alaw
Related Commands
Command
|
Description
|
mgcp
|
Starts the MGCP daemon.
|
mgcp modem passthrough mode
|
Sets the method for changing speeds for modem and fax transmissions on the gateway.
|
mgcp quarantine persistent-events disable
|
Enables redundancy for VoIP modem and fax transmissions.
|
mgcp tse payload
|
Enables the TSE payload for modem and fax operation.
|
mgcp modem passthrough mode
To set the method for changing speeds that enables the gateway to send and receive modem and fax data in VoIP and VoATM adaptation layer 2 (VoAAL2) configurations, use the mgcp modem passthrough mode command in global configuration mode. To disable support for modem and fax data, use the no form of this command.
mgcp modem passthrough {voip | voaal2} mode {cisco | nse}
no mgcp modem passthrough {voip | voaal2}
Syntax Description
voip
|
VoIP.
|
voaal2
|
Voice over AAL2 calls using Annex K type 3 packets.
|
cisco
|
Cisco-proprietary method for changing modem speeds, based on the protocol.
|
nse
|
Named service event (NSE)-based method for changing modem speeds. For VoAAL2 configurations, AAL2 Annex K (type 3) is used.
|
Command Default
NSE-based method
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(3)T
|
This command was introduced.
|
12.1(5)XM
|
This command was implemented on the Cisco MC3810.
|
12.2(2)T
|
This command was integrated into Cisco IOS Release 12.2(2)T and implemented on the Cisco 7200 series router.
|
12.2(11)T
|
This command was implemented on the Cisco AS5300 and Cisco AS5850.
|
Usage Guidelines
Use this command for fax pass-through because the answer tone can come from either modem or fax transmissions.
Upspeed is the method used to change the codec type and speed dynamically to meet network conditions.
If you use the nse keyword, you must also use the mgcp tse payload command.
If you use the default nse keyword and the voip or voaal2 keyword, the show run command does not display the mgcp modem passthrough mode command in the configuration output, although the command is displayed for the cisco keyword. The show mgcp command displays settings for both the nse and cisco keywords.
Examples
The following example enables a gateway to send and receive VoIP modem or fax data using the NSE modem-speed-changing method:
Router(config)# mgcp modem passthrough voip mode nse
Related Commands
Command
|
Description
|
mgcp
|
Starts the MGCP daemon.
|
mgcp modem passthrough codec
|
Selects the codec to use for modem and fax transmissions on the gateway.
|
mgcp quarantine persistent-events disable
|
Enables redundancy for VoIP modem and fax transmissions.
|
mgcp tse payload
|
Enables the TSE payload for modem and fax operation.
|
mgcp modem passthrough voip redundancy
To enable redundancy on a gateway that sends and receives modem and fax data in VoIP configurations, use the mgcp modem passthrough voip redundancy command in global configuration mode. To disable redundancy, use the no form of this command.
mgcp modem passthrough voip redundancy
no mgcp modem passthrough voip redundancy
Syntax Description
This command has no arguments or keywords.
Command Default
Disabled (no redundancy)
Command Modes
Global configuration
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 and implemented on the Cisco 7200 series.
|
12.2(11)T
|
This command was implemented on the Cisco AS5300 and Cisco AS5850.
|
Usage Guidelines
Use this command for fax pass-through because the answer tone can come from either modem or fax transmissions.
Upspeed is the method used to dynamically change the codec type and speed to meet network conditions.
Examples
The following example enables redundancy for VoIP modem and fax transmissions on a gateway:
Router(config)# mgcp modem passthrough voip redundancy
Related Commands
Command
|
Description
|
mgcp
|
Starts the MGCP daemon.
|
mgcp modem passthrough codec
|
Selects the codec for modem and fax transmissions.
|
mgcp modem passthrough mode
|
Sets the method for changing speeds for modem and fax transmissions on the gateway.
|
mgcp tse payload
|
Enables the TSE payload for modem and fax operation.
|
mgcp modem passthru
To enable the gateway to send and receive modem and fax data, use the mgcp modem passthru command in global configuration mode. To disable support for modem and fax data, use the no form of this command.
mgcp modem passthru {cisco | ca}
no mgcp modem passthru
Syntax Description
cisco
|
When the gateway detects a modem/fax tone, it switches the codec to G.711 to allow the analog data to pass through.
|
ca
|
When the gateway detects a modem/fax tone, it alerts the call agent to switch the codec to G.711 to allow the analog data to pass through.
|
Command Default
ca
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.1(3)T
|
This command was added to MGCP.
|
12.2(11)T
|
This command was implemented on the Cisco AS5850.
|
Usage Guidelines
When the cisco keyword is activated and the gateway detects a modem/fax tone, the gateway switches the codec to G.711 then sends the analog data to a remote gateway. The remote gateway also switches the codec on its side of the call to G.711 to allow the analog data to pass through.
When the ca keyword is activated and the gateway detects a modem/fax tone, the gateway alerts the call agent to switch the codec to G.711 to allow the analog data to pass through. The call agent must send an MDCX signal to the G.711 codec for successful data pass-through.
Examples
The following example configures a gateway to send and receive modem or fax data:
Router(config)# mgcp modem passthru cisco
Related Commands
Command
|
Description
|
mgcp
|
Starts the MGCP daemon.
|
mgcp modem relay voip gateway-xid
To enable in-band negotiation of compression parameters between two VoIP gateways using Media Gateway Control Protocol (MGCP), use the mgcp modem relay voip gateway-xid command in global configuration mode. To disable this function, use the no form of this command.
mgcp modem relay voip gateway-xid [compress {backward | both | forward | no}] [dictionary
value] [string-length value]
no mgcp modem relay voip gateway-xid
Syntax Description
compress
|
(Optional) Direction in which data flow is compressed. For normal dialup, compression should be enabled in both directions.
You may want to disable compression in one or more directions. This is normally done during testing and perhaps for gaming applications, but not for normal dialup when compression is enabled in both directions.
• backward—Enables compression only in the backward direction.
• both—Enables compression in both directions. For normal dialup, this is the preferred setting. This is the default.
• forward—Enables compression only in the forward direction.
• no—Disables compression in both directions.
|
dictionary value
|
(Optional) V.42bis parameter that specifies characteristics of the compression algorithm. Range is from 512 to 2048. Default is 1024.
Note Your modem may support values higher than this range. A value acceptable to both sides is negotiated during modem call setup.
|
string-length value
|
(Optional) V.42bis parameter that specifies characteristics of the compression algorithm. Range is from 16 to 32. Default is 32.
Note Your modem may support values higher than this range. A value acceptable to both sides is negotiated during modem call setup.
|
Command Default
Command: enabled
Compress: both
Dictionary: 1024
String length: 32
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.2(11)T
|
This command was introduced on the following platforms: Cisco 2600 series, Cisco 3620, Cisco 3640, Cisco 3660, Cisco 7200 series, and Cisco AS5300.
|
Usage Guidelines
This command enables XID negotiation for modem relay. By default it is enabled.
This command affects only VoIP calls and not Voice over ATM adaption layer 2 (VoAAL2) calls. This is because MGCP supports VoAAL2 calls for voice and fax/modem, but not for modem relay.
If this command is enabled on both VoIP gateways of a network, the gateways determine whether they need to engage in in-band negotiation of various compression parameters. The remaining keywords in this command specify the negotiation posture of this gateway in the subsequent in-band negotiation (assuming that in-band negotiation is agreed on by the two gateways).
The compress, dictionary, and string-length keywords are digital-signal-processor (DSP)-specific and related to xid negotiation. If this command is disabled, they are all irrelevant. The application (MGCP or H.323) just passes these configured values to the DSPs, and it is the DSP that requires them.
Examples
The following example enables in-band negotiation of compression parameters on the VoIP gateway, with compression in both directions, dictionary size of 1024, and string length of 32 for the compression algorithm:
mgcp modem relay voip gateway-xid compress both dictionary 1024 string-length 32
Related Commands
Command
|
Description
|
mgcp modem relay voip mode
|
Enables modem relay mode support in a gateway for MGCP VoIP calls.
|
mgcp modem relay voip sprt retries
|
Sets the maximum number of times that the SPRT protocol tries to send a packet before disconnecting.
|
modem relay gateway-xid
|
Enables in-band negotiation of compression parameters between two VoIP gateways that use MBCP.
|
mgcp tse payload
|
Enables TSEs for communications between gateways, which are required for modem relay over VoIP using MGCP.
|
mgcp modem relay voip latency
To optimize the Modem Relay Transport Protocol and the estimated one-way delay across the IP network using Media Gateway Control Protocol (MGCP), use the mgcp modem relay voip latency command in global configuration mode. To disable this function, use the no form of this command.
mgcp modem relay voip latency value
no mgcp modem relay voip latency
Syntax Description
value
|
Estimated one-way delay across the IP network, in milliseconds. Range is from 100 to 1000. Default is 200.
|
Command Default
200 ms
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.2(11)T
|
This command was introduced on the following platforms: Cisco 2600 series, Cisco 3620, Cisco 3640, Cisco 3660, Cisco 7200 series, and Cisco AS5300.
|
Usage Guidelines
Use this command to adjust the retransmission timer of the Simple Packet Relay Transport (SPRT) protocol, if required, by setting the value to the estimated one-way delay (in milliseconds) across the IP network. Changing this value may affect the throughput or delay characteristics of the modem relay call. The default value of 200 does not need to be changed for most networks.
Examples
The following example sets the estimated one-way delay across the IP network to 100 ms.
mgcp modem relay voip latency 100
Related Commands
Command
|
Description
|
mgcp modem relay voip mode
|
Enables modem relay mode support in a gateway for MGCP VoIP calls.
|
mgcp modem relay voip sprt retries
|
Sets the maximum number of times that the SPRT protocol tries to send a packet before disconnecting.
|
mgcp tse payload
|
Enables TSEs for communications between gateways, which are required for modem relay over VoIP using MGCP.
|
modem relay gateway-xid
|
Enables in-band negotiation of compression parameters between two VoIP gateways that use MBCP.
|
modem relay latency
|
Optimizes the Modem Relay Transport Protocol and the estimated one-way delay across the IP network.
|
mgcp modem relay voip mode
To enable named signaling event (NSE) based modem relay mode for VoIP calls on a Media Gateway Control Protocol (MGCP) gateway, use the mgcp modem relay voip mode command in global configuration mode. To disable this function, use the no form of this command.
mgcp modem relay voip mode [nse] codec [g711alaw | g711ulaw] [redundancy] gw-controlled
no mgcp modem relay voip mode
Syntax Description
nse
|
(Optional) Instructs the gateway to use NSE mode for upspeeding.
|
codec
|
(Optional) Specifies a codec to use for upspeeding:
• g711alaw—G.711 a-law 64,000 bits per second (bps) for E1.
• g711ulaw—G.711 mu-law 64,000 bps for T1. This is the default.
|
redundancy
|
(Optional) Specifies packet redundancy for modem traffic during modem pass-through. By default, redundancy is disabled.
|
gw-controlled
|
Specifies the gateway-configured method for establishing modem relay parameters.
|
Command Default
Modem relay in NSE mode is disabled. All modem calls go through as pass-through calls, which are less reliable and use more bandwidth than modem relay calls, provided that pass-through is enabled.
The G.711 mu-law codec is used for upspeeding.
Redundancy is disabled and no duplicate data packets are sent while the gateway is in modem/fax pass-through mode.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.2(11)T
|
This command was introduced on the following platforms: Cisco 2600 series, Cisco 3620, Cisco 3640, Cisco 3660, Cisco 7200 series, and Cisco AS5300.
|
12.4(2)T
|
Usage guidelines were added for the nse keyword.
|
12.4(4)T
|
The gw-controlled keyword was added.
|
12.4(6)T
|
This feature was implemented on the Cisco 1700 series and Cisco 2800 series.
|
Usage Guidelines
The mgcp modem relay voip mode command enables non secure modem relay mode for MGCP VoIP calls. By default, NSE modem relay mode is disabled. This command configures upspeeding, which is needed because modem pass-through is an intermediate step while the gateway switches from handling voice calls to handling modem relay calls.
The mgcp modem relay voip mode nse command is not supported on the TI C2510 digital signal processor (DSP), formerly known as the TI C5510 DSP; only the TI C549 DSP supports negotiation of NSE parameters. If Cisco CallManager is used as the call agent, the mgcp modem relay voip mode nse command is not supported.
Redundancy causes the gateway to generate duplicate (redundant) data packets for fax/modem pass-through calls as per RFC 2198. For these calls to be more reliable, redundant packets transmission is needed to make up for excessive loss of packets in VoIP networks. Even if one of the gateways is configured with redundancy, calls go through. Gateways can handle asymmetric (one-way) redundancy.
To enable secure voice and data calls between Secure Telephone Equipment (STE) and IP-STE endpoints using the state signaling events (SSE) protocol, use the mgcp modem relay voip mode sse command. Before configuring SSE parameters, you must use the mgcp package-capability mdste command to enable modem relay capabilities and SSE protocol support.
The gw-controlled keyword specifies that modem transport parameters are configured directly on the gateway instead of being negotiated by the call agent.
Examples
The following example enables MGCP modem relay and specifies the following: NSE mode for upspeeding, G.711 mu-law codec, packet redundancy, and gateway-controlled for modem traffic during modem pass-through:
Router(config)# mgcp modem relay voip mode nse codec g711ulaw redundancy gw-controlled
Related Commands
Command
|
Description
|
mgcp modem relay voip gateway-xid
|
Optimizes the modem relay transport protocol and the estimated one-way delay across the IP network.
|
mgcp modem relay voip mode sse
|
Enables SSE-based modem relay.
|
mgcp package-capability mdste
|
Enables MGCP gateway support for processing events and signals for modem connections over a secure communication path between IP-STE and STE.
|
mgcp tse payload
|
Enables TSEs for communications between gateways, which are required for modem relay over VoIP using MGCP.
|
mgcp modem relay voip mode sse
To enable State Signaling Event (SSE) based modem relay mode and to configure SSE parameters on the MGCP gateway, use the mgcp modem relay voip mode sse command in global configuration mode. To disable this function, use the no form of this command.
mgcp modem relay voip mode sse [redundancy [{interval number | packet number}]][retries
value] [t1 time]
no mgcp modem relay voip mode sse
Syntax Description
redundancy
|
(Optional) Packet redundancy for modem traffic during modem pass-through. By default redundancy is disabled.
|
interval milliseconds
|
(Optional) Specifies the timer in milliseconds (ms) for redundant transmission of SSEs. Range is 5 - 50 ms. Default is 20 ms.
|
packet number
|
(Optional) Specifies the SSE packet retransmission count before disconnecting. Range is 1- 5 packets. Default is 3 packets.
|
retries value
|
(Optional) Specifies the number of SSE packet retries, repeated every t1 interval, before disconnecting. Range is 0 - 5 retries. Default is 5 retries.
|
t1 milliseconds
|
(Optional) Specifies the repeat interval, in milliseconds, for initial audio SSEs used for resetting the SSE protocol state machine (clearing the call) following error recovery. Range is 500 - 3000 ms. Default is 1000 ms.
|
Command Default
SSE mode is enabled by default, using default parameter values.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.4(2)T
|
This command was introduced
|
Usage Guidelines
Use the mgcp modem relay voip mode sse command to configure state signaling events (SSE) parameters for secure MGCP voice and data calls between Secure Telephone Equipment (STE) and IP STE endpoints using the SSE protocol, a subset of the V.150.1 standard for modem relay. SSEs, which are Real-Time Transport Protocol (RTP) encoded event messages, are used to coordinate transitions between the different media states, secure and nonsecure. Before configuring SSE parameters, you must use the mgcp package-capability mdste command to enable modem relay capabilities and SSE protocol support.
Examples
The following examples configure SSE parameters for redundancy interval redindancy packet count, number of retries and the t1 timer interval:
Router(config)# mgcp modem relay voip mode sse redundancy interval 20
Router(config)# mgcp modem relay voip mode sse redundancy packet 4
Router(config)# mgcp modem relay voip mode sse retries 5
Router(config)# mgcp modem relay voip mode sse t1 1000
Related Commands
Command
|
Description
|
mgcp package-capability mdste
|
Enables MGCP gateway support for processing events and signals for modem connections over a secure communication path between IP-STE and STE.
|
mgcp modem relay voip sprt retries
To set the maximum number of times that the Simple Packet Relay Transport (SPRT) protocol tries to send a packet before disconnecting, use the mgcp modem relay voip sprt retries command in global configuration mode. To disable this function, use the no form of this command.
mgcp modem relay voip sprt retries value
no mgcp modem relay voip sprt retries
Syntax Description
value
|
Maximum number of times that the SPRT protocol tries to send a packet before disconnecting. Range is from 6 to 30. The default is 12.
|
Command Default
12 times
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.2(11)T
|
This command was introduced on the following platforms: Cisco 2600 series, Cisco 3620, Cisco 3640, Cisco 3660, Cisco 7200 series, and Cisco AS5300.
|
Examples
The following example sets 15 as the maximum number of times that the SPRT protocol tries to send a packet before disconnecting:
mgcp modem relay voip sprt retries 15
Related Commands
Command
|
Description
|
mgcp modem relay voip gateway-xid
|
Optimizes the Modem Relay Transport Protocol and the estimated one-way delay across the IP network.
|
mgcp modem relay voip mode
|
Enables modem relay mode support in a gateway for MGCP VoIP calls.
|
mgcp tse payload
|
Enables TSEs for communications between gateways, which are required for modem relay over VoIP using MGCP.
|
modem relay gateway-xid
|
Enables in-band negotiation of compression parameters between two VoIP gateways that use MBCP.
|
mgcp modem relay voip sprt v14
To configure V.14 modem relay parameters for packets sent by the Simple Packet Relay Transport (SPRT) protocol, use the mgcp modem relay voip sprt v14 command in global configuration mode. To disable this function, use the no form of this command.
mgcp modem relay voip sprt v14 [receive playback hold-time milliseconds | transmit hold-time
milliseconds | transmit maximum hold-count characters]
no mgcp modem relay voip sprt v14
Syntax Description
receive playback hold-time milliseconds
|
Configures the time in milliseconds (ms) to hold incoming data in the V.14 receive queue. Range is 20 to 250 ms. Default is 50 ms.
|
transmit hold-time milliseconds
|
Configures the time to wait, in ms, after the first character is ready before sending the SPRT packet. Range is 10 to 30 ms. Default is 20 ms.
|
transmit maximum hold-count characters
|
Configures the number of V.14 characters to be received on the ISDN public switched telephone network (PSTN) interface that will trigger sending the SPRT packet. Range is 8 to 128. Default is 16.
|
Command Default
V.14 modem relay parameters are enabled by default, using default parameter values.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.4(2)T
|
This command was introduced.
|
Usage Guidelines
The maximum size of receive buffers is set at 500 characters, a nonprovisionable limit. Use the mgcp modem relay voip sprt v14 receive playback hold-time milliseconds command to configure the minimum holding time before characters can be removed from the receive queue. Characters received on the PSTN or ISDN interface may be collected for a configurable collection period before being sent out on SPRT channel 3, potentially resulting in variable size SPRT packets. To configure V.14 transmit parameters for SPRT packets, use the mgcp modem relay voip sprt v14 transmit hold-time milliseconds and the mgcp modem relay voip sprt v14 transmit maximum hold-count characters commands.
Parameter changes do not take effect during existing calls; they affect new calls only.
SPRT transport channel 1 is not supported.
Examples
The following example sets 200 ms as the receive playback hold time, 25 ms as the transmit hold time, and 10 characters as the transmit hold count parameters:
Router(config)# mgcp modem relay voip sprt v14 receive playback hold-time 200
Router(config)# mgcp modem relay voip sprt v14 transmit hold-time 25
Router(config)# mgcp modem relay voip sprt v14 transmit maximum hold-count 10
Related Commands
Command
|
Description
|
debug voip ccapi inout
|
Traces the execution path through the call control API.
|
debug vtsp all
|
Displays all VTSP debugging except statistics, tone, and event.
|
mgcp package-capability mdste-package
|
Enables MGCP gateway support for processing events and signals for modem connections over a secure communication path between IP-STE and STE.
|
mgcp modem relay voip mode sse
|
Enables MGCP gateway SSE based modem relay mode support for VoIP calls.
|
mgcp package-capability
To specify MGCP package capability type for a media gateway, use the mgcp package-capability command in global configuration mode. To remove a specific MGCP package capability from the list of capabilities, use the no form of this command.
mgcp package-capability package
no mgcp package-capability package
Syntax Description
package
|
Specifies one of the following package capabilities (available choices vary according to platform and release version; check the command line interface help for a list):
• as-package—Announcement server package.
• atm-package—ATM package. MGCP for VoATM using ATM adaptation layer 2 (AAL2) permanent virtual circuit (PVC) and a subset of ATM extensions specified by Cisco is supported. Switched virtual circuit (SVC)-based VoAAL2 is not supported.
• dt-package—DT package. Events and signals for immediate-start and basic dual-tone multifrequency (DTMF) and dial-pulse trunks.
• dtmf-package—DTMF package. Events and signals for DTMF relay.
• fxr-package—FXR package for fax transmissions.
• gm-package—Generic media package. Events and signals for several types of endpoints, such as trunking gateways, access gateways, or residential gateways.
• hs-package—Handset package. An extension of the line package, to be used when the gateway is capable of emulating a handset.
• it-package—PacketCable Trunking Gateway Control Protocol (TGCP) ISDN User Part (ISUP) trunk package.
• lcs-package—MGCP Line Control Signaling (LCS) package.
• line-package—Line package. Events and signals for residential lines. This is the default for residential gateways.
• md-package—MD package. Provides support for Feature Group D (FGD) Exchange Access North American (EANA) protocol signaling.
• mdste-package—Modem relay Secure Telephone Equipment (STE) package. Events and signals for modem connections enabling a secure communication path between IP-STE and STE.
• mf-package—MF package. Events and signals for multifrequency tones (MF) relay.
• mo-package—MO (Multifrequency Operations) package. Events and signals for Operator Service Signaling protocol for Feature Group D (FGD).
|
|
• ms-package—MS package. Events and signals for MF single-stage dialing trunks, including wink-start and immediate-start PBX Direct Inward Dialing (DID) and Direct Outward Dialing (DOD), basic R1, and FGD Terminating Protocol.
• nas-package—Network Access Server (NAS) Package. Accepts NAS requests from the call agent.
Note For Cisco IOS Release 12.4(4)T and later releases, the nas-package is not enabled by default.
• script-package—Script package. Events and signals for script loading.
• srtp-package—Secure RTP (SRTP) package. Enables MGCP gateway capability to process SRTP packages. The default is disabled.
• trunk-package—Trunk package. Events and signals for trunk lines. This is the default for trunking gateways.
|
Command Default
For residential gateways: line-package
For trunk gateways: trunk-package
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.0(7)XR2
|
This command was introduced on the Cisco AS5300.
|
12.1(1)T
|
This command was integrated into Cisco IOS Release 12.1(1)T.
|
12.1(3)T
|
This command was implemented on the following platforms: Cisco uBR924, Cisco 2600 series, and Cisco 3660. The line-package, rtp-package, and script-package keywords were added and a distinction was made between residential and trunking gateways.
|
12.1(5)XM
|
This command was implemented on the Cisco 3600 series and Cisco MC3810. The atm-package, hs-package, ms-package, dt-package, and mo-package keywords were added.
|
12.2(2)T
|
This command was integrated into Cisco IOS Release 12.2(2)T and implemented on the Cisco 7200 series.
|
12.2(2)XB
|
The res-package and nat-package keywords were added.
|
12.2(8)T
|
This command was integrated into Cisco IOS Release 12.2(8)T.
|
12.2(11)T
|
This command was implemented on the following platforms: Cisco AS5300, Cisco AS5350, Cisco AS5400, and Cisco AS5850.
|
12.3(1)
|
The fxr-package keyword was added.
|
12.3(8)T
|
The lcs-package keyword was added.
|
12.3(8)XY
|
The pre-package keyword was added.
|
12.3(11)T
|
This command was integrated into Cisco IOS Release 12.3(11)T. The srtp-package keyword was added.
|
12.4(2)T
|
The mdste-package keyword was added.
|
12.4(4)T
|
The md-package keyword was added. The nas-package keyword is not enabled by default.
|
Usage Guidelines
Events specified in the MGCP messages from the call agent must belong to one of the supported packages. Otherwise, connection requests are refused by the gateway.
By default, certain packages are configured as supported on each platform type. Using this command, you can configure additional package capability only for packages that are supported by your call agent. You can also disable support for a package with the no form of this command. Enter each package you want to add as a separate command.
Note
Beginning in Cisco IOS Release12.4(4)T the nas-package is not enabled by default.
The md-package is enabled automatically when a T1 interface is configured to use FGD EANA signaling with the ds0-group command.
Use the show mgcp command to display the packages that are supported on the gateway.
Use this command before specifying a default package with the mgcp default-package command. Specify at least one default package.
Packages that are available to be configured with this command vary by platform and type of gateway. Use the CLI help to ascertain the packages available on your gateway. This example shows the CLI help output for a Cisco 3660:
Router# mgcp package-capability ?
as-package Select the Announcement Server Package
atm-package Select the ATM Package
dtmf-package Select the DTMF Package
gm-package Select the Generic Media Package
hs-package Select the Handset Package
line-package Select the Line Package
mf-package Select the MF Package
res-package Select the RES Package
rtp-package Select the RTP Package
trunk-package Select the Trunk Package
Note
The CAS packages configured using the dt-package, md-package, mo-package, and ms-package keywords are available only as default packages using the mgcp default-package command. They do not appear as keywords in the mgcp package-capability command. This is because all the other packages are configured on a per-gateway basis, whereas the CAS packages are defined on a per-trunk basis. The per-trunk specification is made when the trunk is configured using the ds0-group command.
When the lcs-package keyword is used on the Cisco Integrated Access Device (IAD), the named telephony events (NTEs) associated with the line control signalling (LCS) package are enabled automatically. NTEs are used by a media gateway to transport telephony tones and trunk events across a packet network. See RFC 2833.
Note
Using NTE in the LCS package requires a successful MGCP/Session Definition Protocol (SDP) negotiation during call setup. The Call Agent must use the Line Connection Option's fmtp parameter keyword, telephone-event, to indicate which LCS NTEs will be used. If the IAD has been configured to use the LCS package, the IAD will answer with a SDP containing the requested LCS NTE events.
Examples
The following example enables the modem relay STE package, trunk package, DTMF package, and script package on the gateway, and then names the trunk package as the default package for the gateway:
Router(config)# mgcp package-capability mdste-package
Router(config)# mgcp package-capability trunk-package
Router(config)# mgcp package-capability dtmf-package
Router(config)# mgcp package-capability script-package
Router(config)# mgcp default-package trunk-package
Related Commands
Command
|
Description
|
ds0-group
|
Specifies the DS0 time slots that make up a logical voice port
|
mgcp
|
Starts the MGCP daemon.
|
mgcp default-package
|
Configures the default package capability type for the media gateway.
|
show mgcp
|
Displays the supported MGCP packages.
|