


 



<?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_--_Managing_the_Collection_of_Voice_Statistics&amp;feed=atom&amp;action=history</id>
		<title>Cisco IOS Voice Troubleshooting and Monitoring -- Managing the Collection of Voice Statistics - 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_--_Managing_the_Collection_of_Voice_Statistics&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_--_Managing_the_Collection_of_Voice_Statistics&amp;action=history"/>
		<updated>2013-05-19T07:43:53Z</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_--_Managing_the_Collection_of_Voice_Statistics&amp;diff=48996&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_--_Managing_the_Collection_of_Voice_Statistics&amp;diff=48996&amp;oldid=prev"/>
				<updated>2012-10-16T18:43:37Z</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 18:43, 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;call statistics, voice gateway, 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;This article describes how to manage the collection of voice statistics on the gateway and documents the following tasks:&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;This article describes how to manage the collection of voice statistics on the gateway and documents the following tasks:&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_--_Managing_the_Collection_of_Voice_Statistics&amp;diff=24097&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_--_Managing_the_Collection_of_Voice_Statistics&amp;diff=24097&amp;oldid=prev"/>
				<updated>2009-12-18T00:04:52Z</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 00:04, 18 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;This article describes how to manage the collection of voice statistics on the gateway and documents the following tasks:&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;This article describes how to manage the collection of voice statistics on the gateway and documents the following tasks:&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;* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Configuring the FTP Server to Enable Archiving of Statistics from the Gateway|Configuring the FTP Server to Enable Archiving of Statistics from the Gateway]]&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;* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Configuring the FTP Server to Enable Archiving of Statistics from the Gateway|Configuring the FTP Server to Enable Archiving of Statistics from the Gateway]]&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_--_Managing_the_Collection_of_Voice_Statistics&amp;diff=11601&amp;oldid=prev</id>
		<title>Pzimmerm at 16:37, 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_--_Managing_the_Collection_of_Voice_Statistics&amp;diff=11601&amp;oldid=prev"/>
				<updated>2009-03-06T16:37:51Z</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:37, 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 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: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&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;This article describes how to manage the collection of voice statistics on the gateway and documents the following tasks:&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;This article describes how to manage the collection of voice statistics on the gateway and documents the following tasks:&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;* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Configuring the FTP Server to Enable Archiving of Statistics from the Gateway|Configuring the FTP Server to Enable Archiving of Statistics from the Gateway]]&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;* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Configuring the FTP Server to Enable Archiving of Statistics from the Gateway|Configuring the FTP Server to Enable Archiving of Statistics from the Gateway]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 957:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 956:&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;&amp;nbsp;&amp;nbsp; out_pdd=0, in_setup_delay=2340,out_setup_delay=0,lost_pkt=10,jitter=5,&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;&amp;nbsp;&amp;nbsp; out_pdd=0, in_setup_delay=2340,out_setup_delay=0,lost_pkt=10,jitter=5,&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;&amp;nbsp;&amp;nbsp; in_disc_cc_16=16, in_disc_cc_18=2,in_disc_cc_19=3,in_disc_cc_34=5,out_disc_cc_16=0&amp;nbsp; &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;&amp;nbsp;&amp;nbsp; in_disc_cc_16=16, in_disc_cc_18=2,in_disc_cc_19=3,in_disc_cc_34=5,out_disc_cc_16=0&amp;nbsp; &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: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; ! &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; !&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_--_Managing_the_Collection_of_Voice_Statistics&amp;diff=11291&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_--_Managing_the_Collection_of_Voice_Statistics&amp;diff=11291&amp;oldid=prev"/>
				<updated>2009-03-05T22:22:59Z</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_--_Managing_the_Collection_of_Voice_Statistics&amp;diff=11290&amp;oldid=prev</id>
		<title>Pzimmerm: /* Using Cause Code Statistics */</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Managing_the_Collection_of_Voice_Statistics&amp;diff=11290&amp;oldid=prev"/>
				<updated>2009-03-05T18:56:51Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Using Cause Code Statistics&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
This article describes how to manage the collection of voice statistics on the gateway and documents the following tasks:&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Configuring the FTP Server to Enable Archiving of Statistics from the Gateway|Configuring the FTP Server to Enable Archiving of Statistics from the Gateway]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Configuring the Gateway to Archive Statistics to an FTP Server|Configuring the Gateway to Archive Statistics to an FTP Server]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Configuring the Gateway to Archive Statistics to a Syslog Server|Configuring the Gateway to Archive Statistics to a Syslog Server]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Displaying Memory Usage|Displaying Memory Usage]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Displaying All Statistics and Pushing Them to an FTP or Syslog Server|Displaying All Statistics and Pushing Them to an FTP or Syslog Server]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Clearing the Collected Call Statistics|Clearing the Collected Call Statistics]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Monitoring the Statistical Reporting|Monitoring the Statistical Reporting]]&lt;br /&gt;
&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;
&lt;br /&gt;
== Configuring the FTP Server to Enable Archiving of Statistics from the Gateway ==&lt;br /&gt;
&lt;br /&gt;
This task shows how to configure the FTP server to accept archived statistics from a Cisco IOS gateway.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
==== FTP Server ====&lt;br /&gt;
&lt;br /&gt;
An FTP server must be configured before you can archive the collected statistics.&lt;br /&gt;
&lt;br /&gt;
==== FTP Service Port ====&lt;br /&gt;
&lt;br /&gt;
Normally, the FTP port is a well-known number, such as 21. However, another port number (not well-known) can receive data for specific purposes (for example, security), as long as the FTP client on voice gateways is configured to use the same port number.&lt;br /&gt;
&lt;br /&gt;
==== User Account and File Directory ====&lt;br /&gt;
&lt;br /&gt;
In order for the FTP client on the voice gateway to write files on the FTP server, FTP user accounts must be available (or well-known) to the FTP client. The FTP user accounts can be normal UNIX user accounts. &lt;br /&gt;
&lt;br /&gt;
The FTP file upload directory in the FTP servers can also be specified for directory management purposes. System administrators can also restrict the privilege level of the user accounts in the upload directory for security and directory management purposes.&lt;br /&gt;
&lt;br /&gt;
{{note|For this task, the external devices are assumed to be UNIX-like platforms (for example, Linux).}}&lt;br /&gt;
&lt;br /&gt;
1. Install the software. &lt;br /&gt;
&lt;br /&gt;
Ensure that both the anonftp package and the wu-ftpd package are installed on the system. The versions installed should, at a minimum, match those below: &lt;br /&gt;
&lt;br /&gt;
  anonftp-3.0-9  &lt;br /&gt;
  wu-ftpd-2.6.1-6  &lt;br /&gt;
&lt;br /&gt;
Check to see whether the installation can be done with the following command: &lt;br /&gt;
&lt;br /&gt;
 rpm -qa | egrep '(wu-ftpd|anonftp)'&lt;br /&gt;
&lt;br /&gt;
2. Configure the IP aliasing for virtual domains. &lt;br /&gt;
&lt;br /&gt;
Configure the IP aliases for the virtual domains so that there is an IP address routed through one of the available network interfaces. &lt;br /&gt;
&lt;br /&gt;
The programs &amp;quot;netcfg&amp;quot; or &amp;quot;linuxconf&amp;quot; can also be used to set up the IP aliases (replacing 10.10.10.10 with your actual IP address for the FTP site).&lt;br /&gt;
&lt;br /&gt;
If the IP address is to resolve to a domain name, you must set up a DNS server.&lt;br /&gt;
&lt;br /&gt;
3.  Configure xinetd.conf. &lt;br /&gt;
&lt;br /&gt;
Configure the /etc/xinetd.d/wu-ftpd file to handle FTP access, for example: &lt;br /&gt;
&lt;br /&gt;
  [root@wyvern xinetd.d]# cat wu-ftpd   &lt;br /&gt;
  # default: on   &lt;br /&gt;
  # description: The wu-ftpd FTP server knows the FTP &lt;br /&gt;
  # connections. It uses \ normal,unencrypted &lt;br /&gt;
  # usernames and passwords for authentication.  &lt;br /&gt;
  service ftp   &lt;br /&gt;
  {  &lt;br /&gt;
          disable                 = no  &lt;br /&gt;
          socket_type             = stream  &lt;br /&gt;
          wait                    = no  &lt;br /&gt;
          user                    = root  &lt;br /&gt;
          server                  = /usr/sbin/in.ftpd  &lt;br /&gt;
          server_args             = -l -a  &lt;br /&gt;
          log_on_success          += DURATION USERID  &lt;br /&gt;
          log_on_failure          += USERID  &lt;br /&gt;
          nice                    = 10  &lt;br /&gt;
  }  &lt;br /&gt;
