


 



<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docwiki.cisco.com/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_VoiceXML_Troubleshooting&amp;feed=atom&amp;action=history</id>
		<title>Cisco IOS Voice Troubleshooting and Monitoring -- Cisco VoiceXML Troubleshooting - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_VoiceXML_Troubleshooting&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_VoiceXML_Troubleshooting&amp;action=history"/>
		<updated>2013-05-21T22:02:36Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_VoiceXML_Troubleshooting&amp;diff=48977&amp;oldid=prev</id>
		<title>Pzimmerm: added metadata</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_VoiceXML_Troubleshooting&amp;diff=48977&amp;oldid=prev"/>
				<updated>2012-10-16T17:25:19Z</updated>
		
		<summary type="html">&lt;p&gt;added metadata&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 17:25, 16 October 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Template:Required Metadata}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Template:Required Metadata}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;meta name=&amp;quot;keywords&amp;quot; content=&amp;quot;voicexml, voice, IOS, troubleshooting&amp;quot;&amp;gt;&amp;lt;/meta&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Applications written in Voice eXtensible Markup Language (VoiceXML) provide access through a voice browser to content and services over the telephone, just as Hypertext Markup Language (HTML) provides access through a web browser running on a PC. The universal accessibility of the telephone and its ease of use makes VoiceXML applications a powerful alternative to HTML for accessing the information and services of the World Wide Web. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Applications written in Voice eXtensible Markup Language (VoiceXML) provide access through a voice browser to content and services over the telephone, just as Hypertext Markup Language (HTML) provides access through a web browser running on a PC. The universal accessibility of the telephone and its ease of use makes VoiceXML applications a powerful alternative to HTML for accessing the information and services of the World Wide Web. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pzimmerm</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_VoiceXML_Troubleshooting&amp;diff=24052&amp;oldid=prev</id>
		<title>Pzimmerm: Added required metadata template</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_VoiceXML_Troubleshooting&amp;diff=24052&amp;oldid=prev"/>
				<updated>2009-12-17T23:58:30Z</updated>
		
		<summary type="html">&lt;p&gt;Added required metadata template&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 23:58, 17 December 2009&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{Template:Required Metadata}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Applications written in Voice eXtensible Markup Language (VoiceXML) provide access through a voice browser to content and services over the telephone, just as Hypertext Markup Language (HTML) provides access through a web browser running on a PC. The universal accessibility of the telephone and its ease of use makes VoiceXML applications a powerful alternative to HTML for accessing the information and services of the World Wide Web. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Applications written in Voice eXtensible Markup Language (VoiceXML) provide access through a voice browser to content and services over the telephone, just as Hypertext Markup Language (HTML) provides access through a web browser running on a PC. The universal accessibility of the telephone and its ease of use makes VoiceXML applications a powerful alternative to HTML for accessing the information and services of the World Wide Web. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pzimmerm</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_VoiceXML_Troubleshooting&amp;diff=11589&amp;oldid=prev</id>
		<title>Pzimmerm at 16:33, 6 March 2009</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_VoiceXML_Troubleshooting&amp;diff=11589&amp;oldid=prev"/>
				<updated>2009-03-06T16:33:07Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:33, 6 March 2009&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 277:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 277:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The following message displays if the codec configured on the IP side is not G.711:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The following message displays if the codec configured on the IP side is not G.711:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; *Sep 25 15:05:15.765: //-1//RTSP:/rtsplib_rtp_associate_done: Association mismatch &lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; *Sep 25 15:05:15.765: //-1//RTSP:/rtsplib_rtp_associate_done: Association mismatch&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[Category:IOS Voice Troubleshooting]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pzimmerm</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_VoiceXML_Troubleshooting&amp;diff=11239&amp;oldid=prev</id>
		<title>Pzimmerm: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_VoiceXML_Troubleshooting&amp;diff=11239&amp;oldid=prev"/>
				<updated>2009-03-05T22:22:50Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:22, 5 March 2009&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Pzimmerm</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_VoiceXML_Troubleshooting&amp;diff=11238&amp;oldid=prev</id>
		<title>Pzimmerm: /* DETAILED STEPS */</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_VoiceXML_Troubleshooting&amp;diff=11238&amp;oldid=prev"/>
				<updated>2009-03-05T18:18:27Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;DETAILED STEPS&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Applications written in Voice eXtensible Markup Language (VoiceXML) provide access through a voice browser to content and services over the telephone, just as Hypertext Markup Language (HTML) provides access through a web browser running on a PC. The universal accessibility of the telephone and its ease of use makes VoiceXML applications a powerful alternative to HTML for accessing the information and services of the World Wide Web. &lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;right&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|'''Guide Contents'''&lt;br /&gt;
