Table Of Contents
Interactive Voice Response Version 2.0 on
Cisco VoIP GatewaysIVR Prompts Played on IP Call Legs
Related Features and Technologies
Supported Standards, MIBs, and RFCs
Configuring IVR on the Inbound POTS Dial Peer
Configuring IVR on the Inbound VoIP Dial Peer
MGCP Scripting Configuration Example
call application cache reload time
rtsp client session history duration
rtsp client session history records
Interactive Voice Response Version 2.0 on
Cisco VoIP Gateways
Feature History
This feature module describes the new infrastructure to the interactive voice response (IVR) and Tool Command Language (TCL) verbs; the new infrastructure increases scalability and provides enhanced functionality to the Cisco Voice over IP (VoIP) gateways. The Cisco VoIP gateway software now provides IVR post and prepaid application (or the Debit Card feature), and announcement support under both Media Gateway Control Protocol (MGCP) and H.323 protocols. It also utilizes Real Time Streaming Protocol (RTSP), which enables an external RTSP server to play announcements and interact with voice mail servers.
This document includes the following sections:
•
Supported Standards, MIBs, and RFCs
Feature Overview
IVR Version 2.0 is the fourth release of IVR and TCL scripting on Cisco IOS VoIP gateways. The Cisco IVR feature (first made available in Cisco IOS Release 12.0(3)T and 12.0(7)T) provides IVR capabilities using TCL scripts.
IVR systems provide information in the form of recorded messages over telephone lines in response to user input in the form of spoken words, or more commonly dual tone multifrequency (DTMF) signalling. For example, when a user makes a call with a debit card, an IVR application is used to prompt the caller to enter a specific type of information, such as an account number. After playing the voice prompt, the IVR application collects the predetermined number of touch tones (digit collection), forwards the collected digits to a server for storage and retrieval, and then places the call to the destination phone or system. Call records can be kept and a variety of accounting functions performed.
The IVR application (or script) is a voice application designed to handle calls on a voice gateway, which is a router that is equipped with VoIP features and capabilities.
The IVR feature allows an IVR script to be used during call processing. The scripts interact with the IVR software to perform the various functions. Typically, IVR scripts contain both executable files and audio files that interact with the system software.
IVR Version 2.0 is made up of several separate components that are described individually in the sections that follow. These new features are as follows:
•
MGCP scripting package implementation
•
RTSP client implementation
•
IVR prompt playout and digit collection on IP call legs
•
New TCL verbs to utilize RTSP and MGCP scripting features
These features add scalability and enable the IVR scripting functionality on VoIP legs. In addition, support for RTSP enables VoIP gateways to play messages from RTSP-compliant announcement servers.
MGCP Scripting
IVR Version 2.0 infrastructure is greatly enhanced with the addition of support for MGCP using the application package model. MGCP defines application packages to run scripts on the media gateways. These application packages initiate scripts on the gateway and receive return values after execution completes. MGCP scripting allows external call agents (CAs) to instruct a media gateway to run an IVR TCL script in order to perform a specific task and return the end result. For example, you can request and collect the PIN and account number from a caller.
Two Cisco VoIP features previously released that can be implemented are the Debit Card for Packet Telephony and IVR. Both features use the TCL scripting language. The TCL scripts that run with MGCP are written in TCL IVR API Version 2.0 and are able to receive calls through hand off. MGCP scripts can run any TCL command.
Note
For more information about MGCP, see "Media Gateway Control Protocol for the Cisco AS5300 Voice/Gateway" documentation at the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120limit/120xr/mgcp1206.htmFigure 1 displays the CA controlling the IVR scripts. MGCP is the protocol that is running on the CA. The RTSP server is configured to interact with the gateways that have IVR scripts installed and running. The RADIUS server running authentication, authorization, and accounting (AAA) also interacts with the gateways.
Figure 1 MGCP Control of IVR Scripts
RTSP Client Implementation
RTSP is an application-level protocol used for control over the delivery of data with real-time properties. RTSP provides an extensive framework to enable control and to perform on-demand delivery of real-time data. For example, RTSP is used to control the delivery of audio streams from an audio server.
By implementing an RTSP client on VoIP gateways, an application running on the gateway can connect calls with audio streams from an external audio server. It also has the following benefits:
•
Reduces the CPU load
•
Allows larger prompts to be played
•
Saves memory on the gateway because no packetization is involved
•
Allows use of an external audio server. This external audio server removes the limitation on the number of prompts that can be played out and on the size of the prompt.
IVR Prompts Played on IP Call Legs
IVR Version 2.0 scripts can be configured for incoming POTS or VoIP call legs to play announcements to the user or collect user input (digits). With IVR Version 2.0 the prompts can be triggered from both the PSTN side of the call leg and the IP side of the call leg. This feature enables the audio files
(or prompts) to be played out over the IP network.IVR scripts played toward a VoIP call leg are subject to the following conditions:
•
G.711 mu-law encoding must be used when playing prompts.
•
G.711 mu-law encoding must also be used for the duration of these calls, even after prompt playout has completed.
•
No DSP is on the IP leg, so the script cannot initiate a tone.
•
When an IVR script is used to collect digits on a VoIP call leg, DTMF relay must be used. The following DTMF relay methods are supported:
–
For H.323 protocol configured on the call leg, use DTMF relay method:
•
Cisco Proprietary RTP
•
DTMF Relay via H245 Alphanumeric IE
•
DTMF Relay via H245 Signal IE
–
For SIP protocol configured on the call leg, use Cisco Proprietary RTP
Note
For additional information about the DTMF relay refer to the "Multiservice Application Configuration Guide" in the Cisco IOS 12.1 documentation set at the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/multi_c/mcprt1/mcdvoip.htmWith Cisco IOS Release 12.1(3)T, the system can accept calls initiated from the IP side using G.711 and terminate the call to the terminating gateway using the same codec.
Figure 2 displays the IVR application on the gateways controlling the scripts. IP phones can also originate a call to a gateway running an IVR script.
Figure 2 IVR Control of Scripts on an IP Call Leg
TCL Verbs
The IVR Version 2.0 feature delivers a new set of TCL verbs and TCL scripts that replace the previous TCL Version 1.0 verbs and scripts. These TCL verbs are used to utilize the RTSP audio servers. The TCL verbs are used to develop TCL scripts that interact with the IVR application. These scripts are used to pass events to the Media Gateway Controller, which is a call agent.
The IVR 2.0 feature is not backward compatible with the IVR 1.0 scripts. The MGCP scripting package can only be implemented using the new IVR 2.0 TCL verbs.
Note
For in-depth information about the TCL 2.0 verb set and how to develop scripts, refer to the TCL IVR API Version 2.0 Programmer's Guide at the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/access/acs_serv/vapp_dev/index.htmThe IVR scripts use the TCL verbs to interact with the gateway during call processing in order to collect the required digits, for example, to request the PIN or account number for the caller. The TCL scripts are the default scripts for all Cisco voice features using IVR, and are secured with a proprietary Cisco locking mechanism or signature. Only Cisco internal technical support personnel are authorized to open and modify these scripts. When a TCL script is activated, the system verifies the Cisco signature level. If the script is inconsistent with the authorized signature level, the script does not load, and the console screen displays an error message.
Refer to the TCL IVR API Version 2.0 Programmer's Guide for information about developing TCL scripts. These TCL scripts are configured to control calls coming into or going out of the gateway. The programmer's guide also contains an annotated example of a TCL IVR script and includes instructions for testing and loading TCL IVR scripts.
Note
Ensure that you have the correct version of TCL scripts loaded that support this feature. These TCL scripts can be downloaded from the following Cisco Connection Online (CCO) location: http://www.cisco.com/cgi-bin/tablebuild.pl/tclware.
Benefits
•
Adds scalability to the IVR infrastructure
•
Reduces the CPU load
•
Allows larger prompts to be played
•
Saves memory on the gateway because no packetization is involved
•
Allows use of an external audio server
Restrictions
The following list of restrictions applies to the combination of features described in the "Feature Overview" section:
•
TCL IVR 1.0 verbs and TCL IVR 2.0 verbs cannot be mixed in a script. You either write a script using 1.0 verbs/API or using 2.0 verbs/API.
•
H.245-alphanumeric DTMF relay does not accurately report the duration of a key press, for example, holding down the pound (#) key for longer than 1 second to register the "long pound" feature. Doing so only reports a duration of 200 milliseconds. Therefore, if an IVR script is configured on the terminating gateway, Cisco Proprietary RTP or DTMF Relay via H245 Alphanumeric IE must be used.
•
RTSP multicast sessions are not supported by the Cisco IOS RTSP client.
•
Cisco Proprietary RTP, DTMF Relay via H245 Alphanumeric IE, or DTMF Relay via H245 Signal IE must be configured and negotiated on the VoIP call leg to collect digits over a VoIP call leg.
•
RTSP is not recommended for dynamic prompt playouts.
Related Features and Technologies
•
VoIP
•
AAA Functionality on the VoIP Gateway
•
RADIUS and H.323 Gateway-Specific Accounting
•
MGCP
Related Documents
•
Service Provider Features for Voice over IP, Cisco IOS Release 12.0(3)T
•
Cisco IOS Multiservice Applications Configuration Guide:
–
"Configuring Gateways"
–
"Configuring Interactive Voice Response for Cisco Access Platforms"
–
"Configuring Debit Card for Packet Telephony"
•
Media Gateway Control Protocol for the Cisco AS5300 Voice/Gateway, Cisco IOS Release 12.1(1)T
•
Session Initiation Protocol for Voice over IP on Cisco Access Platforms, Cisco IOS Release 12.1(1)T
•
TCL IVR API 1.0 Programmer's Guide
•
TCL IVR Version 2.0 Programmer's Guide, Cisco IOS Release 12.1(3)T
Supported Platforms
•
Cisco AS5300 universal access server
•
Cisco AS5850 universal gateway
Platform Support Through Feature Navigator
Cisco IOS software is packaged in feature sets that support specific platforms. To get updated information regarding platform support for this feature, access Feature Navigator. Feature Navigator dynamically updates the list of supported platforms as new platform support is added for the feature.
Feature Navigator is a web-based tool that enables you to quickly determine which Cisco IOS software images support a specific set of features and which features are supported in a specific Cisco IOS image.
To access Feature Navigator, you must have an account on Cisco.com. If you have forgotten or lost your account information, e-mail the Contact Database Administration group at cdbadmin@cisco.com. If you want to establish an account on Cisco.com, go to http://www.cisco.com/register and follow the directions to establish an account.
Feature Navigator is updated when major Cisco IOS software releases and technology releases occur. As of May 2001, Feature Navigator supports M, T, E, S, and ST releases. You can access Feature Navigator at the following URL:
http://www.cisco.com/go/fn
Supported Standards, MIBs, and RFCs
Standards
No new or modified standards are supported by this feature.
MIBs
•
CISCO-CALL-APPLICATION-MIB
The CISCO-CALL-APPLICATION-MIB supports the management of TCL scripts on the gateway using Simple Network Management Protocol (SNMP). SNMP management support includes monitoring which scripts are loaded, loading a script, and unloading a script.
To obtain lists of MIBs supported by platform and Cisco IOS release and to download MIB modules, go to the Cisco MIB web site on Cisco Connection Online (CCO) at http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml.
RFCs
•
RFC 1889, Real Time Protocol
•
RFC 2326, Real Time Streaming Protocol
•
RFC 2327, Session Description Protocol
Prerequisites
Before you can configure your access server platform with this feature, complete the following tasks:
•
Ensure that your access platform has a minimum of 16 MB Flash memory and 64 MB DRAM memory.
•
Establish a working IP network. For more information about configuring IP, refer to the Cisco IOS 12.1 documentation set. See specifically the Cisco IOS IP and IP Routing Configuration Guide and the Cisco IOS Multiservice Applications Configuration Guide.
•
Configure VoIP. For more information about configuring VoIP, refer to the Voice over IP Software Configuration Guide for the appropriate access platform.
•
Download the TCL scripts required for the IVR feature, which are at the following CCO location:
http://www.cisco.com/cgi-bin/tablebuild.pl/tclware
•
Ensure that the VCWare version 7.xx is upgraded on the access server. Download the VCWare at the following CCO location:
http://www.cisco.com/cgi-bin/tablebuild.pl/vcware
•
If you are playing out prompts from an RTSP server, you can download a version from Real Networks at the following URL:
http://www.real.com
This free evaluation copy can serve up to 25 simultaneous RTSP sessions. Ensure that the machine running Windows NT or UNIX has sufficient CPU power and memory to serve the requisite number of RTSP sessions.
Note
A Cisco IP/TV server (version 3.0 or later) can be used as an alternative RTSP server.
Configuration Tasks
Before starting the software configuration tasks for the IVR Version 2.0 features, complete the following preinstallation tasks:
•
Download the TCL Scripts and audio files to be used with this feature from the CCO Software Support Center.
•
Store the TCL scripts and audio files on a TFTP server configured to interact with your gateway access server.
•
Create the IVR/TCL application script to use with the call application voice command when configuring IVR using TCL scripts. You create this application first and store it on a server or location where it can be retrieved by the access server.
Note
When configuring the language priority using the call application voice language command, keep in mind that the software is hardcoded for configuring the digit 1 to represent the primary language, and the digit 2 to represent the secondary language.
See the following sections for configuration tasks for the IVR Version 2.0 features. Each task in the list is identified as either optional or required:
•
Configuring the Application (Required)
•
Configuring IVR on the Inbound POTS Dial Peer or Configuring IVR on the Inbound VoIP Dial Peer (Required)
•
Configuring MGCP Scripting (Optional)
Note
When an IVR script is used to detect a "long #" from a caller connected to the H.323 call leg, either Cisco Proprietary RTP or DTMF Relay via H245 Signal IE must be used. DTMF Relay via H245 Alphanumeric IE does not report the actual duration of the digit, causing long pound (#) detection to fail.
Configuring the Application
You must configure the application that interacts with the dial peer before you configure the dial peer. The dial peer collects digits from the caller and uses the application you have created. Use the call application voice command as shown in the table below. Each command line is optional depending on the type of action desired or the digits to collect.
Configuring IVR on the Inbound POTS Dial Peer
To configure the inbound POTS dial peer, use the following commands in global configuration mode:
Configuring IVR on the Inbound VoIP Dial Peer
Configuring MGCP Scripting
The MGCP script package needs to be enabled to perform MGCP scripting. Enable the script in global configuration mode by entering the mgcp package-capability script package command.
The example MGCP configuration shown in this section is for DS0s on T1 lines. The configuration tasks are as follows:
•
Enabling the MGCP service on the DS0 groups
•
Enabling the other MGCP packages
•
Configuring the call agent address and other MGCP parameters
To configure MGCP scripting, perform the following steps in global configuration mode:
Verifying the Configuration
Step 1
Enter the show call application voice summary command to verify that the newly created applications are listed. The example output follows:
Router# show call application voice summaryname descriptionDEFAULT NEW::Basic app to do DID, or supply dialtone.fax_hop_on Script to talk to a fax redialerclid_authen Authenticate with (ani, dnis)clid_authen_collect Authenticate with (ani, dnis), collect if that failsclid_authen_npw Authenticate with (ani, NULL)clid_authen_col_npw Authenticate with (ani, NULL), collect if that failsclid_col_npw_3 Authenticate with (ani, NULL), and 3 tries collectingclid_col_npw_npw Authenticate with (ani, NULL) and 3 tries without pwSESSION Default system session applicationhotwo tftp://hostname/scripts/nb/nb_handoffTwoLegs.tclhoone tftp://hostname/scripts/nb/nb_dohandoff.tclhodest tftp://hostname/scripts/nb/nb_handoff.tclclid tftp://hostname/scripts/tcl_ivr/clid_authen_collect.tcldb102 tftp://hostname/scripts/1.02/debitcard.tcl*hw tftp://171.69.184.xxx/tr_hello.tcl*hw1 tftp://san*tr_db tftp://171.69.184.235/tr_debitcard.answer.tclTCL Script Version 2.0 supported.TCL Script Version 1.1 supported.Router#
Note
In the output shown, an asterisk (*) in an application indicates that this application was not loaded successfully. Use the show call application voice name command to view information for a particular application.
Step 2
Enter the show dial-peer voice peer tag command and verify that the application associated with the dial peer is correct.
Step 3
Enter the show running-config command to display the entire configuration.
Configuration Examples
Use the show running-config command to display the entire gateway configuration. Figure 3 shows the type of topology used in the configuration for the example.
Figure 3 Example Configuration Topology
In this example configuration, GW1 is running IVR for phone A, and GW2 is running IVR for phone B.
This section provides the following configuration examples:
•
GW1 IVR Configuration Example
•
GW2 IVR Configuration Example
•
MGCP Scripting Configuration Example
GW1 IVR Configuration Example
The following output is the result of using the show running-config command:
GW1Router# show running-configBuilding configuration...Current configuration:!! Last configuration change at 08:39:29 PST Mon Jan 10 2000 by lab!version 12.1service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname GW1!logging buffered 100000 debuggingaaa new-modelaaa authentication login default local group radiusaaa authentication login h323 group radiusaaa authentication login con noneaaa authorization exec h323 group radiusaaa accounting connection h323 start-stop group radiusenable password xxx!username lab password 0 lab!!resource-pool disable!!clock timezone PST -8ip subnet-zeroip host baloo 1.14.124.xxxip host dirt 223.255.254.254ip host rtspserver3 1.14.1xx.2ip host rtspserver1 1.14.1xx.2!mgcp package-capability trunk-packagemgcp default-package trunk-packageisdn switch-type primary-net5isdn voice-call-failure 0!!tftp://dirt/hostname/WV/en_new/call application voice debit_card tftp://dirt/Router/scripts.new/app_debitcard.tclcall application voice debit_card uid-len 6call application voice debit_card language 1 encall application voice debit_card language 2 chcall application voice debit_card set-location ch 0 tftp://dirt/hostname/WV/ch_new/call application voice debit_card set-location en 0 tftp://dirt/hostname/WV/en_new/call application voice debit_card_rtsp tftp://dirt/IVR 2.0/scripts.new/app_debitcard.tclcall application voice debit_card_rtsp uid-len 6call application voice debit_card_rtsp language 1 encall application voice debit_card_rtsp language 2 chcall application voice debit_card_rtsp set-location ch 0 rtsp://rtspserver1:554/call application voice debit_card_rtsp set-location en 0 rtsp://rtspserver1:554/mta receive maximum-recipients 0!!controller E1 0clock source line primarypri-group timeslots 1-31!controller E1 1!controller E1 2!controller E1 3!gw-accounting h323gw-accounting h323 vsagw-accounting voip!!interface Ethernet0ip address 1.14.128.35 255.255.255.xxxno ip directed-broadcasth323-gateway voip interfaceh323-gateway voip id gk1 ipaddr 1.14.128.19 1xxxh323-gateway voip h323-id gw1@cisco.comh323-gateway voip tech-prefix 5#!interface Serial0:15no ip addressno ip directed-broadcastisdn switch-type primary-net5isdn incoming-voice modemfair-queue 64 256 0no cdp enable!!interface FastEthernet0ip address 16.0.0.1 255.255.xxx.0no ip directed-broadcastduplex fullspeed autono cdp enable!ip classlessip route 0.0.0.0 0.0.0.0 1.14.128.33ip route 1.14.xxx.0 255.xxx.255.xxx 16.0.0.2ip route 1.14.xxx.16 255.xxx.255.240 1.14.xxx.33no ip http server!!radius-server host 1.14.132.2 auth-port 1645 acct-port 1646radius-server key ciscoradius-server vsa send accountingradius-server vsa send authentication!voice-port 0:Dcptone DE!!dial-peer voice 200 voipincoming called-number 53destination-pattern 34.....session target ipv4:16.0.0.2dtmf-relay h245-alphanumericcodec g711ulaw!dial-peer voice 102 potsapplication debit_card_rtspincoming called-number 3450072shutdowndestination-pattern 53.....port 0:D!!dial-peer voice 202 voipshutdowndestination-pattern 34.....session protocol sipv2session target ipv4:16.0.0.2dtmf-relay cisco-rtpcodec g711ulaw!dial-peer voice 101 potsapplication debit_cardincoming called-number 3450070destination-pattern 53.....port 0:D!!gateway!line con 0exec-timeout 0 0transport input noneline aux 0line vty 0 4password xxx!ntp clock-period 17180740ntp server 1.14.42.23endGW1#GW2 IVR Configuration Example
The following output is the result of using the show running-config command:
GW2#Router# show running-configBuilding configuration...Current configuration:!! Last configuration change at 08:41:12 PST Mon Jan 10 2000 by lab!version 12.1service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname GW2!logging buffered 100000 debuggingaaa new-modelaaa authentication login default local group radiusaaa authentication login h323 group radiusaaa authentication login con noneaaa authorization exec h323 group radiusaaa accounting connection h323 start-stop group radius!username lab password xxxusername 111119 password xxx!!resource-pool disable!!!!!clock timezone PST -8ip subnet-zeroip host radiusserver2 1.14.132.2ip host radiusserver1 1.14.138.11ip host baloo 1.14.124.254ip host rtspserver2 1.14.136.2ip host dirt 223.255.254.254ip host rtspserver3 1.14.126.2!mgcp package-capability trunk-packagemgcp default-package trunk-packageisdn switch-type primary-5essisdn voice-call-failure 0!!call application voice clid_authen_sky tftp://dirt/hostname/sky_scripts/clid_authen_collect_cli_sky.tclcall application voice rtsp_demo tftp://dirt/hostname/sky_scripts/rtsp_demo.tcltftp://dirt/hostname/WV/en_new/call application voice debit_card tftp://dirt/IVR 2.0/scripts.new/app_debitcard.tclcall application voice debit_card uid-len 6call application voice debit_card language 1 encall application voice debit_card language 2 chcall application voice debit_card set-location ch 0 tftp://dirt/hostname/WV/ch_new/call application voice debit_card set-location en 0 tftp://dirt/hostname/WV/en_new/call application voice clid_authen_rtsp tftp://dirt/IVR 2.0/scripts.new/app_clid_authen_collect_cli_rtsp.tclcall application voice clid_authen_rtsp location rtsp://rtspserver2:554/call application voice clid_authen1 tftp://dirt/IVR 2.0/scripts.new/app_clid_authen_collect_cli_rtsp.tclcall application voice clid_authen1 location tftp://dirt/hostname/WV/en_new/call application voice clid_authen1 uid-len 6call application voice clid_authen1 retry-count 4mta receive maximum-recipients 0!!controller T1 0framing esfclock source line primarylinecode b8zspri-group timeslots 1-24!controller T1 1clock source line secondary 1!controller T1 2!controller T1 3!gw-accounting h323gw-accounting h323 vsagw-accounting voip!!interface Ethernet0ip address 1.14.xxx.4 255.255.xxx.240no ip directed-broadcasth323-gateway voip interfaceh323-gateway voip id gk2 ipaddr 1.14.xxx.18 1719h323-gateway voip h323-id gw2@cisco.comh323-gateway voip tech-prefix 3#!interface Serial0:23no ip addressno ip directed-broadcastisdn switch-type primary-5essisdn incoming-voice modemfair-queue 64 256 0no cdp enable!interface FastEthernet0ip address 16.0.0.2 255.xxx.255.0no ip directed-broadcastduplex fullspeed 10no cdp enable!ip classlessip route 0.0.0.0 0.0.0.0 1.14.xxx.5ip route 1.14.xxx.32 255.255.xxx.240 16.0.0.1no ip http server!!radius-server host 1.14.132.2 auth-port 1645 acct-port 1646radius-server key ciscoradius-server vsa send accountingradius-server vsa send authentication!voice-port 0:D!dial-peer voice 100 voipapplication debit_cardincoming called-number 34shutdowndestination-pattern 53.....session target rasdtmf-relay h245-alphanumericcodec g711ulaw!dial-peer voice 200 potsincoming called-number 30001destination-pattern 3450070port 0:Dprefix 50070!dial-peer voice 101 voipapplication debit_cardincoming called-number 34.....shutdownsession protocol sipv2session target ipv4:16.0.0.1dtmf-relay cisco-rtpcodec g711ulaw!dial-peer voice 102 voipincoming called-number 34.....destination-pattern 53.....session target ipv4:16.0.0.1dtmf-relay h245-alphanumericcodec g711ulaw!gateway!line con 0exec-timeout 0 0transport input noneline aux 0line vty 0 4password xxx!ntp clock-period 17180933ntp server 1.14.42.23endGW2#MGCP Scripting Configuration Example
The following example displays only the MGCP specific portion of the configuration:
!mgcpmgcp request timeout 10000mgcp request retries 1mgcp call-agent 1.14.138.11mgcp restart-delay 10mgcp codec g723ar63 packetization-period 30mgcp vadmgcp package-capability gm-packagemgcp package-capability dtmf-packagemgcp package-capability trunk-packagemgcp package-capability rtp-packagemgcp package-capability as-packagemgcp package-capability script-packagemgcp default-package trunk-packageisdn switch-type primary-5essisdn voice-call-failure 0!!mta receive maximum-recipients 0!!controller T1 0framing esfclock source line primarylinecode b8zsds0-group 0 timeslots 1-24 type none service mgcp!controller T1 1framing esfclock source line secondary 1linecode b8zsds0-group 0 timeslots 1-24 type none service mgcp!controller T1 2framing esflinecode b8zsds0-group 0 timeslots 1-24 type none service mgcp!controller T1 3framing esflinecode b8zsds0-group 0 timeslots 1-24 type none service mgcp!!endCommand Reference
This section documents new or modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.1(3) T command reference publications.
•
call application cache reload time
•
rtsp client session history duration
•
rtsp client session history records
call application cache reload time
To configure the router to reload the Media Gateway Control Protocol scripts from cache on a regular interval, use the call application cache reload time global configuration command. To set the value to the default use the no form of this command.
call application cache reload time bg-minutes
no call application cache reload time
Syntax Description
Defaults
30 minutes
Command Modes
Global configuration
Command History
Examples
The following example displays the call application cache reload time command configured to specify 30 minutes before a background process is wakened:
call application cache reload time 30Related Commands
call application voice
To set the parameter values to be used with the IVR feature, use the call application voice command global configuration. To set the value to the default use the no form of this command.
call application voice name {url | {param} value1[value2]}
no call application voice name {url | {param} value1 [value2]}
Syntax Description
Table 1 Valid Parameters
Defaults
Each parameter must be defined for the system interaction with the voice prompt. See the command syntax description for individual parameter defaults.
Command Modes
Dial-peer configuration.
Command History
Usage Guidelines
The capability for a generic AV pair is added in Cisco IOS Release 12.1(3)T.
This command is used with the Debit Card feature and when an application is created to interact with IVR and TCL scripts.
The set of parameters, or keywords, is displayed only if the URL for the defined application is a TCL script, determined with the extension.tcl on the URL.
Examples
•
The following example shows syntax entered to configure the URL location, using category 2, English language) audio files:
call application voice debitcard set-location en 2tftp://keyer/faryaman/debitcard•
The following example shows syntax entered to configure the URL for all categories, all languages audio files:
call application voice debitcard set-location aa 0tftp://keyer/debitaudio/•
The following example shows a sequence of commands entered during configuration of an application:
Router(config)# call application voice prepaid tftp://keyer/debitcard.tclRouter(config)# call application voice prepaid uid-len 4Router(config)# call application voice prepaid language 1 enRouter(config)# call application voice prepaid language 2 spRouter(config)# call application voice prepaid set-location en 0 tftp://keyer/Router(config)# call application voice prepaid pin-len 4Router(config)# call application voice prepaid retry-count 3Router(config)# call application voice prepaid uid-len 10•
The following example shows syntax entered to call the application named my_app that is located on the TFTP server host named joe. The name of the TCL script is script.tcl.
call app voice my_app tftp://server/joe/script.tclcall app voice my_app num-calls-allowed unlimitedRelated Commands
call application voice load
To reload the selected tool command line script from the URL, use the call application voice load privileged EXEC command.
call application voice load name
Syntax Description
name
Defines the TCL script to use for the call. Enter the name of the TCL or MCGP script you want this dial peer to use.
Defaults
None. TCL or scripts are not loaded.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
The software checks the signature lock to ensure it is a Cisco- supported TCL script. call application voice load name
If the TCL script does not have a valid Cisco supported signature, the software fails to load the script and generates the following error message:
00:02:54: %IVR-3-BAD_IVR_SIG: Script signature is invalidExamples
The following example shows syntax entered to load a MGCP script package:
call application voice load mgcp-script-pkgRelated Commands
Related CommandsRelated Commands
rtsp client session history duration
To specify the length of time to keep Real Time Streaming Protocol session history records in memory, use the rtsp client session history duration global configuration command. To set the value to the default use the no form of this command.
rtsp client session history duration number
no rtsp client session history duration number
Syntax Description
Defaults
10 minutes
Command Modes
Global configuration
Command History
Examples
The following example sets the RTSP session history to 500 minutes:
rtsp client session history duration 500Related Commands
rtsp client session history records
To configure the number of records to keep in the RTSP client session history, use the rtsp client session history records global configuration command. To set the value to the default use the no form of this command.
rtsp client session history records number
no rtsp client session history records number
Syntax Description
Defaults
50 records
Command Modes
Global configuration
Command History
Examples
The following example sets the RTSP client history to 500 records:
rtsp client session history record 500Related Commands
show rtsp client session
To display cumulative information about Real Time Streaming Protocol session records, use the show rtsp client session privileged EXEC command. To set the value to the default use the no form of this command.
show rtsp client session {history | active} [detailed]
no show rtsp client session {history | active} [detailed]
Note
"Session" refers to a session between the application and the RTSP client. Each call leg that is configured to use RTSP streaming has a session.
Syntax Description
Defaults
Active (current) stream information is displayed.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Use of this command displays cumulative information about the session is displayed, packet statistics, and general call information such as call ID, session ID, and so on.
A call leg could play several prompts in a session; the "Play Time" refers to the play time associated with a stream or, in other words, a prompt; the cumulative play time is the sum total of all streams (or prompts) played out in a session.
Teh command output is a stream block that contains information about the stream, (URL, packet statistics, current state of the stream, play duration, call ID, session ID, individual RTSP stream URLs, and packet statistics).
Examples
The following output is displayed when the show rtsp client session active command is used during an active session:
Router# show rtsp client session activeRTSP Session ID:0x8 Current Status:RTSP_STATUS_PLAYINGAssociated CallID:0xFActive Request:RTSP_API_REQ_PLAYControl Protocol:TCP Data Protocol:RTPTotal Packets Transmitted:0 (0 bytes)Total Packets Received:708 (226560 bytes)Cumulative Elapsed Play Time:00:00:28.296Cumulative Elapsed Record Time:00:00:00.000Session ID:0x8 State:ACTIVELocal IP Address:1.13.79.45 Local Port 16660Server IP Address:1.13.79.6 Server Port 11046Stream URL:rtsp://rtsp-cisco.cisco.com:554/chinna.au/streamid=0Packets Transmitted:0 (0 bytes)Packets Received:708 (226560 bytes)Elapsed Play Time:00:00:28.296Elapsed Record Time:00:00:00.000ReceiveDelay:85 LostPackets:0Router#The following output is displayed when the show rtsp client session history detailed commandis used:
Router# show rtsp client session history detailedRTSP Session ID:0x8Associated CallID:0xFControl Protocol:TCP Data Protocol:RTPTotal Packets Transmitted:0 (0 bytes)Total Packets Received:2398 (767360 bytes)Cumulative Elapsed Play Time:00:01:35.916Cumulative Elapsed Record Time:00:00:00.000Session ID:0x8 State:INACTIVELocal IP Address:1.13.79.45 Local Port 16660Server IP Address:1.13.79.6 Server Port 11046Stream URL:rtsp://rtsp-cisco.cisco.com:554/chinna.au/streamid=0Packets Transmitted:0 (0 bytes)Packets Received:2398 (767360 bytes)Play Time:00:01:35.916Record Time:00:00:00.000OntimeRcvPlayout:93650GapFillWithSilence:0GapFillWithPrediction:70GapFillWithInterpolation:0GapFillWithRedundancy:0HighWaterPlayoutDelay:85LoWaterPlayoutDelay:64ReceiveDelay:85 LostPackets:0EarlyPackets:2 LatePackets:12rtsp-5#Router#Related Commands
Debug Commands
This section documents the new debug commands related to the RTSP and all other commands used with feature are documented in the Cisco IOS Release 12.1(3)T.
debug rtsp
To show the status of the Real Time Streaming Protocol client server, use the debug rstp command. To disables the display of output use the no form of this command.
debug rstp type [all | api | pmh | session | socket]
[no] debug rstp type [all | api | pmh | session | socket]
Syntax Description
Defaults
Debug is not enabled.
Command History
Related Commands
Command DescriptionDisplays debug output for the RTSP client API.
Displays debug output for the RTSP client data.
Displays debug output for the RTSP client socket data.
debug rtsp api
To display information about the Real Time Streaming Protocol API messages passed down to the RTSP client, use the debug rtsp api command. To disable the output, use the no form of this command.
debug rtsp api
[no] debug rtsp api
Syntax Description
This command has no arguments or keywords.
Defaults
Debug is not enabled.
Command History
Examples
The following example displays the output from entering the debug rtsp api command:
router# debug rtsp apiRTSP client API debugging is onrouter#Jan 1 00:23:15.775:rtsp_api_create_session:sess_id=0x61A07C78,evh=0x60D6E62C context=0x61A07B28Jan 1 00:23:15.775:rtsp_api_request:msg=0x61C2B10CJan 1 00:23:15.775:rtsp_api_handle_req_set_params:msg=0x61C2B10CJan 1 00:23:15.775:rtsp_api_free_msg_buffer:msg=0x61C2B10CJan 1 00:23:15.775:rtsp_api_request:msg=0x61C293CCJan 1 00:23:15.775:rtsp_api_handle_req_set_params:msg=0x61C293CCJan 1 00:23:15.775:rtsp_api_free_msg_buffer:msg=0x61C293CCJan 1 00:23:15.775:rtsp_api_request:msg=0x61C2970CJan 1 00:23:15.775:rtsp_api_handle_req_set_params:msg=0x61C2970CJan 1 00:23:15.775:rtsp_api_free_msg_buffer:msg=0x61C2970Crouter#Jan 1 00:23:15.775:rtsp_api_request:msg=0x61C29A4Crouter#Jan 1 00:23:22.099:rtsp_api_free_msg_buffer:msg=0x61C29A4CJan 1 00:23:22.115:rtsp_api_request:msg=0x61C2A40CJan 1 00:23:22.115:rtsp_api_free_msg_buffer:msg=0x61C2A40CRouter#Related Commands
Command DescriptionDisplays debug output for the RTSP client data.
debug rtsp pmh
Displays debug messages for the PMH.
Displays debug output for the RTSP client socket data.
debug rtsp client session
To display debug messages about the Real Time Streaming Protocol client or the current session, use the debug rtsp [client | session] command. To disable the output, use the no form of this command.
debug rtsp [client | session]
[no] debug rtsp [client | session]
Syntax Description
Defaults
Debug is not enabled.
Command History
Examples
The following example displays the debug messages of the RTSP session:
Router# debug rtsp sessionRTSP client session debugging is onrouter#Jan 1 00:08:36.099:rtsp_get_new_scb:Jan 1 00:08:36.099:rtsp_initialize_scb:Jan 1 00:08:36.099:rtsp_control_process_msg:Jan 1 00:08:36.099:rtsp_control_process_msg:received MSG request of TYPE 0Jan 1 00:08:36.099:rtsp_set_event:Jan 1 00:08:36.099:rtsp_set_event:api_req_msg_type=RTSP_API_REQ_PLAYJan 1 00:08:36.103:rtsp_set_event:url:[rtsp://rtsp-cisco.cisco.com:554/en_welcome.au]Jan 1 00:08:36.103:rtsp_process_async_event:SCB=0x62128F08Jan 1 00:08:36.103:rtsp_process_async_event:rtsp_state = RTSP_SES_STATE_IDLErtsp_event = RTSP_EV_PLAY_OR_RECJan 1 00:08:36.103:act_idle_event_play_or_rec_req:Jan 1 00:08:36.103:rtsp_resolve_dns:Jan 1 00:08:36.103:rtsp_resolve_dns:IP Addr = 1.13.79.6:Jan 1 00:08:36.103:rtsp_connect_to_svr:Jan 1 00:08:36.103:rtsp_connect_to_svr:socket=0, connection_state = 2Jan 1 00:08:36.103:rtsp_start_timer:timer (0x62128FD0)starts - delay (10000)Jan 1 00:08:36.107:rtsp_control_main:SOCK= 0 Event=0x1Jan 1 00:08:36.107:rtsp_stop_timer:timer(0x62128FD0) stopsJan 1 00:08:36.107:rtsp_process_async_event:SCB=0x62128F08Jan 1 00:08:36.107:rtsp_process_async_event:rtsp_state = RTSP_SES_STATE_IDLErtsp_event = RTSP_EV_SVR_CONNECTEDJan 1 00:08:36.107:act_idle_event_svr_connected:Jan 1 00:08:36.107:rtsp_control_main:SOCK= 0 Event=0x1Jan 1 00:08:36.783:rtsp_control_main:SOCK= 0 Event=0x1Jan 1 00:08:36.783:rtsp_process_async_event:SCB=0x62128F08Jan 1 00:08:36.783:rtsp_process_async_event:rtsp_state = RTSP_SES_STATE_READYrtsp_event = RTSP_EV_SVR_DESC_OR_ANNOUNCE_RESPJan 1 00:08:36.783:act_ready_event_desc_or_announce_resp:Jan 1 00:08:36.783:act_ready_event_desc_or_announce_resp:RTSP_STATUS_DESC_OR_ANNOUNCE_RESP_OKJan 1 00:08:37.287:rtsp_control_main:SOCK= 0 Event=0x1Jan 1 00:08:37.287:rtsp_process_async_event:SCB=0x62128F08Jan 1 00:08:37.287:rtsp_process_async_event:rtsp_state = RTSP_SES_STATE_READYrtsp_event = RTSP_EV_SVR_SETUP_RESPJan 1 00:08:37.287:act_ready_event_setup_resp:Jan 1 00:08:37.287:act_ready_event_setup_resp:Remote RTP Port=13344Jan 1 00:08:37.287:rtsp_rtp_stream_setup:scb=0x62128F08, callID=0x7 record=0Jan 1 00:08:37.287:rtsp_rtp_stream_setup:Starting RTCP session.Local IP addr = 1.13.79.45, Remote IP addr = 1.13.79.6,Local RTP port = 18748, Remote RTP port = 13344 CallID=8Jan 1 00:08:37.291:xmit_func = 0x0 vdbptr = 0x61A0FC98Jan 1 00:08:37.291:rtsp_control_main:CCAPI Queue EventJan 1 00:08:37.291:rtsp_rtp_associate_done:ev=0x62070E08, callID=0x7Jan 1 00:08:37.291:rtsp_rtp_associate_done:scb=0x62128F08Jan 1 00:08:37.291:rtsp_rtp_associate_done:callID=0x7, pVdb=0x61F4FBC8,Jan 1 00:08:37.291: spi_context=0x6214145CJan 1 00:08:37.291: disposition=0, playFunc=0x60CA2238,Jan 1 00:08:37.291: codec=0x5, vad=0, mediaType=6,Jan 1 00:08:37.291: stream_assoc_id=1Jan 1 00:08:37.291:rtsp_rtp_modify_session:scb=0x62128F08, callID=0x7Jan 1 00:08:37.291:rtsp_process_async_event:SCB=0x62128F08Jan 1 00:08:37.291:rtsp_process_async_event:rtsp_state = RTSP_SES_STATE_READYrtsp_event = RTSP_EV_ASSOCIATE_DONEJan 1 00:08:37.291:act_ready_event_associate_done:Jan 1 00:08:37.291:rtsp_get_stream:Jan 1 00:08:37.783:rtsp_control_main:SOCK= 0 Event=0x1Jan 1 00:08:37.783:rtsp_process_async_event:SCB=0x62128F08Jan 1 00:08:37.783:rtsp_process_async_event:rtsp_state = RTSP_SES_STATE_READYrtsp_event = RTSP_EV_SVR_PLAY_OR_REC_RESPJan 1 00:08:37.783:act_ready_event_play_or_rec_resp:Jan 1 00:08:37.783:rtsp_start_timer:timer (0x62128FB0)starts - delay (4249)rtsp-5#Jan 1 00:08:42.035:rtsp_process_timer_events:Jan 1 00:08:42.035:rtsp_process_timer_events:PLAY OR RECORD completedJan 1 00:08:42.035:rtsp_process_async_event:SCB=0x62128F08Jan 1 00:08:42.035:rtsp_process_async_event:rtsp_state = RTSP_SES_STATE_PLAY_OR_RECrtsp_event = RTSP_EV_PLAY_OR_REC_TIMER_EXPIREDJan 1 00:08:42.035:act_play_event_play_done:Jan 1 00:08:42.035:act_play_event_play_done:elapsed play time = 4249 total play time = 4249Jan 1 00:08:42.035:rtsp_send_teardown_to_svr:Jan 1 00:08:42.487:rtsp_control_main:SOCK= 0 Event=0x1Jan 1 00:08:42.487:rtsp_process_async_event:SCB=0x62128F08Jan 1 00:08:42.487:rtsp_process_async_event:rtsp_state = RTSP_SES_STATE_PLAY_OR_RECrtsp_event = RTSP_EV_SVR_TEARDOWN_RESPJan 1 00:08:42.487:act_play_event_teardown_resp:Jan 1 00:08:42.487:rtsp_server_closed:Jan 1 00:08:42.487:rtsp_send_resp_to_api:Jan 1 00:08:42.487:rtsp_send_resp_to_api:sending RESP=RTSP_STATUS_PLAY_COMPLETEJan 1 00:08:42.491:rtsp_rtp_teardown_stream:scb=0x62128F08, callID=0x7Jan 1 00:08:42.491:rtsp_rtp_stream_cleanup:scb=0x62128F08, callID=0x7Jan 1 00:08:42.491:rtsp_update_stream_stats:scb=0x62128F08, stream=0x61A43350,Jan 1 00:08:42.491:call_info=0x6214C67C, callID=0x7Jan 1 00:08:42.491:rtsp_update_stream_stats:rx_bytes = 25992Jan 1 00:08:42.491:rtsp_update_stream_stats:rx_packetes = 82Jan 1 00:08:42.491:rtsp_reinitialize_scb:Jan 1 00:08:42.503:rtsp_control_process_msg:Jan 1 00:08:42.503:rtsp_control_process_msg:received MSG request of TYPE 0Jan 1 00:08:42.503:rtsp_set_event:Jan 1 00:08:42.503:rtsp_set_event:api_req_msg_type=RTSP_API_REQ_DESTROYJan 1 00:08:42.503:rtsp_session_cleanup:Jan 1 00:08:42.503:rtsp_create_session_history:scb=0x62128F08, callID=0x7Jan 1 00:08:42.503:rtsp_insert_session_history_record:current=0x6214BDC8, callID=0x7Jan 1 00:08:42.503:rtsp_insert_session_history_record:count = 3Jan 1 00:08:42.503:rtsp_insert_session_history_record:starting history record deletion_timer of10 minutesJan 1 00:08:42.503:rtsp_session_cleanup:deleting session:scb=0x62128F08Router#Related Commands
debug rtsp pmh
To display debug information about the Protocol Message Handler (PMH), use the debug rtsp pmh command. To disable the output, use the no form of this command.
debug rtsp pmh
[no] debug rtsp pmh
Syntax Description
This command has no arguments or keywords.
Defaults
Debug is not enabled.
Command History
Usage Guidelines
Use the debug rtsp pmh debug command for the following instances:
•
To view packets sent by the gateway (Real time Streaming Protocol client) to the RTSP server. For example:
Mar 1 02:25:11.447:SendBuf:DESCRIBE rtsp://rtsp-cisco.cisco.com/en_welcome.au RTSP/1.0CSeq:0•
To view packets sent by the RTSP server to the gateway. For example:
Mar 1 02:25:11.947:########################################Mar 1 02:25:11.947:Mesg_line :RTSP/1.0 200 OKMar 1 02:25:11.951:Content_length :459Mar 1 02:25:11.951:Header listMar 1 02:25:11.951:Content-length:459Mar 1 02:25:11.951:Content-type:application/sdpMar 1 02:25:11.951:Content-base:rtsp://rtsp-cisco.cisco.com/en_welcome.au/Mar 1 02:25:11.951:X-TSPort:7802Mar 1 02:25:11.951:Last-Modified:Thu, 07 Oct 1999 13:51:28 GMTMar 1 02:25:11.951:Date:Mon, 10 Jan 2000 16:40:59 GMTMar 1 02:25:11.951:CSeq:0Examples
The following example output displays the result from entering the debug rtsp pmh command:
Router# debug rtsp pmhRTSP client Protocol Message Handler debugging is onRouter#Jan 1 00:22:34.087:rtsp_pmh_update_play_req_url:Jan 1 00:22:34.087:rtsp_pmh_parse_url:Jan 1 00:22:34.087:Input-Url:rtsp://rtsp-cisco.cisco.com:554/en_welcome.auJan 1 00:22:34.087:Hostname:rtsp-cisco.cisco.comJan 1 00:22:34.087:Port :554Jan 1 00:22:34.087:Path :en_welcome.auJan 1 00:22:34.091:rtsp_pmh_build_desc_req:Jan 1 00:22:34.091:rtsp_pmh_add_req_line:Jan 1 00:22:34.091:RequestLine:(DESCRIBE rtsp://rtsp-cisco.cisco.com:554/en_welcome.au RTSP/1.0)Jan 1 00:22:34.091:SendBuf:DESCRIBE rtsp://rtsp-cisco.cisco.com:554/en_welcome.au RTSP/1.0CSeq:0Jan 1 00:22:34.091:last_req = 0Jan 1 00:22:34.739:rtsp_pmh_parse_svr_response:Jan 1 00:22:34.739:rtsp_pmh_create_mesg:Jan 1 00:22:34.739:########################################Jan 1 00:22:34.739:Mesg_line :RTSP/1.0 200 OKJan 1 00:22:34.739:Content_length :482Jan 1 00:22:34.739:Header listJan 1 00:22:34.739:Content-length:482Jan 1 00:22:34.739:Content-type:application/sdpJan 1 00:22:34.739:Content-base:rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/Jan 1 00:22:34.739:Last-Modified:Thu, 07 Oct 1999 13:51:28 GMTJan 1 00:22:34.739:X-TSPort:7802Jan 1 00:22:34.739:vsrc:http://rtsp-cisco.cisco.com:8080/viewsource/template.html?nuyhtgywkgz6mc 9AbhC4gn5gBsqp4eA1v1yeC3d4ngEt5o5gwuw4t6x05jbhcv66ngE8xg8fJan 1 00:22:34.739:Set-Cookie:cbid=ekeghhiljgekgihheoqohpptrrjrktlufkegkioihgjfdlplrnqogpoqlrpsk qnuffgjcmcl;path=/;expires=Thu,31-Dec-2037 23:59:59 GMTJan 1 00:22:34.739:Date:Mon, 10 Apr 2000 15:39:17 GMTJan 1 00:22:34.739:CSeq:0Jan 1 00:22:34.739:Message BodyJan 1 00:22:34.739:v=0o=- 939300688 939300688 IN IP4 1.13.79.6s=<No title>i=<No author> <No copyright>a=StreamCount:integer;1t=0 0m=audio 0 RTP/AVP 0a=control:streamid=0a=rtpmap:0 L8/8000/1a=length:npt=3.249000a=range:npt=0-3.249000a=mimetype:string;"audio/x-pn-au"a=StartTime:integer;0a=AvgBitRate:integer;64000a=AvgPacketSize:integer;320a=Preroll:integer;0a=MaxPacketSize:integer;320a=MaxBitRate:integer;64000a=OpaqueData:buffer;"AQABAEAfAAA="a=StreamName:string;"audio/x-pn-au"Jan 1 00:22:34.739:########################################Jan 1 00:22:34.739:rtsp_pmh_process_resp_headers:Jan 1 00:22:34.739:rtsp_pmh_get_header_value:Jan 1 00:22:34.739:rtsp_pmh_process_resp_headers:Cseq=1Jan 1 00:22:34.739:rtsp_pmh_get_resp_line:Jan 1 00:22:34.739:rtsp_pmh_process_resp_headers:Response StatusJan 1 00:22:34.739:rtsp_pmh_process_resp_headers:Status Code:200Jan 1 00:22:34.739:rtsp_pmh_process_resp_headers:Reason Phrase:OKJan 1 00:22:34.743:rtsp_pmh_parse_mesg_body:Jan 1 00:22:34.743:rtsp_pmh_process_resp_headers:Response URL:rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/streamid=0Jan 1 00:22:34.743:rtsp_pmh_process_resp_headers:RealServer DurationJan 1 00:22:34.743:rtsp_pmh_process_resp_headers:IP/TV DurationJan 1 00:22:34.743:rtsp_pmh_get_range_from_npt:Jan 1 00:22:34.743:rtsp_pmh_get_range_from_npt:Duration:3249 msecsJan 1 00:22:34.743:rtsp_pmh_update_resp_status:Jan 1 00:22:34.743:rtsp_pmh_update_resp_status:Control Not activeJan 1 00:22:34.743:########################################Jan 1 00:22:34.743:Mesg_line :RTSP/1.0 200 OKJan 1 00:22:34.743:Content_length :482Jan 1 00:22:34.743:Header listJan 1 00:22:34.743:Content-length:482Jan 1 00:22:34.743:Content-type:application/sdpJan 1 00:22:34.743:Content-base:rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/Jan 1 00:22:34.743:Last-Modified:Thu, 07 Oct 1999 13:51:28 GMTJan 1 00:22:34.743:X-TSPort:7802Jan 1 00:22:34.743:vsrc:http://rtsp-cisco.cisco.com:8080/viewsource/template.html?nuyhtgywkgz6mc 9AbhC4gn5gBsqp4eA1v1yeC3d4ngEt5o5gwuw4t6x05jbhcv66ngE8xg8fJan 1 00:22:34.743:Set-Cookie:cbid=ekeghhiljgekgihheoqohpptrrjrktlufkegkioihgjfdlplrnqogpoqlrpsk qnuffgjcmcl;path=/;expires=Thu,31-Dec-2037 23:59:59 GMTJan 1 00:22:34.743:Date:Mon, 10 Apr 2000 15:39:17 GMTJan 1 00:22:34.743:CSeq:0Jan 1 00:22:34.743:Message BodyJan 1 00:22:34.743:v=0o=- 939300688 939300688 IN IP4 1.13.79.6s=<No title>i=<No author> <No copyright>a=StreamCount:integer;1t=0 0m=audio 0 RTP/AVP 0a=control:streamid=0a=rtpmap:0 L8/8000/1a=length:npt=3.249000a=range:npt=0-3.249000a=mimetype:string;"audio/x-pn-au"a=StartTime:integer;0a=AvgBitRate:integer;64000a=AvgPacketSize:integer;320a=Preroll:integer;0a=MaxPacketSize:integer;320a=MaxBitRate:integer;64000a=OpaqueData:buffer;"AQABAEAfAAA="a=StreamName:string;"audio/x-pn-au"Jan 1 00:22:34.743:########################################Jan 1 00:22:34.743:rtsp_pmh_free_mesg:Jan 1 00:22:34.743:rtsp_pmh_build_setup_req:Jan 1 00:22:34.743:rtsp_pmh_add_req_line:Jan 1 00:22:34.743:RequestLine:(SETUP rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/streamid=0 RTSP/1.0)Jan 1 00:22:34.747:rtsp_pmh_build_setup_req:SendBuf:SETUP rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/streamid=0 RTSP/1.0CSeq:1Transport:rtp/avp;unicast;client_port=18084Jan 1 00:22:35.243:rtsp_pmh_parse_svr_response:Jan 1 00:22:35.243:rtsp_pmh_create_mesg:Jan 1 00:22:35.243:########################################Jan 1 00:22:35.243:Mesg_line :RTSP/1.0 200 OKJan 1 00:22:35.243:Content_length :0Jan 1 00:22:35.243:Header listJan 1 00:22:35.243:Transport:rtp/avp;unicast;client_port=18084-18085;server_port=23192-23193Jan 1 00:22:35.243:Session:24457-1Jan 1 00:22:35.243:Date:Mon, 10 Apr 2000 15:39:17 GMTJan 1 00:22:35.243:CSeq:1Jan 1 00:22:35.243:Message BodyJan 1 00:22:35.243:########################################Jan 1 00:22:35.243:rtsp_pmh_process_resp_headers:Jan 1 00:22:35.243:rtsp_pmh_get_header_value:Jan 1 00:22:35.243:rtsp_pmh_process_resp_headers:Cseq=2Jan 1 00:22:35.243:rtsp_pmh_get_resp_line:Jan 1 00:22:35.243:rtsp_pmh_process_resp_headers:Response StatusJan 1 00:22:35.243:rtsp_pmh_process_resp_headers:Status Code:200Jan 1 00:22:35.243:rtsp_pmh_process_resp_headers:Reason Phrase:OKJan 1 00:22:35.243:rtsp_pmh_get_header_value:Jan 1 00:22:35.247:rtsp_pmh_get_header_value:Jan 1 00:22:35.247:rtsp_pmh_process_resp_headers:RTP PORT= 23192Jan 1 00:22:35.247:rtsp_pmh_process_resp_headers:RTP PORT= 23192Jan 1 00:22:35.247:rtsp_pmh_update_resp_status:Jan 1 00:22:35.247:rtsp_pmh_update_resp_status:Control Not activeJan 1 00:22:35.247:########################################Jan 1 00:22:35.247:Mesg_line :RTSP/1.0 200 OKJan 1 00:22:35.247:Content_length :0Jan 1 00:22:35.247:Header listJan 1 00:22:35.247:Transport:rtp/avp;unicast;client_port=18084-18085;server_port=23192-23193Jan 1 00:22:35.247:Session:24457-1Jan 1 00:22:35.247:Date:Mon, 10 Apr 2000 15:39:17 GMTJan 1 00:22:35.247:CSeq:1Jan 1 00:22:35.247:Message BodyJan 1 00:22:35.247:########################################Jan 1 00:22:35.247:rtsp_pmh_free_mesg:Jan 1 00:22:35.247:rtsp_pmh_build_play_req:Jan 1 00:22:35.247:rtsp_pmh_add_req_line:Jan 1 00:22:35.247:RequestLine:(PLAY rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/streamid=0 RTSP/1.0)Jan 1 00:22:35.247:rtsp_pmh_build_play_req:SendBuf:PLAY rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/streamid=0 RTSP/1.0Session:24457-1CSeq:2Jan 1 00:22:35.735:rtsp_pmh_parse_svr_response:Jan 1 00:22:35.735:rtsp_pmh_create_mesg:Jan 1 00:22:35.739:########################################Jan 1 00:22:35.739:Mesg_line :RTSP/1.0 200 OKJan 1 00:22:35.739:Content_length :0Jan 1 00:22:35.739:Header listJan 1 00:22:35.739:Date:Mon, 10 Apr 2000 15:39:18 GMTJan 1 00:22:35.739:CSeq:2Jan 1 00:22:35.739:Message BodyJan 1 00:22:35.739:########################################Jan 1 00:22:35.739:rtsp_pmh_process_resp_headers:Jan 1 00:22:35.739:rtsp_pmh_get_header_value:Jan 1 00:22:35.739:rtsp_pmh_process_resp_headers:Cseq=3Jan 1 00:22:35.739:rtsp_pmh_get_resp_line:Jan 1 00:22:35.739:rtsp_pmh_process_resp_headers:Response StatusJan 1 00:22:35.739:rtsp_pmh_process_resp_headers:Status Code:200Jan 1 00:22:35.739:rtsp_pmh_process_resp_headers:Reason Phrase:OKJan 1 00:22:35.739:rtsp_pmh_update_resp_status:Jan 1 00:22:35.739:rtsp_pmh_update_resp_status:Control Not activeJan 1 00:22:35.739:########################################Jan 1 00:22:35.739:Mesg_line :RTSP/1.0 200 OKJan 1 00:22:35.739:Content_length :0Jan 1 00:22:35.739:Header listJan 1 00:22:35.739:Date:Mon, 10 Apr 2000 15:39:18 GMTJan 1 00:22:35.739:CSeq:2Jan 1 00:22:35.739:Message BodyJan 1 00:22:35.739:########################################Jan 1 00:22:35.739:rtsp_pmh_free_mesg:Jan 1 00:22:40.011:rtsp_pmh_build_teardown_req:Jan 1 00:22:40.011:rtsp_pmh_add_req_line:Jan 1 00:22:40.011:RequestLine:(TEARDOWN rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/streamid=0 RTSP/1.0)Jan 1 00:22:40.011:SendBuf:TEARDOWN rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/streamid=0 RTSP/1.0Session:24457-1CSeq:3Jan 1 00:22:40.443:rtsp_pmh_parse_svr_response:Jan 1 00:22:40.443:rtsp_pmh_create_mesg:Jan 1 00:22:40.443:########################################Jan 1 00:22:40.443:Mesg_line :RTSP/1.0 200 OKJan 1 00:22:40.443:Content_length :0Jan 1 00:22:40.443:Header listJan 1 00:22:40.443:Date:Mon, 10 Apr 2000 15:39:23 GMTJan 1 00:22:40.443:CSeq:3Jan 1 00:22:40.443:Message BodyJan 1 00:22:40.443:########################################Jan 1 00:22:40.443:rtsp_pmh_process_resp_headers:Jan 1 00:22:40.443:rtsp_pmh_get_header_value:Jan 1 00:22:40.443:rtsp_pmh_process_resp_headers:Cseq=4Jan 1 00:22:40.443:rtsp_pmh_get_resp_line:Jan 1 00:22:40.443:rtsp_pmh_process_resp_headers:Response StatusJan 1 00:22:40.443:rtsp_pmh_process_resp_headers:Status Code:200Jan 1 00:22:40.443:rtsp_pmh_process_resp_headers:Reason Phrase:OKJan 1 00:22:40.443:rtsp_pmh_update_resp_status:Jan 1 00:22:40.443:rtsp_pmh_update_resp_status:Control Not activeJan 1 00:22:40.443:########################################Jan 1 00:22:40.447:Mesg_line :RTSP/1.0 200 OKJan 1 00:22:40.447:Content_length :0Jan 1 00:22:40.447:Header listJan 1 00:22:40.447:Date:Mon, 10 Apr 2000 15:39:23 GMTJan 1 00:22:40.447:CSeq:3Jan 1 00:22:40.447:Message BodyJan 1 00:22:40.447:########################################Jan 1 00:22:40.447:rtsp_pmh_free_mesg:Router#Jan 1 00:14:20.483:rtsp_tcp_socket_connect:Jan 1 00:14:20.483:rtsp_tcp_socket_connect:Socket = 0Jan 1 00:14:20.483: Dest_addr = 1.13.79.6 Dest_Port=554Jan 1 00:14:20.487:rtsp_send_req_to_svr:Socket = 0 send_buf = DESCRIBE rtsp://rtsp-cisco.cisco.com:554/en_welcome.au RTSP/1.0CSeq:0len = 76Jan 1 00:14:20.491:rtsp_send_req_to_svr:bytes_sent = 76Jan 1 00:14:20.491:rtsp_read_svr_resp:Socket = 0Jan 1 00:14:20.491:rtsp_read_svr_resp:NBYTES = -1Jan 1 00:14:21.155:rtsp_read_svr_resp:Socket = 0Jan 1 00:14:21.159:rtsp_read_svr_resp:NBYTES = 996Jan 1 00:14:21.223:rtsp_read_svr_resp:rtsp_pmh_parse_svr_response completeJan 1 00:14:21.227:rtsp_read_svr_resp:RESP received OKJan 1 00:14:21.227:rtsp_send_req_to_svr:Socket = 0 send_buf = SETUP rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/streamid=0 RTSP/1.0CSeq:1Transport:rtp/avp;unicast;client_port=18074len = 130Jan 1 00:14:21.227:rtsp_send_req_to_svr:bytes_sent = 130Jan 1 00:14:21.663:rtsp_read_svr_resp:Socket = 0Jan 1 00:14:21.663:rtsp_read_svr_resp:NBYTES = 159Jan 1 00:14:21.663:rtsp_read_svr_resp:rcv_buf = RTSP/1.0 200 OKCSeq:1Date:Mon, 10 Apr 2000 15:31:04 GMTSession:24455-1Transport:rtp/avp;unicast;client_port=18074-18075;server_port=15562-15563Jan 1 00:14:21.663:rtsp_read_svr_resp:rtsp_pmh_parse_svr_response completeJan 1 00:14:21.663:rtsp_read_svr_resp:RESP received OKJan 1 00:14:21.663:rtsp_send_req_to_svr:Socket = 0 send_buf = PLAY rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/streamid=0 RTSP/1.0Session:24455-1CSeq:2len = 101Jan 1 00:14:21.667:rtsp_send_req_to_svr:bytes_sent = 101Jan 1 00:14:22.155:rtsp_read_svr_resp:Socket = 0Jan 1 00:14:22.155:rtsp_read_svr_resp:NBYTES = 65Jan 1 00:14:22.155:rtsp_read_svr_resp:rcv_buf = RTSP/1.0 200 OKCSeq:2Date:Mon, 10 Apr 2000 15:31:04 GMTJan 1 00:14:22.155:rtsp_read_svr_resp:rtsp_pmh_parse_svr_response completeJan 1 00:14:22.155:rtsp_read_svr_resp:RESP received OKrtsp-5#Jan 1 00:14:26.411:rtsp_send_req_to_svr:Socket = 0 send_buf = TEARDOWN rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/streamid=0 RTSP/1.0Session:24455-1CSeq:3len = 105Jan 1 00:14:26.411:rtsp_send_req_to_svr:bytes_sent = 105Jan 1 00:14:26.863:rtsp_read_svr_resp:Socket = 0Jan 1 00:14:26.863:rtsp_read_svr_resp:NBYTES = 65Jan 1 00:14:26.863:rtsp_read_svr_resp:rcv_buf = RTSP/1.0 200 OKCSeq:3Date:Mon, 10 Apr 2000 15:31:09 GMTJan 1 00:14:26.863:rtsp_read_svr_resp:rtsp_pmh_parse_svr_response completeJan 1 00:14:26.863:rtsp_read_svr_resp:RESP received OKJan 1 00:14:26.863:rtsp_close_svr_connection:closing socket 0Router#Related Commands
Command DescriptionDisplays debug output for the RTSP client API.
Displays debug output for the RTSP client data.
Displays debug output for the RTSP client socket data.
debug rtsp socket
To display debug messages about the packets received or sent on the TCP or User Datagram Protcol sockets, use the debug rtsp socket command. To disable the output, use the no form of this command.
debug rtsp socket
[no] debug rtsp socket
Syntax Description
This command has no arguments or keywords.
Defaults
Debug is not enabled.
Command History
Usage Guidelines
Each RTSP session has a TCP port for control and UDP (RTP) port for delivery of data. The control connection (TCP socket) is used to exchange a set of messages (request from the RTSP client and the response from the server) for playing a prompt. The debug rtsp socket command enables the user to debug the message exchanges being done on the TCP control connection.
Examples
The following example displays output from the debug rtsp socket command:
Router# show debug rtsp socketJan 1 00:14:20.483:rtsp_tcp_socket_connect:Jan 1 00:14:20.483:rtsp_tcp_socket_connect:Socket = 0Jan 1 00:14:20.483: Dest_addr = 1.13.79.6 Dest_Port=554Jan 1 00:14:20.487:rtsp_send_req_to_svr:Socket = 0 send_buf = DESCRIBE rtsp://rtsp-cisco.cisco.com:554/en_welcome.au RTSP/1.0CSeq:0len = 76Jan 1 00:14:20.491:rtsp_send_req_to_svr:bytes_sent = 76Jan 1 00:14:20.491:rtsp_read_svr_resp:Socket = 0Jan 1 00:14:20.491:rtsp_read_svr_resp:NBYTES = -1Jan 1 00:14:21.155:rtsp_read_svr_resp:Socket = 0Jan 1 00:14:21.159:rtsp_read_svr_resp:NBYTES = 996Jan 1 00:14:21.223:rtsp_read_svr_resp:rtsp_pmh_parse_svr_response completeJan 1 00:14:21.227:rtsp_read_svr_resp:RESP received OKJan 1 00:14:21.227:rtsp_send_req_to_svr:Socket = 0 send_buf = SETUP rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/streamid=0 RTSP/1.0CSeq:1Transport:rtp/avp;unicast;client_port=18074len = 130Jan 1 00:14:21.227:rtsp_send_req_to_svr:bytes_sent = 130Jan 1 00:14:21.663:rtsp_read_svr_resp:Socket = 0Jan 1 00:14:21.663:rtsp_read_svr_resp:NBYTES = 159Jan 1 00:14:21.663:rtsp_read_svr_resp:rcv_buf = RTSP/1.0 200 OKCSeq:1Date:Mon, 10 Apr 2000 15:31:04 GMTSession:24455-1Transport:rtp/avp;unicast;client_port=18074-18075;server_port=15562-15563Jan 1 00:14:21.663:rtsp_read_svr_resp:rtsp_pmh_parse_svr_response completeJan 1 00:14:21.663:rtsp_read_svr_resp:RESP received OKJan 1 00:14:21.663:rtsp_send_req_to_svr:Socket = 0 send_buf = PLAY rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/streamid=0 RTSP/1.0Session:24455-1CSeq:2len = 101Jan 1 00:14:21.667:rtsp_send_req_to_svr:bytes_sent = 101Jan 1 00:14:22.155:rtsp_read_svr_resp:Socket = 0Jan 1 00:14:22.155:rtsp_read_svr_resp:NBYTES = 65Jan 1 00:14:22.155:rtsp_read_svr_resp:rcv_buf = RTSP/1.0 200 OKCSeq:2Date:Mon, 10 Apr 2000 15:31:04 GMTJan 1 00:14:22.155:rtsp_read_svr_resp:rtsp_pmh_parse_svr_response completeJan 1 00:14:22.155:rtsp_read_svr_resp:RESP received OKrtsp-5#Jan 1 00:14:26.411:rtsp_send_req_to_svr:Socket = 0 send_buf = TEARDOWN rtsp://rtsp-cisco.cisco.com:554/en_welcome.au/streamid=0 RTSP/1.0Session:24455-1CSeq:3len = 105Jan 1 00:14:26.411:rtsp_send_req_to_svr:bytes_sent = 105Jan 1 00:14:26.863:rtsp_read_svr_resp:Socket = 0Jan 1 00:14:26.863:rtsp_read_svr_resp:NBYTES = 65Jan 1 00:14:26.863:rtsp_read_svr_resp:rcv_buf = RTSP/1.0 200 OKCSeq:3Date:Mon, 10 Apr 2000 15:31:09 GMTJan 1 00:14:26.863:rtsp_read_svr_resp:rtsp_pmh_parse_svr_response completeJan 1 00:14:26.863:rtsp_read_svr_resp:RESP received OKJan 1 00:14:26.863:rtsp_close_svr_connection:closing socket 0Router#Related Commands
Command DescriptionDisplays debug output for the RTSP client API.
Displays debug output for the RTSP client data.
debug rtsp pmh
Displays debug messages for the PMH.
debug voip ivr
To display debug messages for Voice over IP IVR interactions, use the debug voip ivr command. To disable the debug output, use the no form of this command.
debug voip ivr
[no] debug voip ivr type
Syntax Description
Defaults
Debug is not enabled.
Command History
Examples
The following examples are from the code for Cisco IOS Release 12.1(3)T. The output is displayed when the debug voip ivr type command is entered:
The following output is displayed when the debug voip ivr applib command is entered:
Router1# debug voip ivr applibivr:ivr app library debugging is onRouter1#Jan 10 17:42:04.180:AppManagerCCAPI_Interface:Jan 10 17:42:04.180:AppNewLegJan 10 17:42:04.180:AppPushLegORConnection:Pushing LEG[34 ][NULL] Onto {HAN[TCL_HAND][NULL ] ( )}Jan 10 17:42:04.180:Event CC_EV_CALL_SETUP_IND[29]:LEG[34][TCL_HAND]Jan 10 17:42:04.184:AppPushHandler:Pushing {HAN[DC_HAND ][NULL ]( )} Onto {HAN[TCL_HAND][NULL ] ( LEG[34 ][TCL_HAND] )}Jan 10 17:42:04.184:AppPushLegORConnection:Pushing LEG[34][TCL_HAND] Onto {HAN[DC_HAND ][TCL_HAND] ( )}Jan 10 17:42:04.184:$ mediaPlay():CallID 34Jan 10 17:42:04.184:Event CC_EV_CALL_REPORT_DIGITS_DONE[45]:LEG[34][DC_HAND ]Jan 10 17:42:17.261:AppMediaCallback:CallID 34 receivedresponse 'MSW_RESPONSE_TYPE_PLAY'with reason 'MSW_REASON_GENERIC_SUCCESS'Jan 10 17:42:17.261:Event APP_EV_MEDIA_CALLBACK[47]:LEG[34][DC_HAND ]Jan 10 17:42:18.209:%ISDN-6-DISCONNECT:Interface Serial0:0disconnected from unknown , call lasted 13 secondsThe following output is displayed when the debug voip ivr callsetup command is entered:
Router# debug voip ivr callsetupJan 10 17:45:57.528:%SYS-5-CONFIG_I:Configured from console by lab onconsoleJan 10 17:46:37.682:InitiateCallSetup:Incoming[66] AlertTime -1Destinations(1) [ 3450070 ]Jan 10 17:46:37.682:DNInitiate:Destination[3450070]Jan 10 17:46:37.682:DNSetupPeer:Jan 10 17:46:37.682:Destination SetupPeer cid(66), destPat(3450070),match(2), prefix(), peer(61CB5CAC)Jan 10 17:46:37.762:DNHandler:(DN_SETTING[1])--(CC_EV_CALL_ALERT[11])--IGNORED-->>(DN_SETTING[1])Jan 10 17:46:37.762:CS_Setting_ALERT:Jan 10 17:46:37.762:CSPopLegAndWait:Jan 10 17:46:37.762:CallSetupHandler:(CS_SETTING[0]) -----(CS_EV_ALERT[0])------->>>(CS_CONFINGALERT[4])Jan 10 17:46:37.762:CS_ConfingAlert_CREATEDONE:Jan 10 17:46:37.762:CallSetupHandler:(CS_CONFINGALERT[4])-----(CS_EV_CREATEDONE[4])------->>>(CS_CONFEDALERT[5])Jan 10 17:46:37.762:CallSetupHandler:(CS_CONFEDALERT[5])--(DN_SETTING[APP_EV_NULL])--IGNORED-->>>(CS_CONFEDALERT[5])Router1#Jan 10 17:46:47.682:CallSetupHandler:(CS_CONFEDALERT[5])--(DN_SETTING[APP_EV_NULL])--IGNORED-->>>(CS_CONFEDALERT[5])Jan 10 17:46:48.642:CS_ConfedAlert_CONNECTED:Jan 10 17:46:48.642:CSDiscReturnAndEmptyLegALL:Jan 10 17:46:48.642:DNCleanup:Jan 10 17:46:48.642:DNSettlementCleanup:cid(66) trans=0, provider=0Jan 10 17:46:48.642:CSReturnIFDone:CallSetup Returning(StatusCS_ACTIVE)Jan 10 17:46:48.642:CallSetupHandler:(CS_CONFEDALERT[5]) -----(CS_EV_CONNECTED[1])------->>>(CS_CONFED[3])Jan 10 17:46:48.646:CallSetupCleanup:Router #The following output is displayed when the debug voip ivr digitcollect command is entered:
Router# debug voip ivr digitcollectivr:ivr digit collect debugging is onRouter1#Router1#Router1#Jan 10 17:47:55.558:DigitCollect:DialPlan=FALSE AbortKey=* TermKey=#NumPatts=1Enable=FALSE InterruptPrompt=TRUE maxDigits=11Jan 10 17:47:55.558:act_DCRunning_RDone:callid=68 Enable succeeded.Router1#Jan 10 17:48:04.006:DCHandlerFunc:PassingThroughJan 10 17:48:04.066:act_DCRunning_Digit::pLeg 68 Digit 1Jan 10 17:48:04.066:act_DCRunning_RDone:callid=68 Reporting disabled.Jan 10 17:48:04.066:DigitCollectComplete:Status 5=DC_MATCHED_PATTERN.Digits=1Jan 10 17:48:04.070:DigitCollect:DialPlan=FALSE AbortKey=* TermKey=#NumPatts=0Enable=FALSE InterruptPrompt=TRUE maxDigits=11Jan 10 17:48:04.070:DCHandlerCleanup:Jan 10 17:48:04.074:act_DCRunning_RDone:callid=68 Enable succeeded.Router1#Router1#Jan 10 17:48:08.038:DCHandlerFunc:PassingThroughJan 10 17:48:09.246:DCHandlerFunc:PassingThroughJan 10 17:48:09.286:act_DCRunning_Digit::pLeg 68 Digit 1Jan 10 17:48:09.478:DCHandlerFunc:PassingThroughJan 10 17:48:09.506:act_DCRunning_Digit::pLeg 68 Digit 1Jan 10 17:48:10.739:DCHandlerFunc:PassingThroughJan 10 17:48:10.779:act_DCRunning_Digit::pLeg 68 Digit 1Jan 10 17:48:11.027:DCHandlerFunc:PassingThroughJan 10 17:48:11.067:act_DCRunning_Digit::pLeg 68 Digit 1Jan 10 17:48:11.687:DCHandlerFunc:PassingThroughJan 10 17:48:11.747:act_DCRunning_Digit::pLeg 68 Digit 1Jan 10 17:48:12.219:DCHandlerFunc:PassingThroughJan 10 17:48:12.279:act_DCRunning_Digit::pLeg 68 Digit 2Jan 10 17:48:14.227:DCHandlerFunc:PassingThroughJan 10 17:48:14.287:act_DCRunning_Digit::pLeg 68 Digit 1Jan 10 17:48:14.779:DCHandlerFunc:PassingThroughJan 10 17:48:14.859:act_DCRunning_Digit::pLeg 68 Digit 1Jan 10 17:48:15.307:DCHandlerFunc:PassingThroughJan 10 17:48:15.359:act_DCRunning_Digit::pLeg 68 Digit 1Jan 10 17:48:15.719:DCHandlerFunc:PassingThroughJan 10 17:48:15.759:act_DCRunning_Digit::pLeg 68 Digit 2Jan 10 17:48:16.219:DCHandlerFunc:PassingThroughJan 10 17:48:16.299:act_DCRunning_Digit::pLeg 68 Digit TJan 10 17:48:16.299:act_DCRunning_RDone:callid=68 Reporting disabled.Jan 10 17:48:16.299:DigitCollectComplete:Status 5=DC_MATCHED_PATTERN.Digits=1111121112Jan 10 17:48:16.303:DCHandlerCleanup:Jan 10 17:48:16.335:DigitCollect:DialPlan=TRUE AbortKey=* TermKey=#NumPatts=0Enable=FALSE InterruptPrompt=TRUE maxDigits=0Jan 10 17:48:16.339:act_DCRunning_RDone:callid=68 Enable succeeded.Router #The following output is displayed when the debug voip ivr script command is entered:
Router# deb voip ivr scriptivr:ivr script debugging is onRouter1#Jan 10 17:49:10.250:FSM Transtion:([1]CALL_INIT,[29]ev_setup_indication)---([10]act_Setup)--->([4]LANGSELECTION)Jan 10 17:49:10.250:TotalLanguages= 2Router1#Router1#Jan 10 17:49:16.662:FSM Transtion:([4]LANGSELECTION,[55]ev_digitcollect_done)---([1 ]act_LangSelect)--->([5]CARDSELECTION)Router1#Router1#Jan 10 17:49:20.630:([5 ]CARDSELECT,[47]ev_media_d) ------> NOTHANDLEDJan 10 17:49:26.770:FSM Transtion:([5]CARDSELECTION,[55]ev_digitcollect_done)---([2]act_GotCardNumber)--->([6 ]AUTHORIZE)Jan 10 17:49:26.806:FSM Transtion:([6]AUTHORIZE,[49]ev_authorize_done)---([8 ]act_FirstAuthorized)--->([7]GETDEST)Jan 10 17:49:26.806: aaa authorize Status=ao_000Router1#Router1#Router1#Jan 10 17:49:33.395:([7 ]GETDEST ,[47]ev_media_d) ------> NOTHANDLEDJan 10 17:49:36.411:FSM Transtion:([7]GETDEST,[55]ev_digitcollect_done)---([3 ]act_GotDest)--->([8]SECONDAUTHORIZE)Jan 10 17:49:36.451:FSM Transtion:([8]SECONDAUTHORIZE,[49]ev_authorize_done)---([5]act_SecondAuthorized)--->([10]PLACECALL)Jan 10 17:49:36.451: aaa authorize Status=ao_000Jan 10 17:49:42.179:FSM Transtion:([10]PLACECALL,[47]ev_media_done)---([9]act_CallSetup)--->([10]PLACECALL)The following output is displayed when the debug voip ivr tclcommands command is entered:
Router# debug voip ivr tclcommandsivr tcl commands debugging is onRouter1#Jan 10 17:50:29.106:tcl_infotagCmd:infotag get leg_aniJan 10 17:50:29.106:tcl_getInfoCmd:get leg_aniJan 10 17:50:29.106:vtr_ci_incani:argc 2 argindex 2Jan 10 17:50:29.106:tcl_infotagCmd:infotag set med_language 1Jan 10 17:50:29.106:tcl_setInfoCmd:set med_language 1Jan 10 17:50:29.106:vtw_ms_language:Jan 10 17:50:29.106:tcl_legCmd:leg setupack leg_incomingJan 10 17:50:29.106:tcl_setupAckCmd:setupack leg_incomingJan 10 17:50:29.106:vtd_lg_incoming:Legs [71 ]VARTAG Translation LegCount=1Jan 10 17:50:29.106:tcl_legCmd:leg proceeding leg_incomingJan 10 17:50:29.106:tcl_callProceedingCmd:proceeding leg_incomingJan 10 17:50:29.106:vtd_lg_incoming:Legs [71 ]VARTAG Translation LegCount=1Jan 10 17:50:29.110:tcl_legCmd:leg connect leg_incomingJan 10 17:50:29.110:tcl_callConnectCmd:connect leg_incomingJan 10 17:50:29.110:vtd_lg_incoming:Legs [71 ]VARTAG Translation LegCount=1Jan 10 17:50:29.110:tcl_legCmd:leg collectdigits leg_incoming param1patternsJan 10 17:50:29.110:tcl_collectDigitsCmd:collectdigits leg_incomingparam1 patternsJan 10 17:50:29.110:vtd_lg_incoming:Legs [71 ]VARTAG Translation LegCount=1Jan 10 17:50:29.110:tcl_mediaCmd:media play leg_incoming _welcome.au%s1000 %c1 _lang_sel1.au %s1000 %c2 _lang_sel2.auJan 10 17:50:29.110:tcl_mediaPlayCmd:play leg_incoming _welcome.au%s1000 %c1 _lang_sel1.au %s1000 %c2 _lang_sel2.auJan 10 17:50:29.110:vtd_lg_incoming:Legs [71 ]VARTAG Translation LegCount=1Router1#Router1#Jan 10 17:50:35.506:tcl_infotagCmd:infotag get evt_statusJan 10 17:50:35.506:tcl_getInfoCmd:get evt_statusJan 10 17:50:35.506:vtr_ev_status:Jan 10 17:50:35.510:tcl_infotagCmd:infotag get evt_dcdigitsJan 10 17:50:35.510:tcl_getInfoCmd:get evt_dcdigitsJan 10 17:50:35.510:vtr_ev_dcdigits:Jan 10 17:50:35.510:DCDIGITS [1]Jan 10 17:50:35.510:tcl_infotagCmd:infotag set med_language 1Jan 10 17:50:35.510:tcl_setInfoCmd:set med_language 1Jan 10 17:50:35.510:vtw_ms_language:Jan 10 17:50:35.510:tcl_legCmd:leg collectdigits leg_incoming param1Jan 10 17:50:35.510:tcl_collectDigitsCmd:collectdigits leg_incomingparam1Jan 10 17:50:35.510:vtd_lg_incoming:Legs [71 ]VARTAG Translation LegCount=1Jan 10 17:50:35.510:tcl_mediaCmd:media play leg_incoming_enter_card_num.auJan 10 17:50:35.510:tcl_mediaPlayCmd:play leg_incoming_enter_card_num.auJan 10 17:50:35.514:vtd_lg_incoming:Legs [71 ]VARTAG Translation LegCount=1Router1#Jan 10 17:50:43.878:tcl_infotagCmd:infotag get evt_statusJan 10 17:50:43.878:tcl_getInfoCmd:get evt_statusJan 10 17:50:43.878:vtr_ev_status:Jan 10 17:50:43.882:tcl_infotagCmd:infotag get evt_dcdigitsJan 10 17:50:43.882:tcl_getInfoCmd:get evt_dcdigitsJan 10 17:50:43.882:vtr_ev_dcdigits:Jan 10 17:50:43.882:DCDIGITS [1111121112]Jan 10 17:50:43.882:tcl_aaaCmd:aaa authorize 111112 1112 50073leg_incomingJan 10 17:50:43.882:tcl_AuthorizeCmd:authorize 111112 1112 50073leg_incomingJan 10 17:50:43.882:vtd_lg_incoming:Legs [71 ]VARTAG Translation LegCount=1Jan 10 17:50:43.882:AuthorizeJan 10 17:50:43.882: account=111112Jan 10 17:50:43.882: password=1112Jan 10 17:50:43.882: ani =50073Jan 10 17:50:43.882: dnis =Jan 10 17:50:43.910:tcl_infotagCmd:infotag get evt_statusJan 10 17:50:43.910:tcl_getInfoCmd:get evt_statusJan 10 17:50:43.910:vtr_ev_status:Jan 10 17:50:43.914:tcl_infotagCmd:infotag get aaa_avpair_existscreditAmountJan 10 17:50:43.914:tcl_getInfoCmd:get aaa_avpair_exists creditAmountJan 10 17:50:43.914:vtr_ra_avpair_exists:Jan 10 17:50:43.914:tcl_infotagCmd:infotag get aaa_avpair creditAmountJan 10 17:50:43.914:tcl_getInfoCmd:get aaa_avpair creditAmountJan 10 17:50:43.914:vtr_ra_avpair:Jan 10 17:50:43.914:tcl_legCmd:leg collectdigits leg_incoming param2Jan 10 17:50:43.914:tcl_collectDigitsCmd:collectdigits leg_incomingparam2Jan 10 17:50:43.914:vtd_lg_incoming:Legs [71 ]VARTAG Translation LegCount=1Jan 10 17:50:43.914:tcl_mediaCmd:media play leg_incoming _you_have.au%a1000 %s1000 _enter_dest.auJan 10 17:50:43.914:tcl_mediaPlayCmd:play leg_incoming _you_have.au%a1000 %s1000 _enter_dest.auJan 10 17:50:43.918:vtd_lg_incoming:Legs [71 ]VARTAG Translation LegCount=1Related Commands
Glossary
CA—call agent.
ISP—Internet service provider.
IVR—interactive voice response.
media stream—A single media instance. For example, an audio stream.
MGC—Media gateway controller.
MGCP—Media Gateway Control Protocol.
PMH—Protocol Message Handler.
PSTN—Public Switched Telephony Network.
RTSP—Real Time Streaming Protocol.
RTSP session—"Session" refers to a session between the application and the RTSP client. Each call leg that is configured to use RTSP streaming has a session.
RTP—Real Time Protocol. A protocol used to transport real time frames over a UDP network.
TCL—Tool Command Language.
VoFR—Voice over Frame Relay.
VoIP—Voice over IP.