&lt;br /&gt;
{{note|It is very important that the &amp;quot;-1 -a&amp;quot; is specified in server_args and that the disable line is set to &amp;quot;no.&amp;quot; This tells inetd.conf to reference the commands in the /etc/ftpaccess file. }}&lt;br /&gt;
&lt;br /&gt;
4. Edit /etc/ftpaccess. &lt;br /&gt;
&lt;br /&gt;
Edit the /etc/ftpaccess file. Make the basic changes using Linuxconf as the root. Additional changes must be made in this file manually. The virtual entry in the file should be placed at the bottom of the file and resembles the following: &lt;br /&gt;
&lt;br /&gt;
  # Virtual FTP entries for 10.10.10.10  &lt;br /&gt;
  virtual  10.10.10.10   root        /home/domain1  &lt;br /&gt;
  virtual  10.10.10.10   banner      /home/ftp/domain1/banner.msg  &lt;br /&gt;
  virtual  10.10.10.10   logfile     /var/log/virtual/domain1/xferlog  &lt;br /&gt;
&lt;br /&gt;
Where /home/domain1 is the root path for the virtual FTP server, /home/ftp/domain1/banner.msg is the path to the banner message to be displayed upon login, and /var/log/virtual/domain1/xferlog is the path to the transfer log. &lt;br /&gt;
&lt;br /&gt;
5. Specify other options. &lt;br /&gt;
&lt;br /&gt;
Specify that all users can have access with the following line: &lt;br /&gt;
&lt;br /&gt;
  virtual 10.10.10.10  allow *  &lt;br /&gt;
&lt;br /&gt;
If only specific users are to be allowed access, list their usernames, as shown here: &lt;br /&gt;
&lt;br /&gt;
  virtual 10.10.10.10 allow user1  &lt;br /&gt;
&lt;br /&gt;
If anonymous FTP logins are to be disabled, set the IP address to private as shown here: &lt;br /&gt;
&lt;br /&gt;
  virtual 10.10.10.10 private&lt;br /&gt;
  &lt;br /&gt;
6. Secure or hide the FTP server. &lt;br /&gt;
&lt;br /&gt;
When FTP users log on to the system, they should be allowed into the directory specified in the root path only. There are several steps as follows:&lt;br /&gt;
:1. Determine whether or not there is one user or a group of users that will be logging into the virtual FTP site. &lt;br /&gt;
:2. Specify the home directory in the /etc/passwd file for the user specified in the /etc/ftpaccess/ file, followed by a /./. The entry will look like this:  &lt;br /&gt;
   user1:X:2453:group1::/var/ftp/home/domain1/./:/bin/bash  &lt;br /&gt;
: Include the following line in your FTP access file, if user1 is the only user accessing this virtual FTP site, following the virtual configuration lines: &lt;br /&gt;
   guestuser user1  &lt;br /&gt;
: When logging into 10.10.10.10, user1 is automatically dropped into /home/domain1 but will see this as the / directory. User1 will not be able to move outside of that directory.&lt;br /&gt;
:3. Specify a group of users in addition to user1 in /etc/group. You should then add the following line to /etc/ftpaccess following the virtual FTP entry:  &lt;br /&gt;
   guestgroup group1  &lt;br /&gt;
:4. Specify the administrator of the FTP site (user2 in the example and exempt from the group rule) as follows:  &lt;br /&gt;
   guestgroup group1  &lt;br /&gt;
   realuser user2  &lt;br /&gt;
&lt;br /&gt;
7. Provide for basic shell access.&lt;br /&gt;
&lt;br /&gt;
Open the /var/ftp (created on the system when the anonftp rpm was installed), and copy /var/ftp/bin, /var/ftp/etc/, and /var/ftp/lib into the root directory of the virtual FTP site (in this case, /var/ftp/home/domain1). &lt;br /&gt;
&lt;br /&gt;
8. Restart services so that the configuration takes effect.&lt;br /&gt;
&lt;br /&gt;
Close the configuration file after making all of the changes, and restart the inet services (where FTP services are specified) by typing the following:&lt;br /&gt;
&lt;br /&gt;
  /sbin/service xinetd stop  &lt;br /&gt;
&lt;br /&gt;
then:&lt;br /&gt;
&lt;br /&gt;
  /sbin/service xinetd start&lt;br /&gt;