|-&lt;br /&gt;
|[[Cisco IOS Voice Troubleshooting and Monitoring Guide#Troubleshooting Cisco IOS Voice Overview|Troubleshooting Cisco IOS Voice Overview]]&amp;lt;br&amp;gt;[[Cisco IOS Voice Troubleshooting and Monitoring Guide#Debug Command Output on Cisco IOS Voice Gateways|Debug Command Output on Cisco IOS Voice Gateways]]&amp;lt;br&amp;gt;[[Cisco IOS Voice Troubleshooting and Monitoring Guide#Filtering Troubleshooting Output|Filtering Troubleshooting Output]]&amp;lt;br&amp;gt;[[Cisco IOS Voice Troubleshooting and Monitoring Guide#Cisco VoIP Internal Error Codes|Cisco VoIP Internal Error Codes]]&amp;lt;br&amp;gt;[[Cisco IOS Voice Troubleshooting and Monitoring Guide#Troubleshooting Cisco IOS Voice Telephony|Troubleshooting Cisco IOS Voice Telephony]]&amp;lt;br&amp;gt;[[Cisco IOS Voice Troubleshooting and Monitoring Guide#Troubleshooting Cisco IOS Voice Protocols|Troubleshooting Cisco IOS Voice Protocols]]&amp;lt;br&amp;gt;[[Cisco IOS Voice Troubleshooting and Monitoring Guide#Troubleshooting Cisco IOS Telephony Applications|Troubleshooting Cisco IOS Telephony Applications]]&amp;lt;br&amp;gt;[[Cisco IOS Voice Troubleshooting and Monitoring Guide#Monitoring the Cisco IOS Voice Network|Monitoring the Cisco IOS Voice Network]]&amp;lt;br&amp;gt;[[Cisco IOS Voice Troubleshooting and Monitoring Guide#Cause Codes and Debug Values|Cause Codes and Debug Values]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Cisco IOS VoiceXML Overview==&lt;br /&gt;
The Cisco IOS VoiceXML feature provides a platform for interpreting VoiceXML documents. When a telephone call is made to the Cisco VoiceXML-enabled gateway, VoiceXML documents are downloaded from web servers, providing content and services to the caller, typically in the form of pre-recorded audio in an IVR application. Customers can access online business applications over the telephone, providing for example, stock quotes, sports scores, or bank balances.&lt;br /&gt;
&lt;br /&gt;
VoiceXML brings the advantages of web-based development and content delivery to voice applications. It is similar to HTML in its simplicity and in its presentation of information. The Cisco IOS VoiceXML feature is based on the ''W3C VoiceXML 2.0 Working Draft'' and is designed to provide web developers great flexibility and ease in implementing VoiceXML applications.&lt;br /&gt;
&lt;br /&gt;
[[Cisco IOS Voice Troubleshooting and Monitoring -- Cisco VoiceXML Troubleshooting#Figure: Cisco IOS VoiceXML Application Components|Figure: Cisco IOS VoiceXML Application Components]] shows components that can be configured as a part of a VoiceXML application installed on a Cisco voice gateway:&lt;br /&gt;
&lt;br /&gt;
===== Figure: Cisco IOS VoiceXML Application Components=====&lt;br /&gt;
&lt;br /&gt;
[[Image:vts-14-4-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
For information on developing a VoiceXML document for implementing an application on the Cisco voice gateway, refer to the'' Cisco VoiceXML Programmer's Guide''.&lt;br /&gt;
&lt;br /&gt;
This section describes some of the troubleshooting techniques for the Cisco VoiceXML features. &lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Cisco VoiceXML Troubleshooting#Debugging Cisco VoiceXML Applications|Debugging Cisco VoiceXML Applications]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Cisco VoiceXML Troubleshooting#Error Events|Error Events]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Cisco VoiceXML Troubleshooting#JavaScript or ECMA Script|JavaScript or ECMA Script]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Cisco VoiceXML Troubleshooting#Troubleshooting Speech Recognition and Synthesis|Troubleshooting Speech Recognition and Synthesis]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Cisco VoiceXML Troubleshooting#Troubleshooting ASR and TTS Server Functionality|Troubleshooting ASR and TTS Server Functionality]]&lt;br /&gt;
&lt;br /&gt;
For a list of the latest troubleshooting FAQs, go to the developer support website here:&lt;br /&gt;
&lt;br /&gt;
http://www.cisco.com/cgi-bin/dev_support/access_level/products.cgi?product=VOICE_XML_GATEWAY&lt;br /&gt;
&lt;br /&gt;
== Debugging Cisco VoiceXML Applications  ==&lt;br /&gt;
&lt;br /&gt;
To debug Cisco VoiceXML applications at the gateway level, refer to the [http://www.cisco.com/en/US/docs/ios/voice/ivr/configuration/guide/tcl_c.html Cisco IOS TCL and VoiceXML Application Guide]. &lt;br /&gt;
&lt;br /&gt;
This section describes troubleshooting at the script level. To troubleshoot Cisco VoiceXML scripts, enable the '''debug vxml error''' and '''debug vxml puts''' commands on the gateway.The '''debug vxml error''' command displays all errors on the console, and the '''debug vxml puts''' command prints debugging statements used with the &amp;lt;log&amp;gt; element in the VoiceXML document. &lt;br /&gt;
&lt;br /&gt;
===== &amp;lt;cisco-debug&amp;gt;  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cisco-debug&amp;gt; is used to debug only a specific application. To disable debugging messages for all VoiceXML applications except the specific VoiceXML application you wish to debug, use the &amp;lt;cisco-debug&amp;gt; element in the VoiceXML document in conjunction with the '''debug condition application voice''' command. &lt;br /&gt;
&lt;br /&gt;
Refer to the ''Cisco IOS TCL and VoiceXML Application Guide'' for information on debug commands. &lt;br /&gt;
&lt;br /&gt;
{{note|Before you use Cisco IOS debug commands to debug a specific application, add &amp;lt;cisco-debug&amp;gt; to the VoiceXML document for the application you want to debug. }}&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
==== SUMMARY STEPS ====&lt;br /&gt;
# Turn on global debug.&lt;br /&gt;
# Add the &amp;lt;cisco-debug enabled = &amp;quot;true&amp;quot;/&amp;gt; and &amp;lt;cisco-debug enabled = &amp;quot;false&amp;quot;/&amp;gt; elements around the specific part of the VoiceXML document where you want to see debugging messages.&lt;br /&gt;
# Add conditional debugging to the specific application.&lt;br /&gt;
&lt;br /&gt;
==== DETAILED STEPS ====&lt;br /&gt;
&lt;br /&gt;
1. Turn on global debug for the areas you want to debug. For example:  &lt;br /&gt;
  debug vxml application  &lt;br /&gt;
  debug vxml trace   &lt;br /&gt;
{{note|If you do not proceed with step 2 and end your task with step 1, you see error messages for all the applications, irrespective of conditional debug being turned on or off. }}&lt;br /&gt;
{{note|The '''debug condition application voice''' command filters debugging output for only the '''debug vxml''' and '''debug http client''' commands. However, it does not filter output for the '''debug vxml error''', '''debug vxml background''', '''debug http client error''', or '''debug http client background''' commands. }}&lt;br /&gt;
&lt;br /&gt;
2. Add the &amp;lt;cisco-debug enabled = &amp;quot;true&amp;quot;/&amp;gt; and &amp;lt;cisco-debug enabled = &amp;quot;false&amp;quot;/&amp;gt; elements around the specific part of the VoiceXML document where you want to see debugging messages. For example:  &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;  &lt;br /&gt;
                  &amp;lt;vxml version=&amp;quot;1.0&amp;quot; application=&amp;quot;root.vxml&amp;quot;&amp;gt;  &lt;br /&gt;
                      &amp;lt;form&amp;gt;  &lt;br /&gt;
                          &amp;lt;block&amp;gt;  &lt;br /&gt;
                              &amp;lt;cisco-debug enabled = &amp;quot;true&amp;quot;/&amp;gt;  &lt;br /&gt;
                              &amp;lt;prompt&amp;gt;  &lt;br /&gt;
                                  &amp;lt;audio src=&amp;quot;welcome.au&amp;quot; caching=&amp;quot;fast&amp;quot;/&amp;gt;  &lt;br /&gt;
                              &amp;lt;/prompt&amp;gt;  &lt;br /&gt;
                              &amp;lt;cisco-debug enabled = &amp;quot;false&amp;quot;/&amp;gt;  &lt;br /&gt;
                              &amp;lt;goto next=&amp;quot;getExtension.vxml?&amp;quot;/&amp;gt;  &lt;br /&gt;
                          &amp;lt;/block&amp;gt;  &lt;br /&gt;
                      &amp;lt;/form&amp;gt;  &lt;br /&gt;
                  &amp;lt;/vxml&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
3. Add conditional debugging to the specific application you want to debug. For example:  &lt;br /&gt;
&lt;br /&gt;
Three applications named myapp1, myapp2, and myapp3, all of which can be loaded by using the '''call application voice''' command are shown below: &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;call application voice myapp1 http://server1/vxml/test1.vxml &amp;lt;/nowiki&amp;gt; &lt;br /&gt;
  &amp;lt;nowiki&amp;gt;call application voice myapp2 http://server2/vxml/test2.vxml  &amp;lt;/nowiki&amp;gt; &lt;br /&gt;
  &amp;lt;nowiki&amp;gt;call application voice myapp3 http://server3/vxml/test3.vxml  &amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
To debug only one of the applications, for example myapp1, use the '''debug condition application voice''' command to disable debug messages for the other applications, myapp2 and myapp3. &lt;br /&gt;
&lt;br /&gt;
  debug condition application voice myapp1   &lt;br /&gt;
{{note|Debugging for myapp1 is performed for only those debug areas that have been enabled in step 1 above. Debugging for the specific session must be enabled through the &amp;lt;cisco-debug&amp;gt; tag as shown in step 2 above.}}&lt;br /&gt;
&lt;br /&gt;
== Error Events  ==&lt;br /&gt;
&lt;br /&gt;
Enabling the '''debug vxml error''' command displays a list of possible error events on the console. For a list of error events, see the [[Cisco IOS Voice Troubleshooting and Monitoring -- Tcl IVR Events and Status Codes#Tcl IVR Events and Status Codes|Tcl IVR Events and Status Codes]] section. &lt;br /&gt;
&lt;br /&gt;
Some of the possible errors generated with the '''debug vxml error''' command enabled are: &lt;br /&gt;
&lt;br /&gt;
===== error.badfetch  =====&lt;br /&gt;
&lt;br /&gt;
{| border = 1 &lt;br /&gt;
|-&lt;br /&gt;
!Possible Causes &lt;br /&gt;
!Suggested Actions &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* The VoiceXML interpreter throws this event when there is a failure in retrieving external components in the application. These external components can be VoiceXML documents, prerecorded files, or grammar files. &lt;br /&gt;
* A badfetch error usually occurs when there is an error in fetching an external document. &lt;br /&gt;
|&lt;br /&gt;
* Verify that the external documents, audio prompts, or grammar files are available at the specified location mentioned in the URL. &lt;br /&gt;
* If the external components are stored on a HTTP server, enable the '''debug http client error''' command. * If the external components are stored on a RTSP server, search for error.badfetch.rtsp.xxx, where xxx is a RTSP response code. For values of RTSP response codes, refer to RFC 2326 available on the IETF website at http://www.ietf.org/. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===== error.semantic  =====&lt;br /&gt;
&lt;br /&gt;
{| border = 1 &lt;br /&gt;
|-&lt;br /&gt;
!Possible Causes &lt;br /&gt;
!Suggested Actions &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Logical errors such as referencing an undefined variable.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Verify that all variables referenced in the script are valid and defined. &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Defining different grammar types in the same scope in the VoiceXML application. &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Verify that only one grammar type is used at the time of recognizing user input. &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Failure to define mandatory parameters in Cisco objects. For example, failure to define the account parameter in the authorize object results in a semantic error. &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Verify that all mandatory parameters are defined in Cisco objects used in the script. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===== error.unsupported.format =====&lt;br /&gt;
&lt;br /&gt;
{| border = 1 &lt;br /&gt;
|-&lt;br /&gt;
!Possible Causes &lt;br /&gt;
!Suggested Actions &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
A resource format is not supported by the platform. &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Verify that all formats used in the script are supported by the specific platforms being used. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JavaScript or ECMA Script  ==&lt;br /&gt;
&lt;br /&gt;
When the &amp;lt;script&amp;gt; element or ECMA expression is used in a VoiceXML document, enable the '''debug java''' command for debugging. &lt;br /&gt;
&lt;br /&gt;
  debug java ?   &lt;br /&gt;
  apm2- JavaScript APM2 Utility Debugging  &lt;br /&gt;
  error- JavaScript Error Debugging  &lt;br /&gt;
  interpreter- JavaScript Interpreter Debugging &lt;br /&gt;
&lt;br /&gt;
== Troubleshooting Speech Recognition and Synthesis ==&lt;br /&gt;
&lt;br /&gt;
Cisco IOS Release 12.2(11)T and later support automatic speech recognition (ASR) and text-to-speech (TTS) capabilities for VoiceXML and Tcl applications on Cisco voice gateways. &lt;br /&gt;
&lt;br /&gt;
The Speech Recognition and Synthesis feature provides interfaces to ASR and TTS media servers by using Media Resource Control Protocol (MRCP), an application-level protocol developed by Cisco and its ASR and TTS media server partners, Nuance Communications and SpeechWorks International. Client devices that are processing audio or video streams use MRCP to control media resources on external media servers, such as speech synthesizers for TTS and speech recognizers for ASR. The Cisco gateway, running a voice application, and the media servers providing speech recognition and speech synthesis, maintain a client/server relationship through an RTSP connection; the gateway is the RTSP client and the RTSP server is the streaming media server providing speech recognition and speech synthesis.&lt;br /&gt;
&lt;br /&gt;
While doing speech recognition, the gateway creates a separate G.711 u-law RTP stream to the media server, enabling the gateway to simultaneously perform speech synthesis or play audio files using a different codec.&lt;br /&gt;
&lt;br /&gt;
If speech recognition or synthesis is not working, [[Cisco IOS Voice Troubleshooting and Monitoring -- Cisco VoiceXML Troubleshooting#Table: Speech Recognition or Synthesis Fails|Table: Speech Recognition or Synthesis Fails]] lists some possible causes and the actions that you can take.&lt;br /&gt;
&lt;br /&gt;
===== Table: Speech Recognition or Synthesis Fails=====&lt;br /&gt;
&lt;br /&gt;
{| border = 1 &lt;br /&gt;
|-&lt;br /&gt;
!Possible Causes&lt;br /&gt;
!Suggested Actions&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Server is not configured either on the Cisco gateway or in the VoiceXML document.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Verify that the server location is configured by using at least one of these methods:&lt;br /&gt;
* Globally on the gateway by using the '''ivr asr-server''' or '''ivr tts-server''' command. Refer to the Cisco IOS TCL and VoiceXML Application Guide.&lt;br /&gt;
* With the ''com.cisco.asr-server'' or ''com.cisco.tts-server'' property in the VoiceXML document. Refer to the ''Cisco VoiceXML Programmer's Guide''.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Gateway cannot access external ASR or TTS server or server is not running.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Ping the external server to make sure that the gateway has connectivity.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
RTSP or MRCP errors are occurring between the gateway and the media server.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
See the [[Cisco IOS Voice Troubleshooting and Monitoring -- Cisco VoiceXML Troubleshooting#Troubleshooting ASR and TTS Server Functionality|Troubleshooting ASR and TTS Server Functionality]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ASR and TTS Server Functionality ==&lt;br /&gt;
&lt;br /&gt;
==== SUMMARY STEPS ====&lt;br /&gt;
# '''debug vxml error''' and '''debug vxml event'''&lt;br /&gt;
# '''debug mrcp error'''&lt;br /&gt;
# '''debug rtsp error''', '''debug rtsp session''', and '''debug rtsp socket'''&lt;br /&gt;
&lt;br /&gt;
==== DETAILED STEPS ====&lt;br /&gt;
&lt;br /&gt;
1. Use the''' debug vxml error''' and '''debug vxml event '''commands to verify that the external media server is reachable and its location is configured on the gateway or in the VoiceXML document. In the following example, the application failed because the media server is not configured on the gateway or in the VoiceXML document.: &lt;br /&gt;
&lt;br /&gt;
  Router# debug vxml error &lt;br /&gt;
  Router# debug vxml event  &lt;br /&gt;
  *Jan  5 18:24:19.507: //62/36CA25A68036/VXML:/'''vxml_vapp_tts: &lt;br /&gt;
  &amp;lt;nowiki&amp;gt;tftp://demo/sample/banking.vxml &amp;lt;/nowiki&amp;gt;at line 17: vapp_tts() fail with vapp error 1'''  &lt;br /&gt;
  **Jan  5 18:24:19.507: //62/36CA25A68036/VXML:/vxml_event_proc:   &lt;br /&gt;
  *Jan  5 18:24:19.507:    &amp;lt;event&amp;gt;: event=error.badfetch status=0  &lt;br /&gt;
  *Jan  5 18:24:19.507: //62/36CA25A68036/VXML:/vxml_default_event_handler:  &lt;br /&gt;
  use default event handler  &lt;br /&gt;
  *Jan  5 18:24:19.507: //62/36CA25A68036/VAPP:/vapp_session_exit_event_name: Exit Event&lt;br /&gt;
   error.badfetch  &lt;br /&gt;
  *Jan  5 18:24:19.507: //62/36CA25A68036/VAPP:/vapp_session_exit_event_name: Exit Event&lt;br /&gt;
   error.badfetch  &lt;br /&gt;
  *Jan  5 18:24:19.507: //62/36CA25A68036/VAPP:/vapp_session_exit_event_name: Exit Event Name&lt;br /&gt;
   already set to error.badfetch  &lt;br /&gt;
  *Jan  5 18:24:19.507: //62/36CA25A68036/VXML:/vxml_vapp_terminate: vapp_status=0 ref_count 0  &lt;br /&gt;
  *Jan  5 18:24:19.507: //62/36CA25A68036/VXML:/vxml_vapp_terminate: vxml session terminating &lt;br /&gt;
   with code=ERROR  &lt;br /&gt;
       vapp status=VAPP_SUCCESS  vxml async status=VXML_ERROR_BAD_FETCH   &lt;br /&gt;
&lt;br /&gt;
In the following example, the application failed because the media server is either unreachable or is not running.&lt;br /&gt;
&lt;br /&gt;
  *Jan  5 18:36:44.451: //83/ECD9B163804B/VXML:/vxml_media_done: : media play failed to setup &lt;br /&gt;
   with VAPP error=31, protocol_status_code=0&lt;br /&gt;
  *Jan  5 18:36:44.451:   &amp;lt;event&amp;gt;: event=error.com.cisco.media.resource.unavailable status=0  &lt;br /&gt;
  *Jan  5 18:36:44.451: //83/ECD9B163804B/VXML:/vxml_default_event_handler:  &lt;br /&gt;
   use default event handler  &lt;br /&gt;
  *Jan  5 18:36:44.451: //83/ECD9B163804B/VAPP:/vapp_session_exit_event_name: Exit Event&lt;br /&gt;
    error.com.cisco.media.resource.unavailable  &lt;br /&gt;
  *Jan  5 18:36:44.451: //83/ECD9B163804B/VAPP:/vapp_session_exit_event_name: Exit Event&lt;br /&gt;
    error.com.cisco.media.resource.unavailable  &lt;br /&gt;
  *Jan  5 18:36:44.451: //83/ECD9B163804B/VAPP:/vapp_session_exit_event_name: Exit Event Name &lt;br /&gt;
    already set to error.com.cisco.media.resource.unavailable  &lt;br /&gt;
  *Jan  5 18:36:44.451: //83/ECD9B163804B/VXML:/vxml_vapp_terminate: vapp_status=0 ref_count 0  &lt;br /&gt;
&lt;br /&gt;
2. Use the '''debug mrcp error '''command to verify the connection between the gateway and the server. The following example shows the error when the RTSP connection to the server fails: &lt;br /&gt;
&lt;br /&gt;
  Router# 'debug mrcp error  &lt;br /&gt;
  *May  9 20:29:09.936:Connecting to 10.1.2.58:554 failed  &lt;br /&gt;
&lt;br /&gt;
The following error occurs when the response from the server is incorrect:&lt;br /&gt;
&lt;br /&gt;
  *May  9 20:29:09.936:Response from 10.1.2.58:554 failed  &lt;br /&gt;
  *May  9 20:29:09.936:MRCP/1.0 71 422 COMPLETE  &lt;br /&gt;
&lt;br /&gt;
The following error occurs when the recognize request comes out of sequence:&lt;br /&gt;
&lt;br /&gt;
  *May  9 20:29:09.936:act_idle_recognize:ignoring old recognize request  &lt;br /&gt;
&lt;br /&gt;
3. Use the '''debug rtsp error''', '''debug rtsp session''', and '''debug rtsp socket''' commands to verify the RTSP connection with the media server, for example: &lt;br /&gt;
&lt;br /&gt;
The following message displays if the RTSP connection fails:&lt;br /&gt;
&lt;br /&gt;
  *Sep 25 15:02:32.052: //-1//RTSP:/rtsplib_connect_to_svr: Socket Connect failed: &lt;br /&gt;
   172.19.140.31:554  &lt;br /&gt;
&lt;br /&gt;
The following message displays if the RTSP client receives an incorrect response from the server:&lt;br /&gt;
&lt;br /&gt;
  *Sep 25 15:03:35.062: //-1//RTSP:/rtsp_process_single_svr_resp: Parse Server Response failed,&lt;br /&gt;
   172.19.140.31:554  &lt;br /&gt;
&lt;br /&gt;
The following message displays if the codec configured on the IP side is not G.711:&lt;br /&gt;
&lt;br /&gt;
  *Sep 25 15:05:15.765: //-1//RTSP:/rtsplib_rtp_associate_done: Association mismatch  &lt;br /&gt;
&lt;br /&gt;
[[Category:IOS Voice Troubleshooting]]&lt;/div&gt;</summary>
		<author><name>Pzimmerm</name></author>	</entry>

	</feed>