&lt;br /&gt;
== Configuring the Gateway to Archive Statistics to an FTP Server ==&lt;br /&gt;
&lt;br /&gt;
This task shows you how to configure the gateway to archive the collected statistics to the specified FTP server and how to configure the maximum allowable file size.&lt;br /&gt;
&lt;br /&gt;
{{note|This procedure can also be used to archive Cisco VoIP internal error codes (IECs) to an FTP server.}}&lt;br /&gt;
&lt;br /&gt;
=== SUMMARY STEPS ===&lt;br /&gt;
# '''enable'''&lt;br /&gt;
# '''configure''' terminal&lt;br /&gt;
# '''voice statistics push ftp url''' ''ftp-url'' ['''max-file-size''' ''value'']&lt;br /&gt;
# '''exit'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== DETAILED STEPS ===&lt;br /&gt;
&lt;br /&gt;
{| border = 1 &lt;br /&gt;
|-&lt;br /&gt;
!&lt;br /&gt;
!Command or Action&lt;br /&gt;
!Purpose&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
1.  &lt;br /&gt;
|&lt;br /&gt;
'''enable'''   &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router&amp;gt; enable   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Enables privileged EXEC mode. &lt;br /&gt;
* Enter your password if prompted.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
2.  &lt;br /&gt;
|&lt;br /&gt;
'''configure''' terminal   &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router# configure terminal   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Enters global configuration mode.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
3.  &lt;br /&gt;
|&lt;br /&gt;
'''voice statistics push ftp url ''ftp-url'' ['''max-file-size''' ''value'']  &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(config)# voice statistics push ftp &lt;br /&gt;
     &amp;lt;nowiki&amp;gt;url ftp://me:secret@abccompanyhost:23/products &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
        max-file-size 3000   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Configures the FTP server location where statistics will be archived. The ''ftp-url'' argument is expressed in the following form:  &amp;lt;nowiki&amp;gt;ftp://user:password@host:port/path1/path2/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* The max-file-size keyword is optional and specifies the maximum FTP file size, in bytes. The value argument has a valid range from 1024 to 4294967295. The default is 400000000 (4 GB).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
4.  &lt;br /&gt;
|&lt;br /&gt;
'''exit'''   &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(config)# exit   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Exits global configuration mode.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
The following sample output is the message that you see on your console when the statistics are being archived to the FTP server:&lt;br /&gt;
&lt;br /&gt;
  Writing /ftp_files/vstats.3660-1.2002-04-25T020500Z !  &lt;br /&gt;
  Writing /ftp_files/vstats.3660-1.2002-04-25T020500Z.done !   &lt;br /&gt;
  !  &lt;br /&gt;
  01:43:22: %VSTATS-6-VCSR: SEQ=0:  &lt;br /&gt;
  stats_type,version,format,gw_id,start_time,end_time,rec_count  &lt;br /&gt;
  VCSR_SIG,1,asc,3660-1,2002-04-25T02:00:00Z,2002-04-25T02:05:00Z,9  &lt;br /&gt;
  &lt;br /&gt;
  record_type,trunk_group_id,voice_port_id,in_call,in_ans,in_fail,out_call,&lt;br /&gt;
  out_ans,out_fail,in_szre_d,out_szre_d,in_conn_d,out_conn_d,orig_disconn,&lt;br /&gt;
  in_ans_abnorm,out_ans_abnorm,in_mcdout_mcd,in_pdd,out_pdd,in_setup_delay,&lt;br /&gt;
  out_setup_delay,lost_pkt,latency,jitter,in_cc_no,  &lt;br /&gt;
  out_cc_no,in_cc_id,in_cc_cntr,out_cc_id,out_cc_cntr  &lt;br /&gt;
  gw,,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,16,0,16,0  &lt;br /&gt;
  ip,,,0,0,0,0,0,0,0,0,0,0,  &lt;br /&gt;
  01:43:22: %VSTATS-6-VCSR: SEQ=1:  &lt;br /&gt;
  0,0,0,0,0,0,0,0,0,0,0,0,1,1,16,0,16,0  &lt;br /&gt;
  pstn,,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,1,1,16,0,16,0  &lt;br /&gt;
  vp,,4/0/0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,1,1,16,0,16,0  &lt;br /&gt;
  vp,,4/0/1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,1,1,16,0,16,0  &lt;br /&gt;
  vp,,4/1/0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,1,1,16,0,16,0  &lt;br /&gt;
  vp,,4/1/1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,1,1,16,0,16,0  &lt;br /&gt;
  vp,,2/0:23,0,0,0,0,0,|0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,1,1,16,0,16,0  &lt;br /&gt;
  vp,,2/1:23,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,1,1,16,0,16,0  &lt;br /&gt;
  stats_type,version,format,gw_id,start_time,e  &lt;br /&gt;
  01:43:22: %VSTATS-6-VCSR: SEQ=2:  &lt;br /&gt;
  nd_time,rec_count  &lt;br /&gt;
  VCSR_ACC,1,asc,3660-1,2002-04-25T02:00:00Z,2002-04-25T02:05:00Z,2  &lt;br /&gt;
  acct_type,acct_type_name,acct_pass_criteria,pstn_in_pass,pstn_in_fail,pstn_out_pass,  &lt;br /&gt;
  pstn_out_fail,ip_in_pass,ip_in_fail,ip_out_pass,ip_out_fail  &lt;br /&gt;
  ml,h323,1,0,0,0,0,0,0,0,0  &lt;br /&gt;
  ml,h323-1,1,0,0,0,0,0,0,0,0&lt;br /&gt;
&lt;br /&gt;
== Configuring the Gateway to Archive Statistics to a Syslog Server ==&lt;br /&gt;
&lt;br /&gt;
This task shows you how to configure the gateway to archive the call statistics records to a syslog server.&lt;br /&gt;
&lt;br /&gt;
{{note|This procedure can also be used to archive Cisco VoIP internal error codes (IECs) to a sylog server.}}&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
The external syslog server must be configured to receive voice call statistics from the gateway. For information about enabling a syslog server to receive voice call statistics information from a gateway, refer to Task 2 in ''Enabling Management Protocols: NTP, SNMP, and Syslog'''' ''on Cisco.com.&lt;br /&gt;
&lt;br /&gt;
For information about configuring a Solaris syslog server, refer to Task 4 (&amp;quot;Using Syslog, NTP, and Modem Call Records to Isolate and Troubleshoot Faults&amp;quot;) in the ''Basic Dial NMS Implementation Guide ''on Cisco.com.&lt;br /&gt;
&lt;br /&gt;
=== SUMMARY STEPS ===&lt;br /&gt;
# '''enable'''&lt;br /&gt;
# '''configure''' terminal &lt;br /&gt;
# '''voice statistics push syslog '''['''max-msg-size''' ''value'']&lt;br /&gt;
# '''exit'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== DETAILED STEPS ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = 1 &lt;br /&gt;
|-&lt;br /&gt;
!&lt;br /&gt;
!Command or Action&lt;br /&gt;
!Purpose&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
1.  &lt;br /&gt;
|&lt;br /&gt;
'''enable'''   &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router&amp;gt; enable   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Enables privileged EXEC mode. &lt;br /&gt;
* Enter your password if prompted.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
2. &lt;br /&gt;
|&lt;br /&gt;
  '''configure''' terminal  &lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router# configure terminal   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Enters global configuration mode.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
3.  &lt;br /&gt;
|&lt;br /&gt;
'''voice statistics push syslog '''['''max-msg-size''' ''value'']&lt;br /&gt;
  &lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(config)# voice statistics push syslog   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Archives voice statistics to an external syslog server and specifies the maximum syslog message size. &lt;br /&gt;
* The '''max-msg-size ''''''keyword is optional and specifies the maximum size in bytes of a voice statistics file to be pushed to the syslog server'''. Valid values are from 1024 to 4294967295. The default value is 4000000000 (4 GB).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
4.  &lt;br /&gt;
|&lt;br /&gt;
'''exit'''  &lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(config)# exit   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Exits global configuration mode.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Displaying Memory Usage ==&lt;br /&gt;
&lt;br /&gt;
This task shows you how to display memory usage either as an absolute value or as a percentage.&lt;br /&gt;
&lt;br /&gt;
=== SUMMARY STEPS ===&lt;br /&gt;
# '''enable'''&lt;br /&gt;
# '''show voice statistics memory-usage''' {'''all''' | '''csr '''|''' iec'''}&lt;br /&gt;
&lt;br /&gt;
=== DETAILED STEPS ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = 1 &lt;br /&gt;
|-&lt;br /&gt;
!&lt;br /&gt;
!Command or Action&lt;br /&gt;
!Purpose&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
1. &lt;br /&gt;
|&lt;br /&gt;
'''enable'''   &lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router&amp;gt; enable   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Enables privileged EXEC mode. &lt;br /&gt;
* Enter your password if prompted.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
2.  &lt;br /&gt;
|&lt;br /&gt;
'''show voice statistics memory-usage ''''''{''''''all'''''' | ''''''csr'''''' | '''iec'''}'''   &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(config)# show voice statistics memory-usage csr   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Displays current memory usage (absolute or percentage).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Displaying All Statistics and Pushing Them to an FTP or Syslog Server ==&lt;br /&gt;
&lt;br /&gt;
This task shows how to display all statistics and push them to an FTP or syslog server.&lt;br /&gt;
&lt;br /&gt;
{{note|This procedure can also be used if you are collecting statistics for VoIP internal error codes (IECs).}}&lt;br /&gt;
&lt;br /&gt;
=== SUMMARY STEPS ===&lt;br /&gt;
# '''enable'''&lt;br /&gt;
# '''show voice statistics csr since-reset all''' ['''mode '''{'''concise''' | '''verbose'''}]&lt;br /&gt;
# '''show voice statistics csr since-reset all push''' {'''all''' | '''ftp''' | '''syslog'''}&lt;br /&gt;
&lt;br /&gt;
=== DETAILED STEPS ===&lt;br /&gt;
&lt;br /&gt;
{| border = 1 &lt;br /&gt;
|-&lt;br /&gt;
!&lt;br /&gt;
!Command or Action&lt;br /&gt;
!Purpose&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
1.  &lt;br /&gt;
|&lt;br /&gt;
'''enable'''   &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router&amp;gt; enable   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Enables privileged EXEC mode. &lt;br /&gt;
* Enter your password if prompted.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
2.  &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
'''show voice statistics csr since-reset all''' ['''mode '''{'''concise''' | '''verbose'''}] &lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  Router# show voice statistics csr since-reset &lt;br /&gt;
      all mode concise   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Displays all statistics (including both signaling and accounting statistics) since the last reset or reboot of the gateway. &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
3.  &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
'''show voice statistics csr since-reset all push''' {'''all''' | '''ftp''' | '''syslog'''}  &lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router# show voice statistics csr since-reset all push syslog   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Pushes all displayed statistics to either the FTP or syslog server, or to both servers. &lt;br /&gt;
* The statistics are first displayed on the console before being pushed to the FTP or syslog server.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Clearing the Collected Call Statistics ==&lt;br /&gt;
&lt;br /&gt;
This task shows you how to clear the collected statistics. The results of the '''clear voice statistics csr '''command can be viewed using the '''show voice statistics '''command.&lt;br /&gt;
&lt;br /&gt;
Once the '''clear voice statistics csr''' command has been issued, all statistics collected using the '''voice statistics time-range since-reset''' command are removed and the counters are reset.&lt;br /&gt;
&lt;br /&gt;
=== Restrictions ===&lt;br /&gt;
&lt;br /&gt;
Only since-reset counters can be reset. Specific or periodic counts cannot be reset using the '''clear voice statistics csr''' command. This command cannot be used in nonprivileged mode.&lt;br /&gt;
&lt;br /&gt;
=== SUMMARY STEPS ===&lt;br /&gt;
# '''enable'''&lt;br /&gt;
# '''clear voice statistics csr'''&lt;br /&gt;
# '''show voice statistics csr since-reset all'''&lt;br /&gt;
&lt;br /&gt;
=== DETAILED STEPS ===&lt;br /&gt;
&lt;br /&gt;
{| border = 1 &lt;br /&gt;
|-&lt;br /&gt;
!&lt;br /&gt;
!Command or Action&lt;br /&gt;
!Purpose&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
1.  &lt;br /&gt;
|&lt;br /&gt;
'''enable'''  &lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router&amp;gt; enable   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Enables privileged EXEC mode. &lt;br /&gt;
* Enter your password if prompted.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
2. &lt;br /&gt;
|&lt;br /&gt;
'''clear voice statistics csr''' &lt;br /&gt;
  &lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router# clear voice statistics csr   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Clears the collected statistics.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
3.  &lt;br /&gt;
|&lt;br /&gt;
'''show voice statistics csr since-reset all'''  &lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router# show voice statistics csr since-reset all   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Displays the collected statistics since a reset occurred. Enter this command after entering the '''clear voice statistics csr''' command to verify that the statistics have been cleared.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting Tips ===&lt;br /&gt;
&lt;br /&gt;
The gateway does not recognize the '''clear voice statistics csr''' command in nonprivileged mode and displays the following message:&lt;br /&gt;
&lt;br /&gt;
  Router&amp;gt; clear voice statistics csr  &lt;br /&gt;
               ^  &lt;br /&gt;
  % Invalid input detected at '^' marker.  &lt;br /&gt;
&lt;br /&gt;
If you see this message, enter this command from privileged EXEC mode.&lt;br /&gt;
&lt;br /&gt;
== Monitoring the Statistical Reporting ==&lt;br /&gt;
&lt;br /&gt;
This section contains the following subsections:&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Using Debug Commands for Monitoring Gateway Reporting|Using Debug Commands for Monitoring Gateway Reporting]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Using Cause Code Statistics|Using Cause Code Statistics]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Displaying Quality of Service Indicators|Displaying Quality of Service Indicators]]&lt;br /&gt;
&lt;br /&gt;
=== Using Debug Commands for Monitoring Gateway Reporting ===&lt;br /&gt;
&lt;br /&gt;
To monitor the statistical reporting and the collection of data by the gateway, you must turn on the following debug commands:&lt;br /&gt;
* debug radius accounting&lt;br /&gt;
* debug event-manager&lt;br /&gt;
* debug voice statistics csr&lt;br /&gt;
* debug voice statistics accounting&lt;br /&gt;
* debug voice statistics core&lt;br /&gt;
&lt;br /&gt;
Once the debugging is turned on, you can review the data, evaluate the performance of the network, and identify impaired voice equipment.&lt;br /&gt;
&lt;br /&gt;
The following output examples show a collection of records occurring between intervals and a voice call going through the gateway.&lt;br /&gt;
&lt;br /&gt;
==== Example of Record Collection Between Intervals ====&lt;br /&gt;
&lt;br /&gt;
In the following example, the gateway was unable to &amp;quot;push&amp;quot; the data to the FTP server.&lt;br /&gt;
&lt;br /&gt;
  vstats_timer_handle_interval_event():Between Intervals!  &lt;br /&gt;
  04:52:37: vstats_acct_interval_end: interval_tag = 4  &lt;br /&gt;
  04:52:37: vstats_acct_interval_end: pushing out, tag=3  &lt;br /&gt;
  04:52:37: vstats_acct_clean_history_stats:  &lt;br /&gt;
  04:52:37: vstats_acct_clean_history_stats: stats (tag=3) not to be deleted  &lt;br /&gt;
  04:52:37: vstats_acct_clean_history_stats: stats (tag=2) not to be deleted  &lt;br /&gt;
  04:52:37: vstats_acct_create_empty_stats:  &lt;br /&gt;
  04:52:37: vstats_acct_create_new_rec_list:  &lt;br /&gt;
  04:52:37: vstats_acct_create_new_rec_list: add acct rec: methodlist=h323, acct-criteria=2  &lt;br /&gt;
  04:52:37: vstats_acct_create_new_rec:  &lt;br /&gt;
  04:52:37: vstats_acct_add_rec_entry:  &lt;br /&gt;
  04:52:37: vstats_acct_add_stats_entry:  &lt;br /&gt;
  04:52:37: vstat_push_driver_file_open():Cannot open &amp;lt;nowiki&amp;gt;ftp://sgcp:sgcp@abc-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  pc:21//ftp_files/vstats.5400-GW.2003-02-13T162000Z. errno=65540=Unknown error 65540 &lt;br /&gt;
  vstat_push_drv_activate_ftp_file_tx():open file &amp;lt;nowiki&amp;gt;(ftp://sgcp:sgcp@jeremy- &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  pc:21//ftp_files/vstats.5400-GW.2003-02-13T162000Z)=(&amp;lt;nowiki&amp;gt;ftp://sgcp:sgcp@abc-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
  pc:21//ftp_files/vstats.5400-GW.2003-02-13T162000Z)failed!  &lt;br /&gt;
  vstats_push_api_push_formatted_text():Start CMD error!&lt;br /&gt;
&lt;br /&gt;
==== Example of a Voice Call Going Through the Gateway ====&lt;br /&gt;
&lt;br /&gt;
  04:55:07: EM: Notify the producer not to produce  &lt;br /&gt;
  04:55:07: RADIUS(00000019): Storing nasport 0 in rad_db  &lt;br /&gt;
  04:55:07: RADIUS(00000019): Config NAS IP: 0.0.0.0  &lt;br /&gt;
  04:55:07: RADIUS(00000019): sending  &lt;br /&gt;
  04:55:07: RADIUS/ENCODE: Best Local IP-Address 10.6.43.101 for Radius-Server 10.6.10.203  &lt;br /&gt;
  04:55:07: RADIUS(00000019): Send Accounting-Request to 10.6.10.203:1646 id 21645/49,len496  &lt;br /&gt;
  04:55:07: RADIUS:  authenticator C5 B8 AA 2E C3 AF 02 93 - 45 0B AE E5 B6 B2 99 1F  &lt;br /&gt;
  04:55:07: RADIUS:  Acct-Session-Id     [44]  10 &amp;quot;00000020&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  57    &lt;br /&gt;
  04:55:07: RADIUS:   h323-setup-time    [25]  51  &amp;quot;h323-setup-time=*16:22:30.994 UTC Thu Feb 13 2003&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  27    &lt;br /&gt;
  04:55:07: RADIUS:   h323-gw-id         [33]  21  &amp;quot;h323-gw-id=5400-GW.&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  56    &lt;br /&gt;
  04:55:07: RADIUS:  Conf-Id             [24]  50  &amp;quot;h323-conf-id=2F4ED2E3 3EA611D7 800E0002 B935C142&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  31    &lt;br /&gt;
  04:55:07: RADIUS:  h323-call-origin    [26]  25  &amp;quot;h323-call-origin=answer&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  32    &lt;br /&gt;
  04:55:07: RADIUS:   h323-call-type     [27]  26  &amp;quot;h323-call-type=Telephony&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  65    &lt;br /&gt;
  04:55:07: RADIUS:   Cisco AVpair       [1]   59  &amp;quot;h323-incoming-conf-id=2F4ED2E3 3EA611D7 800E0002 B935C142&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  30    &lt;br /&gt;
  04:55:07: RADIUS:   Cisco AVpair       [1]   24  &amp;quot;subscriber=RegularLine&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  35    &lt;br /&gt;
  04:55:07: RADIUS:   Cisco AVpair       [1]   29  &amp;quot;gw-rxd-cdn=ton:0,npi:0,#:11&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  32    &lt;br /&gt;
  04:55:07: RADIUS:   Cisco AVpair       [1]   26  &amp;quot;calling-party-category=9&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  33    &lt;br /&gt;
  04:55:07: RADIUS:   Cisco AVpair       [1]   27  &amp;quot;transmission-medium-req=0&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  User-Name           [1]   4   &amp;quot;22&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Acct-Status-Type    [40]  6   Start                     [1]  &lt;br /&gt;
  04:55:07: RADIUS:  NAS-Port-Type       [61]  6   Async                     [0]  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  20    &lt;br /&gt;
  04:55:07: RADIUS:   cisco-nas-port     [2]   14  &amp;quot;ISDN 6/0:D:1&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  NAS-Port            [5]   6   0                           &lt;br /&gt;
  04:55:07: RADIUS:  Calling-Station-Id  [31]  4   &amp;quot;22&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Called-Station-Id   [30]  4   &amp;quot;11&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Service-Type        [6]   6   Login                     [1]  &lt;br /&gt;
  04:55:07: RADIUS:  NAS-IP-Address      [4]   6   10.6.43.101   &lt;br /&gt;
  04:55:07: RADIUS:  Acct-Delay-Time     [41]  6   0                           &lt;br /&gt;
  04:55:07: RADIUS(0000001A): Config NAS IP: 0.0.0.0  &lt;br /&gt;
  04:55:07: RADIUS(0000001A): sending  &lt;br /&gt;
  04:55:07: RADIUS/ENCODE: Best Local IP-Address 10.6.43.101 for Radius-Server 10.6.10.203  &lt;br /&gt;
  04:55:07: RADIUS(0000001A): Send Accounting-Request to 10.6.10.203:1646 id 21645/50,len427  &lt;br /&gt;
  04:55:07: RADIUS:  authenticator E4 98 06 8C 48 63 4F AA - 56 4F 40 12 33 F0 F5 99  &lt;br /&gt;
  04:55:07: RADIUS:  Acct-Session-Id     [44]  10  &amp;quot;00000021&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  57    &lt;br /&gt;
  04:55:07: RADIUS:   h323-setup-time    [25]  51  &amp;quot;h323-setup-time=*16:22:31.006 UTC Thu Feb 13 2003&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  27    &lt;br /&gt;
  04:55:07: RADIUS:   h323-gw-id         [33]  21  &amp;quot;h323-gw-id=5400-GW.&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  56    &lt;br /&gt;
  04:55:07: RADIUS:   Conf-Id            [24]  50  &amp;quot;h323-conf-id=2F4ED2E3 3EA611D7 800E0002 B935C142&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  34    &lt;br /&gt;
  04:55:07: RADIUS:   h323-call-origin   [26]  28 &amp;quot;h323-call-origin=originate&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  27    &lt;br /&gt;
  04:55:07: RADIUS:   h323-call-type     [27]  21  &amp;quot;h323-call-type=VoIP&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  65    &lt;br /&gt;
  04:55:07: RADIUS:   Cisco AVpair       [1]   59  &amp;quot;h323-incoming-conf-id=2F4ED2E3 3EA611D7 800E0002 B935C142&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  30    &lt;br /&gt;
  04:55:07: RADIUS:   Cisco AVpair       [1]   24  &amp;quot;subscriber=RegularLine&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  30    &lt;br /&gt;
  04:55:07: RADIUS: Cisco AVpair       [1]   24  &amp;quot;session-protocol=cisco&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Vendor, Cisco       [26]  35    &lt;br /&gt;
  04:55:07: RADIUS:   Cisco AVpair       [1]   29  &amp;quot;gw-rxd-cdn=ton:0,npi:0,#:11&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  User-Name           [1]   4   &amp;quot;22&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Acct-Status-Type    [40]  6   Start                     [1]  &lt;br /&gt;
  04:55:07: RADIUS:  Calling-Station-Id  [31]  4   &amp;quot;22&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Called-Station-Id   [30]  4   &amp;quot;11&amp;quot;  &lt;br /&gt;
  04:55:07: RADIUS:  Service-Type        [6]   6   Login                     [1]  &lt;br /&gt;
  04:55:07: RADIUS:  NAS-IP-Address      [4]   6   10.6.43.101                  &lt;br /&gt;
  04:55:07: RADIUS:  Acct-Delay-Time     [41]  6   0                           &lt;br /&gt;
  04:55:07: EM: No consumer registered for event type NEWINFO  &lt;br /&gt;
  04:55:07: EM: Notify the producer not to produce  &lt;br /&gt;
  04:55:07: EM: No consumer registered for event type NEWINFO  &lt;br /&gt;
  04:55:07: EM: Notify the producer not to produce  &lt;br /&gt;
  04:55:08: RADIUS: no sg in radius-timers: ctx 0x65BAB1BC sg 0x0000  &lt;br /&gt;
  04:55:08: RADIUS: Retransmit to (10.6.10.203:1645,1646) for id 21645/50  &lt;br /&gt;
  04:55:08: RADIUS: acct-delay-time for 403963FC (at 403965A1) now 1  &lt;br /&gt;
  04:55:09: RADIUS: no sg in radius-timers: ctx 0x65ADB8EC sg 0x0000  &lt;br /&gt;
  04:55:09: RADIUS: Retransmit to (10.6.10.203:1645,1646) for id 21645/49  &lt;br /&gt;
  04:55:09: RADIUS: acct-delay-time for 40389BFC (at 40389DE6) now 1  &lt;br /&gt;
  04:55:10: RADIUS: no sg in radius-timers: ctx 0x65BAB1BC sg 0x0000  &lt;br /&gt;
  04:55:10: RADIUS: Fail-over to (10.8.159.105:1645,1645) for id 21645/51  &lt;br /&gt;
  04:55:10: RADIUS: acct-delay-time for 403963FC (at 403965A1) now 2  &lt;br /&gt;
  04:55:10: RADIUS/ENCODE: Best Local IP-Address 10.6.43.101 for Radius-Server 10.8.159.105  &lt;br /&gt;
  04:55:10: RADIUS: Received from id 21645/53 10.8.159.105:1645, Accounting-response, len 20  &lt;br /&gt;
  04:55:10: RADIUS:  authenticator 57 EF DD 90 0F 88 76 EA - A5 3D A7 44 0D 90 66 16  &lt;br /&gt;
  04:55:10: vstats_acct_rsp_handler:   methodlist=h323, rsp_type=0x1  &lt;br /&gt;
  04:55:10: acct_rsp_status=1 callid= 26, incoming=0, leg=2  &lt;br /&gt;
  04:55:10: vstats_acct_rsp_handler: last acct msg not sent yet. methodlist: h323  &lt;br /&gt;
  04:55:10: RADIUS: no sg in radius-timers: ctx 0x65ADB8EC sg 0x0000  &lt;br /&gt;
  04:55:10: RADIUS: Fail-over to (10.8.159.105:1645,1645) for id 21645/52  &lt;br /&gt;
  04:55:10: RADIUS: acct-delay-time for 40389BFC (at 40389DE6) now 2  &lt;br /&gt;
  04:55:10: RADIUS/ENCODE: Best Local IP-Address 10.6.43.101 for Radius-Server 10.8.159.105  &lt;br /&gt;
  04:55:10: RADIUS: Received from id 21645/54 10.8.159.105:1645, Accounting-response, len 20  &lt;br /&gt;
  04:55:10: RADIUS:  authenticator 97 88 6C BA DA 22 E7 5E - 73 EC 21 C6 36 1B 93 18  &lt;br /&gt;
  04:55:10: vstats_acct_rsp_handler:   methodlist=h323, rsp_type=0x1  &lt;br /&gt;
  04:55:10: acct_rsp_status=callid= 25, incoming=1, leg=1  &lt;br /&gt;
  04:55:10: vstats_acct_rsp_handler: last acct msg not sent yet. methodlist: h323  &lt;br /&gt;
  04:55:13: RADIUS(0000001A): Config NAS IP: 0.0.0.0  &lt;br /&gt;
  04:55:13: RADIUS(0000001A): sending  &lt;br /&gt;
  04:55:13: RADIUS/ENCODE: Best Local IP-Address 10.6.43.101 for Radius-Server 10.6.10.203  &lt;br /&gt;
  04:55:13: RADIUS(0000001A): Send Accounting-Request to 10.6.10.203:1646 id 21645/55,len885  &lt;br /&gt;
  04:55:13: RADIUS:  authenticator F8 4F F1 30 7E 8B 5B 46 - EF AE 17 2D 5C BA 36 E5  &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Session-Id     [44]  10  &amp;quot;00000021&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  57    &lt;br /&gt;
  04:55:13: RADIUS:   h323-setup-time    [25]  51  &amp;quot;h323-setup-time=*16:22:31.006 UTC Thu Feb 13 2003&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  27    &lt;br /&gt;
  04:55:13: RADIUS:   h323-gw-id         [33]  21  &amp;quot;h323-gw-id=5400-GW.&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  56    &lt;br /&gt;
  04:55:13: RADIUS:   Conf-Id            [24]  50  &amp;quot;h323-conf-id=2F4ED2E3 3EA611D7 800E0002 B935C142&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  34    &lt;br /&gt;
  04:55:13: RADIUS:   h323-call-origin   [26]  28  &amp;quot;h323-call-origin=originate&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  27    &lt;br /&gt;
  04:55:13: RADIUS:   h323-call-type     [27]  21  &amp;quot;h323-call-type=VoIP&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  65    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   59  &amp;quot;h323-incoming-conf-id=2F4ED2E3 3EA611D7 800E0002 B935C142&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  30    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   24  &amp;quot;subscriber=RegularLine&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  30    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   24  &amp;quot;session-protocol=cisco&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  35    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   29  &amp;quot;gw-rxd-cdn=ton:0,npi:0,#:11&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  59    &lt;br /&gt;
  04:55:13: RADIUS:   h323-connect-time  [28]  53  &amp;quot;h323-connect-time=*16:22:31.046 UTC Thu Feb 13 2003&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Input-Octets   [42]  6   2241                        &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Output-Octets  [43]  6   81         &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Input-Packets  [47]  6   113                         &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Output-Packets [48]  6   5                           &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Session-Time   [46]  6   5                           &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  62    &lt;br /&gt;
  04:55:13: RADIUS:   h323-disconnect-tim[29]  56  &amp;quot;h323-disconnect-time=*16:22:36.070 UTC Thu Feb 13 2003&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  32    &lt;br /&gt;
  04:55:13: RADIUS:   h323-disconnect-cau[30]  26  &amp;quot;h323-disconnect-cause=10&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  38    &lt;br /&gt;
  04:55:13: RADIUS:   h323-remote-address[23]  32  &amp;quot;h323-remote-address=10.0.0.110&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  24    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   18  &amp;quot;release-source=1&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  29    &lt;br /&gt;
  04:55:13: RADIUS:   h323-voice-quality [31]  23  &amp;quot;h323-voice-quality=-1&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  57    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   51  &amp;quot;alert-timepoint=*16:22:31.030 UTC Thu Feb 13 2003&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  39    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   33  &amp;quot;remote-media-address=10.0.0.110&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  44    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   38  &amp;quot;gw-final-xlated-cdn=ton:0,npi:0,#:11&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  44    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   38  &amp;quot;gw-final-xlated-cgn=ton:0,npi:1,#:22&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  User-Name           [1]   4   &amp;quot;22&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Status-Type    [40]  6   Stop                      [2]  &lt;br /&gt;
  04:55:13: RADIUS:  Calling-Station-Id  [31]  4   &amp;quot;22&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Called-Station-Id   [30]  4   &amp;quot;11&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Service-Type        [6]   6   Login                     [1]  &lt;br /&gt;
  04:55:13: RADIUS:  NAS-IP-Address      [4]   6   10.6.43.101                  &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Delay-Time     [41]  6   0                           &lt;br /&gt;
  04:55:13: RADIUS(00000019): Using existing nas_port 0  &lt;br /&gt;
  04:55:13: RADIUS(00000019):Config NAS IP: 0.0.0.0  &lt;br /&gt;
  04:55:13: RADIUS(00000019):sending  &lt;br /&gt;
  04:55:13: RADIUS/ENCODE: Best Local IP-Address 1.6.43.101 for Radius-Server 10.6.10.203  &lt;br /&gt;
  04:55:13: RADIUS(00000019): Send Accounting-Request to 10.6.10.203:1646 id 21645/56,len766  &lt;br /&gt;
  04:55:13: RADIUS:  authenticator 61 60 EB 92 29 5C DE B4 - CE 40 1C AB E3 A1 C8 F7  &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Session-Id     [44]  10  &amp;quot;00000020&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  57    &lt;br /&gt;
  04:55:13: RADIUS:   h323-setup-time    [25]  51  &amp;quot;h323-setup-time=*16:22:30.994 UTC Thu Feb 13 2003&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  27    &lt;br /&gt;
  04:55:13: RADIUS:   h323-gw-id         [33]  21  &amp;quot;h323-gw-id=5400-GW.&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  56    &lt;br /&gt;
  04:55:13: RADIUS:   Conf-Id            [24]  50  &amp;quot;h323-conf-id=2F4ED2E3 3EA611D7 800E0002 B935C142&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  31    &lt;br /&gt;
  04:55:13: RADIUS:   h323-call-origin   [26]  25  &amp;quot;h323-call-origin=answer&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  32    &lt;br /&gt;
  04:55:13: RADIUS:   h323-call-type     [27]  26  &amp;quot;h323-call-type=Telephony&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  65    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   59  &amp;quot;h323-incoming-conf-id=2F4ED2E3 3EA611D7 800E0002 B935C142&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  30    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   24  &amp;quot;subscriber=RegularLine&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  35    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   29  &amp;quot;gw-rxd-cdn=ton:0,npi:0,#:11&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  32    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   26  &amp;quot;calling-party-category=9&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  33    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   27  &amp;quot;transmission-medium-req=0&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  59    &lt;br /&gt;
  04:55:13: RADIUS:   h323-connect-time  [28]  53  &amp;quot;h323-connect-time=*16:22:31.046 UTC Thu Feb 13 2003&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Input-Octets   [42]  6   81                          &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Output-Octets  [43]  6   2241               &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Input-Packets  [47]  6   5                           &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Output-Packets [48]  6   113                         &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Session-Time   [46]  6   5                           &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  62    &lt;br /&gt;
  04:55:13: RADIUS:   h323-disconnect-tim[29]  56  &amp;quot;h323-disconnect-time=*16:22:36.064 UTC Thu Feb 13 2003&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  32    &lt;br /&gt;
  04:55:13: RADIUS:   h323-disconnect-cau[30]  26  &amp;quot;h323-disconnect-cause=10&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  35    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   29  &amp;quot;h323-ivr-out=Tariff:Unknown&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  24    &lt;br /&gt;
  04:55:13: RADIUS:   Cisco AVpair       [1]   18  &amp;quot;release-source=1&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  28    &lt;br /&gt;
  04:55:13: RADIUS:   h323-voice-quality [31]  22  &amp;quot;h323-voice-quality=0&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  User-Name           [1]   4   &amp;quot;22&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Status-Type    [40]  6   Stop [2]  &lt;br /&gt;
  04:55:13: RADIUS:  NAS-Port-Type       [61]  6   Async                     [0]  &lt;br /&gt;
  04:55:13: RADIUS:  Vendor, Cisco       [26]  20    &lt;br /&gt;
  04:55:13: RADIUS:   cisco-nas-port     [2]   14  &amp;quot;ISDN 6/0:D:1&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  NAS-Port            [5]   6   0                           &lt;br /&gt;
  04:55:13: RADIUS:  Calling-Station-Id  [31]  4   &amp;quot;22&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Called-Station-Id   [30]  4   &amp;quot;11&amp;quot;  &lt;br /&gt;
  04:55:13: RADIUS:  Service-Type        [6]   6   Login                     [1]  &lt;br /&gt;
  04:55:13: RADIUS:  NAS-IP-Addres       [4]   6   10.6.43.101                  &lt;br /&gt;
  04:55:13: RADIUS:  Acct-Delay-Time     [41]  6   0                           &lt;br /&gt;
  04:55:14: RADIUS: no sg in radius-timers: ctx 0x65BAB070 sg 0x0000  &lt;br /&gt;
  04:55:14: RADIUS: Retransmit to (10.6.10.203:1645,1646) for id 21645/55  &lt;br /&gt;
  04:55:14: RADIUS: acct-delay-time for 40553934 (at 40553CA3) now 1  &lt;br /&gt;
  04:55:14: RADIUS: no sg in radius-timers: ctx 0x65BA8284 sg 0x0000  &lt;br /&gt;
  04:55:14: RADIUS: Retransmit to (10.6.10.203:1645,1646) for id 21645/56  &lt;br /&gt;
  04:55:14: RADIUS: acct-delay-time for 405546C4 (at 405549BC) now 1  &lt;br /&gt;
  04:55:15: RADIUS: no sg in radius-timers: ctx 0x65BAB070 sg 0x0000  &lt;br /&gt;
  04:55:15: RADIUS: Fail-over to (10.8.159.105:1645,1645) for id 21645/57  &lt;br /&gt;
  04:55:15: RADIUS: acct-delay-time for 40553934 (at 40553CA3) now 2  &lt;br /&gt;
  04:55:15: RADIUS/ENCODE: Best Local IP-Address 10.6.43.101 for Radius-Server 10.8.159.105  &lt;br /&gt;
  04:55:15: RADIUS: no sg in radius-timers: ctx 0x65BA8284 sg 0x0000  &lt;br /&gt;
  04:55:15: RADIUS: Fail-over to (10.8.159.105:1645,1645) for id 21645/58  &lt;br /&gt;
  04:55:15: RADIUS: acct-delay-time for 405546C4 (at 405549BC) now 2  &lt;br /&gt;
  04:55:15: RADIUS/ENCODE: Best Local IP-Address 10.6.43.101 for Radius-Server 10.8.159.105  &lt;br /&gt;
  04:55:15: RADIUS: Received from id 21645/59 10.8.159.105:1645, Accounting-response, len 20  &lt;br /&gt;
  04:55:15: RADIUS:  authenticator B1 C4 5E FC DB FA 74 A4 - 05 E2 34 52 1A 11 26 06  &lt;br /&gt;
  04:55:15: vstats_acct_rsp_handler:   methodlist=h323, rsp_type=0x4  &lt;br /&gt;
  04:55:15: acct_rsp_status=1 callid= 26, incoming=0, leg=2&lt;br /&gt;
  04:55:15: vstats_acct_rsp_handler: increment since-reset counter  &lt;br /&gt;
  04:55:15: vstats_acct_rsp_handler: increment interval counter  &lt;br /&gt;
  04:55:15: RADIUS: Received from id 21645/60 10.8.159.105:1645, Accounting-response, len 20  &lt;br /&gt;
  04:55:15: RADIUS:  authenticator 0E 70 74 2F E5 D8 EE 98 - B9 C0 DA 66 74 ED 84 77  &lt;br /&gt;
  04:55:15: vstats_acct_rsp_handler:   methodlist=h323, rsp_type=0x4  &lt;br /&gt;
  04:55:15: acct_rsp_status=1 callid= 25, incoming=1, leg=1  &lt;br /&gt;
  04:55:15: vstats_acct_rsp_handler: increment since-reset counter  &lt;br /&gt;
  04:55:15: vstats_acct_rsp_handler: increment interval counter&lt;br /&gt;
&lt;br /&gt;
=== Using Cause Code Statistics ===&lt;br /&gt;
&lt;br /&gt;
By examining disconnect cause codes, you can understand the distribution of the various cause codes on the voice ports, trunk groups, and gateway, and which can help you determine why the voice calls were disconnected.&lt;br /&gt;
&lt;br /&gt;
The call disconnection cause values are taken from International Telecommunication Union Telecommunication Standardization Sector (ITU-T) standard Q.931 and are as follows:&lt;br /&gt;
* Private Network-Network Interface (PNNI) references ITU-T standard Q.2931 for the information element (IE) causes.&lt;br /&gt;
* PNNI R15 6.3.6.3 contains the &amp;quot;crankback&amp;quot; causes.&lt;br /&gt;
* ITU-T standard Q.2931 references ITU-T standard Q.2610.&lt;br /&gt;
* ITU-T standard Q.2610 lists a few cause codes and references ITU-T standard Q.850.&lt;br /&gt;
* ITU-T standard Q.850 lists the bulk of the cause codes.&lt;br /&gt;
&lt;br /&gt;
For specific information on the call disconnection cause values, see the &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;
==== Prerequisites ====&lt;br /&gt;
&lt;br /&gt;
CSR configurations must be enabled before you can examine the voice calls that are made through the gateway.&lt;br /&gt;
&lt;br /&gt;
==== Restrictions ====&lt;br /&gt;
&lt;br /&gt;
Statistics of non-DID calls are not consistent with those of the underlying ISDN module.&lt;br /&gt;
&lt;br /&gt;
=== SUMMARY STEPS ===&lt;br /&gt;
# '''enable'''&lt;br /&gt;
# '''show voice statistics csr since-reset aggregation-level all'''&lt;br /&gt;
&lt;br /&gt;
=== DETAILED STEPS ===&lt;br /&gt;
&lt;br /&gt;
{| border = 1 &lt;br /&gt;
|-&lt;br /&gt;
!&lt;br /&gt;
!Command or Action&lt;br /&gt;
!Purpose&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
1.  &lt;br /&gt;
|&lt;br /&gt;
'''enable'''  &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router&amp;gt; enable   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Enables privileged EXEC mode. &lt;br /&gt;
* Enter your password if prompted.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
2.  &lt;br /&gt;
|&lt;br /&gt;
'''show voice statistics csr since-reset aggregation-level all'''   &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router# show voice statistics csr since-reset &lt;br /&gt;
      aggregation-level all   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Displays all aggregation-level statistics since the last system reset or reboot.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
The following sample output shows cause-code statistics since the last reset for all aggregation levels.&lt;br /&gt;
&lt;br /&gt;
  Router# show voice statistics csr since-reset aggregation-level all  &lt;br /&gt;
  Client Type: VCSR  &lt;br /&gt;
          Start Time: 1993-03-01T00:03:15Z        End Time: 1993-03-03T22:02:18Z  &lt;br /&gt;
   record_type=gw,trunk_group_id=,voice_port_id=,in_call=26,in_ans=16,in_fail=10,&lt;br /&gt;
   out_call=26,out_ans=16,out_fail=10,in_szre_d=387,out_szre_d=380,in_conn_d=330,&lt;br /&gt;
   out_conn_d=323,  orig_disconn=0,in_ans_abnorm=0,out_ans_abnorm=0,in_mcd=0,&lt;br /&gt;
   out_mcd=0,in_pdd=2340,out_pdd=12340,in_setup_delay=2340,out_setup_delay=3340,&lt;br /&gt;
   lost_pkt=0,latency=0,jitter=0,  in_disc_cc_16=16,in_disc_cc_18=2,in_disc_cc_19=3,&lt;br /&gt;
   in_disc_cc_34=5,out_disc_cc_16=16, out_disc_cc_18=2,out_disc_cc_19=3,out_disc_cc_34=5  &lt;br /&gt;
  !  &lt;br /&gt;
  record_type=ip,trunk_group_id=,voice_port_id=,in_call=26,in_ans=16,in_fail=10,out_call=0,  &lt;br /&gt;
  out_ans=0,out_fail=0,in_szre_d=387,out_szre_d=0,in_conn_d=330,out_conn_d=0,&lt;br /&gt;
  orig_disconn=0,in_ans_abnorm=0,out_ans_abnorm=0,in_mcd=0,out_mcd=0,in_pdd=2340,&lt;br /&gt;
  out_pdd=0,in_setup_delay=2340,out_setup_delay=0,lost_pkt=20,latency=15,&lt;br /&gt;
  jitter=10,in_disc_cc_16=16, in_disc_cc_18=2,in_disc_cc_19=3,in_disc_cc_34=5,&lt;br /&gt;
  out_disc_cc_16=3  &lt;br /&gt;
  !  &lt;br /&gt;
&lt;br /&gt;
[[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Table: Significant Fields of the show voice statistics csr since-reset aggregation-level all Command|Table: Significant Fields of the show voice statistics csr since-reset aggregation-level all Command]] shows two types of cause codes listed in the output above.&lt;br /&gt;
&lt;br /&gt;
===== Table: Significant Fields of the show voice statistics csr since-reset aggregation-level all Command =====&lt;br /&gt;
&lt;br /&gt;
{| border = 1 &lt;br /&gt;
|-&lt;br /&gt;
!Field&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
in_disc_cc_16=16&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Count of incoming calls that are disconnected with a specific cause code number. In this example, the value 16 indicates normal call clearing&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
out_disc_cc_16=3  &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Count of outgoing calls that are disconnected with a specific cause code number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Displaying Quality of Service Indicators ===&lt;br /&gt;
&lt;br /&gt;
The quality of service (QoS) indicators per voice call are the results of transmitting and receiving voice packets in the IP interface. These results are included in the CSRs and are as follows:&lt;br /&gt;
* Lost packet value: the number of calls losing more than the configured number of packets. The default lost packet threshold is 1000 milliseconds.&lt;br /&gt;
* Packet latency value: the number of calls with voice packets encountering more than the configured amount of latency. The default packet latency threshold is 250 milliseconds.&lt;br /&gt;
* Packet jitter value: the number of calls with voice packets encountering more than the configured amount of jitter. The default packet jitter threshold is 250 milliseconds.&lt;br /&gt;
&lt;br /&gt;
Before you can determine that any voice call with IP voice packets is deviating from the desired level of quality, you must configure the threshold values of lost packets, latency, and jitter. See the following sections:&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Configuring the Minimum Call Duration and Signaling Thresholds|Configuring the Minimum Call Duration and Signaling Thresholds]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Performance Statistics on Cisco Gateways#Displaying Memory Usage|Displaying Memory Usage]]&lt;br /&gt;
&lt;br /&gt;
==== Restrictions ====&lt;br /&gt;
&lt;br /&gt;
Call statistics for MGCP calls are not guaranteed to be correct and accurate. In addition, statistics of non-DID ISDN calls are not consistent with those of the underlying ISDN module.&lt;br /&gt;
&lt;br /&gt;
=== SUMMARY STEPS ===&lt;br /&gt;
# '''enable'''&lt;br /&gt;
# '''show voice statistics csr since-reset aggregation-level all'''&lt;br /&gt;
&lt;br /&gt;
=== DETAILED STEPS ===&lt;br /&gt;
&lt;br /&gt;
{| border = 1 &lt;br /&gt;
|-&lt;br /&gt;
!&lt;br /&gt;
!Command or Action&lt;br /&gt;
!Purpose&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
1. &lt;br /&gt;
|&lt;br /&gt;
'''enable'''  &lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router&amp;gt; enable   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Enables privileged EXEC mode. &lt;br /&gt;
* Enter your password if prompted.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
2.  &lt;br /&gt;
|&lt;br /&gt;
  '''show voice statistics csr since-reset aggregation-level all'''  &lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router# '''show voice statistics csr since-reset aggregation-level all'''   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Displays the voice statistics of the voice calls made through the gateway.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
The following sample output displays lost packet, latency, and jitter QoS information:&lt;br /&gt;
&lt;br /&gt;
  Router# show voice statistics csr since-reset aggregation-level all&lt;br /&gt;
  Client Type: VCSR  &lt;br /&gt;
          Start Time: 1993-03-01T00:03:15Z        End Time: 1993-03-03T22:02:18Z  &lt;br /&gt;
  record_type=gw,trunk_group_id=,voice_port_id=,in_call=26,in_ans=16,in_fail=10,&lt;br /&gt;
  out_call=26,out_ans=16,out_fail=10,in_szre_d=387,out_szre_d=380,in_conn_d=330,&lt;br /&gt;
  out_conn_d=323, orig_disconn=0,in_ans_abnorm=0,out_ans_abnorm=0,in_mcd=0,&lt;br /&gt;
  out_mcd=0,in_pdd=2340,   out_pdd=12340,in_setup_delay=2340,out_setup_delay=3340,&lt;br /&gt;
  lost_pkt=10,latency=3,jitter=5,in_disc_cc_16=16,in_disc_cc_18=2,in_disc_cc_19=3,&lt;br /&gt;
  in_disc_cc_34=5,out_disc_cc_16=16, out_disc_cc_18=2,out_disc_cc_19=3,out_disc_cc_34=5  &lt;br /&gt;
  !  &lt;br /&gt;
  record_type=ip,trunk_group_id=,voice_port_id=,in_call=26,in_ans=16,in_fail=10,out_call=0,  &lt;br /&gt;
  out_ans=0,out_fail=0,in_szre_d=387,out_szre_d=0,in_conn_d=330,out_conn_d=0,&lt;br /&gt;
  orig_disconn=0,in_ans_abnorm=0,out_ans_abnorm=0,in_mcd=0,out_mcd=0,in_pdd=2340,&lt;br /&gt;
  out_pdd=0, in_setup_delay=2340,out_setup_delay=0,lost_pkt=10,jitter=5,&lt;br /&gt;
  in_disc_cc_16=16, in_disc_cc_18=2,in_disc_cc_19=3,in_disc_cc_34=5,out_disc_cc_16=0  &lt;br /&gt;
  !  &lt;br /&gt;
&lt;br /&gt;
[[Category:IOS Voice Troubleshooting]]&lt;/div&gt;</summary>
		<author><name>Pzimmerm</name></author>	</entry>

	</feed>