


 



<?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_--_SIP_Debug_Output_Filtering_Support&amp;feed=atom&amp;action=history</id>
		<title>Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support - 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_--_SIP_Debug_Output_Filtering_Support&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_--_SIP_Debug_Output_Filtering_Support&amp;action=history"/>
		<updated>2013-05-24T10:55:27Z</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_--_SIP_Debug_Output_Filtering_Support&amp;diff=48932&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_--_SIP_Debug_Output_Filtering_Support&amp;diff=48932&amp;oldid=prev"/>
				<updated>2012-10-16T16:56:07Z</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 16:56, 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;debug, sip, 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;The SIP Debug Output Filtering Support feature provides the capability for SIP-related debug output to be filtered based on a set of user-defined matching conditions. &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;The SIP Debug Output Filtering Support feature provides the capability for SIP-related debug output to be filtered based on a set of user-defined matching conditions. &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_--_SIP_Debug_Output_Filtering_Support&amp;diff=23888&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_--_SIP_Debug_Output_Filtering_Support&amp;diff=23888&amp;oldid=prev"/>
				<updated>2009-12-17T23:37:53Z</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:37, 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;The SIP Debug Output Filtering Support feature provides the capability for SIP-related debug output to be filtered based on a set of user-defined matching conditions. &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;The SIP Debug Output Filtering Support feature provides the capability for SIP-related debug output to be filtered based on a set of user-defined matching conditions. &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_--_SIP_Debug_Output_Filtering_Support&amp;diff=11533&amp;oldid=prev</id>
		<title>Pzimmerm at 22:43, 5 March 2009</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_SIP_Debug_Output_Filtering_Support&amp;diff=11533&amp;oldid=prev"/>
				<updated>2009-03-05T22:43:23Z</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 22:43, 5 March 2009&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 791:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 791:&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;Timestamp:972881251&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;Timestamp:972881251&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;Content-Length:0&amp;lt;/pre&amp;gt;&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;Content-Length:0&amp;lt;/pre&amp;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 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: #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;[[Category:IOS Voice Troubleshooting]]&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;/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_--_SIP_Debug_Output_Filtering_Support&amp;diff=11297&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_--_SIP_Debug_Output_Filtering_Support&amp;diff=11297&amp;oldid=prev"/>
				<updated>2009-03-05T22:23:00Z</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:23, 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_--_SIP_Debug_Output_Filtering_Support&amp;diff=11296&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_--_SIP_Debug_Output_Filtering_Support&amp;diff=11296&amp;oldid=prev"/>
				<updated>2009-03-05T03:58:06Z</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;The SIP Debug Output Filtering Support feature provides the capability for SIP-related debug output to be filtered based on a set of user-defined matching conditions. &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;
== Restrictions for SIP Debug Output Filtering Support ==&lt;br /&gt;
&lt;br /&gt;
The SIP Debug Output Filtering Support feature filters all enabled bugs, not just SIP bugs.&lt;br /&gt;
&lt;br /&gt;
== Information About SIP Debug Output Filtering Support ==&lt;br /&gt;
&lt;br /&gt;
To configure the SIP Debug Output Filtering Support feature, you should understand the following concepts:&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support#Feature Design of SIP Debug Output Filtering Support|Feature Design of SIP Debug Output Filtering Support]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support#Generic Call Filtering Module|Generic Call Filtering Module]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support#SIP Debug Commands that Support Output Filtering|SIP Debug Commands that Support Output Filtering]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support#Matching Conditions|Matching Conditions]]&lt;br /&gt;
&lt;br /&gt;
=== Feature Design of SIP Debug Output Filtering Support ===&lt;br /&gt;
&lt;br /&gt;
Prior to the SIP Debug Output Filtering Support feature, debugging and troubleshooting on the VoIP gateway was made more challenging by the extensive amounts of raw data generated by debug output. This feature allows the debug output for a SIP call to be filtered according to a variety of criteria. The SIP Debug Output Filtering Support feature provides a generic call filtering mechanism that does the following:&lt;br /&gt;
* Allows you to define a set of matching conditions for filtering calls.&lt;br /&gt;
* Identifies the desired calls based on the configured matching conditions inside VoIP gateways.&lt;br /&gt;
* Coordinates the filtering effort on traced calls between multiple modules inside VoIP gateways.&lt;br /&gt;
* Displays the debugging trace for calls that match the specified conditions.&lt;br /&gt;
&lt;br /&gt;
The SIP Debug Output Filtering Support feature document provides SIP-specific information on the debug filtering design in Cisco IOS gateways implemented by the voice call debug filtering feature. See the [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Call Debug Filtering on Cisco Voice Gateways#Voice Call Debug Filtering on Cisco Voice Gateways|Voice Call Debug Filtering on Cisco Voice Gateways]] for more information.&lt;br /&gt;
&lt;br /&gt;
=== Generic Call Filtering Module ===&lt;br /&gt;
&lt;br /&gt;
Cisco implements the SIP Debug Output Filtering Support feature using the GCFM to identify and track calls based on configured parameters. You can use the command-line interface (CLI) to turn the GCFM on and off. When the GCFM is turned on, only the debug messages for calls that match the filtering conditions are displayed.&lt;br /&gt;
&lt;br /&gt;
The GCFM manages the set of matching condition lists and coordination and tracking of calls between multiple modules within the voice gateway architecture. The SIP module uses the GCFM function to create GUIDs to track individual inbound and outbound SIP calls. Activity in the GCFM can be traced using the '''debug call filter detail''' and '''debug call filter inout '''commands. See the Cisco IOS Debug Command Reference for more information about these debug commands.&lt;br /&gt;
&lt;br /&gt;
=== SIP Debug Commands that Support Output Filtering ===&lt;br /&gt;
* '''debug ccsip all '''&lt;br /&gt;
* '''debug ccsip calls '''&lt;br /&gt;
* '''debug ccsip events '''&lt;br /&gt;
* '''debug ccsip messages '''&lt;br /&gt;
* '''debug ccsip preauth '''&lt;br /&gt;
* '''debug ccsip states '''&lt;br /&gt;
&lt;br /&gt;
See the Cisco IOS Debug Command Reference for more information about SIP debug commands.&lt;br /&gt;
&lt;br /&gt;
{{note|Because of the importance of the messages associated with the '''debug ccsip err '''command, this debug output is not filterable.}}&lt;br /&gt;
&lt;br /&gt;
=== Matching Conditions ===&lt;br /&gt;
&lt;br /&gt;
To filter calls, define a list of matching conditions. The SIP Debug Output Filtering Support feature supports matches based on the following conditions:&lt;br /&gt;
* Incoming calling-number string&lt;br /&gt;
* Incoming called-number string&lt;br /&gt;
* Incoming signaling IPv4 local address&lt;br /&gt;
* Incoming signaling IPv4 remote address&lt;br /&gt;
* Incoming media IPv4 local address&lt;br /&gt;
* Incoming media IPv4 remote address&lt;br /&gt;
* Incoming dial peer&lt;br /&gt;
* Outgoing calling-number string&lt;br /&gt;
* Outgoing called-number string&lt;br /&gt;
* Outgoing signaling IPv4 local address&lt;br /&gt;
* Outgoing signaling IPv4 remote address&lt;br /&gt;
* Outgoing media IPv4 local address&lt;br /&gt;
* Outgoing media IPv4 remote address&lt;br /&gt;
* Outgoing dial peer&lt;br /&gt;
&lt;br /&gt;
The string pattern for calling and called numbers can be either a complete telephone number or a partial telephone number with wildcard digits, represented by a period (.) character. &lt;br /&gt;
&lt;br /&gt;
You can define matching conditions as follows: &lt;br /&gt;
* Exact match-All related debug output is filtered until all conditions in the match list are explicitly met. This option is the best choice for most situations because it produces the most concise output. &lt;br /&gt;
* Partial match-No related debug output is filtered until there is a single explicit match failure. As long as zero or more conditions are met, debug output is not filtered. This choice is useful in debugging call startup problems like digit collection, but is not ideal for many situations because of the large amount of debug output until matches explicitly fail. &lt;br /&gt;
&lt;br /&gt;
See the [[Cisco IOS Voice Troubleshooting and Monitoring -- Voice Call Debug Filtering on Cisco Voice Gateways#Exact and Partial Matching|Exact and Partial Matching]] for more information on matching conditions and filtering voice calls.&lt;br /&gt;
&lt;br /&gt;
== Configuring SIP Debug Filtering ==&lt;br /&gt;
&lt;br /&gt;
This section contains the following procedures: &lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support#Configuring Call Filters|Configuring Call Filters]] (required)&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support#Enabling SIP Debug Output Filtering|Enabling SIP Debug Output Filtering]] (required)&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support#Verifying SIP Debug Output Filtering Support|Verifying SIP Debug Output Filtering Support]] (optional)&lt;br /&gt;
&lt;br /&gt;
=== Configuring Call Filters ===&lt;br /&gt;
&lt;br /&gt;
This task configures the conditions for filtering SIP calls.&lt;br /&gt;
&lt;br /&gt;
==== SUMMARY STEPS ====&lt;br /&gt;
# '''enable'''&lt;br /&gt;
# '''configure''' terminal&lt;br /&gt;
# '''call filter match-list '''''number''''' '''voice'''&lt;br /&gt;
# '''incoming calling-number''' ''string''&lt;br /&gt;
# '''incoming called-number''' ''string''&lt;br /&gt;
# '''incoming signaling '''{'''local''' | '''remote'''} '''ipv4 ip-address'''&lt;br /&gt;
# '''incoming media''' {'''local''' | '''remote'''} '''ipv4 ip-address'''&lt;br /&gt;
# '''incoming dialpeer ''' ''tag''&lt;br /&gt;
# '''outgoing calling-number''' '' string'''&lt;br /&gt;
# '''outgoing called-number ''' ''string''&lt;br /&gt;
# '''outgoing signaling '''{'''local''' | '''remote'''} '''ipv4 ''' ''ip-address''&lt;br /&gt;
# '''outgoing media '''{'''local''' | '''remote'''} '''ipv4 ''' ''ip-address''&lt;br /&gt;
# '''outgoing dialpeer''' ''tag''&lt;br /&gt;
# '''end'''&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;
'''call filter match-list ''''' number '' '''voice'''  &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(config)# call filter match-list 1 voice   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Enters call filter match list configuration mode to define the filter conditions.&lt;br /&gt;
* ''number''-Numeric label that uniquely identifies the match list. Range is 1 to 16.&lt;br /&gt;
&lt;br /&gt;
{{note|At least one of the following optional parameters ([[Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support#Step 4|Step 4]] to [[Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support#Step 13|Step 13]]) for call filtering must be configured.}}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
4.  &lt;br /&gt;
|&lt;br /&gt;
'''incoming calling-number''' '' string ''   &lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(conf-call-filter-mlist)# incoming calling-number &lt;br /&gt;
          408555   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
(Optional) Specifies the incoming calling number to be filtered.&lt;br /&gt;
* ''string''-Numeric string that identifies all or part of the incoming calling number.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
5.  &lt;br /&gt;
|&lt;br /&gt;
'''incoming called-number''' '' string ''   &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(conf-call-filter-mlist)# incoming called-number &lt;br /&gt;
          408555   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
(Optional) Specifies the incoming called number to be filtered.&lt;br /&gt;
* ''string''-Numeric string that identifies all or part of the incoming called number.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
6.  &lt;br /&gt;
|&lt;br /&gt;
  '''incoming signaling '''{'''local''' | '''remote'''}''' ipv4''' '' ip-address '' &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(conf-call-filter-mlist)# incoming signaling local &lt;br /&gt;
          ipv4 192.168.10.255   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
(Optional) Specifies the incoming signaling IPv4 address.&lt;br /&gt;
* '''local'''-Local voice gateway&lt;br /&gt;
* '''remote'''-Remote IP device&lt;br /&gt;
* ''ip-address''-IP address of the local voice gateway.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
7.  &lt;br /&gt;
|&lt;br /&gt;
'''incoming media '''{'''local''' | '''remote'''}''' ipv4''' '' ip-address '' &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(conf-call-filter-mlist)# incoming media local &lt;br /&gt;
          ipv4 192.168.10.255   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
(Optional) Specifies the incoming media IPv4 address for the voice gateway receiving the media stream.&lt;br /&gt;
* '''local'''-Local voice gateway&lt;br /&gt;
* '''remote'''-Remote IP device&lt;br /&gt;
* ''ip-address''-IP address of the local voice gateway. &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
8.  &lt;br /&gt;
|&lt;br /&gt;
'''incoming dialpeer''' '' tag ''   &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(conf-call-filter-mlist)# incoming dialpeer 14   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
(Optional) Specifies the incoming dial peer to be filtered.&lt;br /&gt;
* ''tag''-Digits that define a specific dial peer. Valid entries are 1 to 2147483647.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
9.  &lt;br /&gt;
|&lt;br /&gt;
'''outgoing calling-number''' '' string ''  &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(conf-call-filter-mlist)# outgoing calling-number &lt;br /&gt;
         408555   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
(Optional) Specifies the outgoing calling number to be filtered; this number goes out after number translation and expansion are complete.&lt;br /&gt;
* ''string''-Numeric string that identifies all or part of the outgoing calling number.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
10.  &lt;br /&gt;
|&lt;br /&gt;
'''outgoing called-number''' '' string ''  &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(conf-call-filter-mlist)# outgoing called-number &lt;br /&gt;
         408555   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
(Optional) Specifies the outgoing called number to be filtered; this number goes out after number translation and expansion are complete.&lt;br /&gt;
* ''string''-Numeric string that identifies all or part of the outgoing called number.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
11. &lt;br /&gt;
|&lt;br /&gt;
'''outgoing signaling '''{'''local''' | '''remote'''}''' ipv4''' '' ip-address '' &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(conf-call-filter-mlist)# outgoing signaling local &lt;br /&gt;
         ipv4 192.168.10.255   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
(Optional) Specifies the outgoing signaling IPv4 address for the gatekeeper managing the signaling.&lt;br /&gt;
* '''local'''-Local voice gateway&lt;br /&gt;
* '''remote'''-Remote IP device&lt;br /&gt;
* ''ip-address''-IP address of the local voice gateway.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
12. &lt;br /&gt;
|&lt;br /&gt;
'''outgoing media '''{'''local''' | '''remote'''}''' ipv4''' '' ip-address ''  &lt;br /&gt;
 &lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(conf-call-filter-mlist)# outgoing media local &lt;br /&gt;
        ipv4 192.168.10.255   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
(Optional) Specifies the outgoing media IPv4 address for the voice gateway receiving the media stream.&lt;br /&gt;
* '''local'''-Local voice gateway&lt;br /&gt;
* '''remote'''-Remote IP device&lt;br /&gt;
* ''ip-address''-IP address of the local voice gateway.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
13.  &lt;br /&gt;
|&lt;br /&gt;
'''outgoing dialpeer''' '' tag ''  &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(conf-call-filter-mlist)# outgoing dialpeer 14   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
(Optional) Specifies the outgoing dial peer to be filtered.&lt;br /&gt;
* ''tag''-Digits that define a specific dial peer. Valid entries range from1 to 2147483647.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
14.  &lt;br /&gt;
|&lt;br /&gt;
'''end'''   &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router(conf-call-filter-mlist)# end   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Exits to privileged EXEC mode.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== What to Do Next ====&lt;br /&gt;
&lt;br /&gt;
After the conditions are set for filtering the SIP call debug output, '''debug''' commands can be enabled. Proceed to the &amp;quot;[[Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support#Enabling SIP Debug Output Filtering|Enabling SIP Debug Output Filtering]]&amp;quot; section.&lt;br /&gt;
&lt;br /&gt;
=== Enabling SIP Debug Output Filtering ===&lt;br /&gt;
&lt;br /&gt;
This task enables debug filtering for SIP-related output.&lt;br /&gt;
&lt;br /&gt;
==== Prerequisites ====&lt;br /&gt;
&lt;br /&gt;
The conditions for the SIP call debug filter must be set as described in the [[Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support#Configuring Call Filters|Configuring Call Filters]].&lt;br /&gt;
&lt;br /&gt;
==== SUMMARY STEPS ====&lt;br /&gt;
# '''enable'''&lt;br /&gt;
# '''debug condition match-list''' ''number'' {'''exact-match''' | '''partial-match'''}&lt;br /&gt;
# '''debug ccsip''' {'''all''' | '''calls '''| '''events''' | '''messages''' | '''preauth''' | '''states'''}&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;
'''debug condition match-list number '''{'''exact-match''' | '''partial-match''')  &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router# debug condition match-list 1 &lt;br /&gt;
        exact-match   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Enables the filter match list for the set conditions.&lt;br /&gt;
* ''number''-Numeric label that uniquely identifies the match list. Range is 1 to 16.&lt;br /&gt;
* '''exact-match'''-All related debug output is filtered until all conditions in the match list are explicitly met. This is the best choice for most situations because the output is the most concise.&lt;br /&gt;
* '''partial-match'''-No related debug output is filtered until there is a single explicit match failure. As long as zero or more conditions are met, debug output is not filtered. This choice is useful in debugging call startup problems like digit collection, but is not ideal for many situations because a large amount of debug output is generated before matches explicitly fail.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
3. &lt;br /&gt;
|&lt;br /&gt;
'''debug ccsip '''{'''all '''| '''calls '''|''' events''' | '''messages '''| '''preauth''' |''' states'''}  &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
  Router# debug ccsip all   &lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
Enables the appropriate SIP call debug commands.&lt;br /&gt;
* See the Cisco IOS Debug Command Reference for detailed descriptions of these debug commands.&lt;br /&gt;
* The debug output begins at this point.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Verifying SIP Debug Output Filtering Support ===&lt;br /&gt;
&lt;br /&gt;
Perform this task to verify debug output filtering.&lt;br /&gt;
&lt;br /&gt;
==== SUMMARY STEPS ====&lt;br /&gt;
# '''show debug'''&lt;br /&gt;
# '''show call filter components'''&lt;br /&gt;
# '''show call filter match-list'''&lt;br /&gt;
&lt;br /&gt;
==== DETAILED STEPS ====&lt;br /&gt;
&lt;br /&gt;
1. '''show debug''' &lt;br /&gt;
&lt;br /&gt;
Use this command to display the debugs that are enabled, for example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Router# show debug&lt;br /&gt;
CCSIP SPI:SIP Call Statistics tracing is enabled       (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP Call Message tracing is enabled  (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP Call State Machine tracing is enabled    (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP Call Events tracing is enabled   (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP error debug tracing is enabled   (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP info debug tracing is enabled    (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP media debug tracing is enabled   (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP Call preauth tracing is enabled (filter is ON)&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
2. '''show call filter components''' &lt;br /&gt;
&lt;br /&gt;
Use this command to display which components are registered with the GCFM, the internal module that controls which components are filtered:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;The following components registered in GCFM:&lt;br /&gt;
     ISDN&lt;br /&gt;
     VTSP&lt;br /&gt;
     CCAPI&lt;br /&gt;
     TGRM&lt;br /&gt;
     DIAL-PEER&lt;br /&gt;
     NUMBER-TRANSLATION&lt;br /&gt;
     SSAPP&lt;br /&gt;
     VOICE-IVR-V2&lt;br /&gt;
     H323&lt;br /&gt;
     SIP&lt;br /&gt;
     CRM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. '''show call filter match-list''' &lt;br /&gt;
&lt;br /&gt;
Use this command to display the criteria set for the specified match list. The command shows a list of all the match lists, shows which ones are enabled, and shows whether they are enabled for partial or exact matching.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Router# show call filter match-list&lt;br /&gt;
&lt;br /&gt;
*********************************************&lt;br /&gt;
call filter match-list 1 voice&lt;br /&gt;
*********************************************&lt;br /&gt;
  incoming called-number 5551200&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration Examples for SIP Debug Filtering ==&lt;br /&gt;
&lt;br /&gt;
This section provides the following configuration examples: &lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support#Configuring Call Filters: Example|Configuring Call Filters: Example]]&lt;br /&gt;
* [[Cisco IOS Voice Troubleshooting and Monitoring -- SIP Debug Output Filtering Support#Enabling SIP Debug Output Filtering: Example|Enabling SIP Debug Output Filtering: Example]]&lt;br /&gt;
&lt;br /&gt;
=== Configuring Call Filters: Example ===&lt;br /&gt;
&lt;br /&gt;
The following example shows how to configure call filters. In the example, the Cisco AS5300 configuration defining a match list and specifying the incoming called number to be filtered is shown.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Router# show running-config&lt;br /&gt;
Building configuration...&lt;br /&gt;
Current configuration :3944 bytes&lt;br /&gt;
!&lt;br /&gt;
! Last configuration change at 13:07:08 EST Tue Sep 2 2003&lt;br /&gt;
!&lt;br /&gt;
version 12.3&lt;br /&gt;
no service pad&lt;br /&gt;
service timestamps debug datetime msec localtime&lt;br /&gt;
service timestamps log datetime msec localtime&lt;br /&gt;
no service password-encryption&lt;br /&gt;
service internal&lt;br /&gt;
!&lt;br /&gt;
hostname Router-1&lt;br /&gt;
!&lt;br /&gt;
logging buffered 500000 debugging&lt;br /&gt;
enable password lab&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
resource-pool disable&lt;br /&gt;
clock timezone EST -5&lt;br /&gt;
clock summer-time EST recurring&lt;br /&gt;
!&lt;br /&gt;
no aaa new-model&lt;br /&gt;
ip subnet-zero&lt;br /&gt;
ip domain name cisco.com&lt;br /&gt;
ip host CALLGEN-SECURITY-V2 10.73.75.86 8.52.0.0&lt;br /&gt;
ip name-server 10.44.11.21&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
isdn switch-type primary-dms100&lt;br /&gt;
no scripting tcl init&lt;br /&gt;
no scripting tcl encdir&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
voice call carrier capacity active&lt;br /&gt;
!&lt;br /&gt;
voice service voip &lt;br /&gt;
 no supplementary-service h450.12&lt;br /&gt;
 sip&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
voice class codec 1&lt;br /&gt;
 codec preference 1 g711ulaw&lt;br /&gt;
 codec preference 2 g729r8&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
voice hpi capture buffer 10000&lt;br /&gt;
no voice hpi capture destination &lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
fax interface-type modem&lt;br /&gt;
call-history-mib retain-timer 500&lt;br /&gt;
call-history-mib max-size 500&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
controller T1 0&lt;br /&gt;
 framing esf&lt;br /&gt;
 clock source line primary&lt;br /&gt;
 linecode b8zs&lt;br /&gt;
 pri-group timeslots 1-24&lt;br /&gt;
!&lt;br /&gt;
controller T1 1&lt;br /&gt;
 framing esf&lt;br /&gt;
clock source line secondary 1&lt;br /&gt;
 linecode b8zs&lt;br /&gt;
 pri-group timeslots 1-24&lt;br /&gt;
!&lt;br /&gt;
controller T1 2&lt;br /&gt;
 framing esf&lt;br /&gt;
 linecode b8zs&lt;br /&gt;
 pri-group timeslots 1-24&lt;br /&gt;
!&lt;br /&gt;
controller T1 3&lt;br /&gt;
 framing esf&lt;br /&gt;
 linecode b8zs&lt;br /&gt;
 pri-group timeslots 1-24&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
interface Ethernet0&lt;br /&gt;
 no ip route-cache&lt;br /&gt;
 no ip mroute-cache&lt;br /&gt;
 shutdown&lt;br /&gt;
 no cdp enable&lt;br /&gt;
!&lt;br /&gt;
interface Serial0:23&lt;br /&gt;
 no logging event link-status&lt;br /&gt;
isdn switch-type primary-dms100&lt;br /&gt;
 isdn incoming-voice modem&lt;br /&gt;
 no cdp enable&lt;br /&gt;
!&lt;br /&gt;
interface Serial1:23&lt;br /&gt;
 no logging event link-status&lt;br /&gt;
 isdn switch-type primary-dms100&lt;br /&gt;
 isdn incoming-voice modem&lt;br /&gt;
 no cdp enable&lt;br /&gt;
!&lt;br /&gt;
interface Serial2:23&lt;br /&gt;
 no logging event link-status&lt;br /&gt;
 isdn switch-type primary-dms100&lt;br /&gt;
 isdn incoming-voice modem&lt;br /&gt;
 no cdp enable&lt;br /&gt;
!&lt;br /&gt;
interface Serial3:23&lt;br /&gt;
 isdn switch-type primary-dms100&lt;br /&gt;
 no cdp enable&lt;br /&gt;
!&lt;br /&gt;
interface FastEthernet0&lt;br /&gt;
 ip address 172.18.195.43 255.255.0.0&lt;br /&gt;
 no ip route-cache&lt;br /&gt;
no ip mroute-cache&lt;br /&gt;
 duplex auto&lt;br /&gt;
 speed auto&lt;br /&gt;
 fair-queue 64 256 235&lt;br /&gt;
 no cdp enable&lt;br /&gt;
!&lt;br /&gt;
ip classless&lt;br /&gt;
ip route 0.0.0.0 0.0.0.0 FastEthernet0&lt;br /&gt;
ip route 10.0.0.0 255.0.0.0 172.18.193.3&lt;br /&gt;
ip route 10.0.0.0 255.0.0.0 172.18.195.1&lt;br /&gt;
ip route 172.18.0.0 255.255.0.0 172.18.193.1&lt;br /&gt;
ip http server&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
control-plane&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
call filter match-list 1 voice&lt;br /&gt;
incoming called-number 4085559876&lt;br /&gt;
!&lt;br /&gt;
voice-port 0:D&lt;br /&gt;
!&lt;br /&gt;
voice-port 1:D&lt;br /&gt;
!&lt;br /&gt;
voice-port 2:D&lt;br /&gt;
!&lt;br /&gt;
voice-port 3:D&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
dial-peer cor custom&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
dial-peer voice 1100 pots&lt;br /&gt;
 destination-pattern 55511..&lt;br /&gt;
 direct-inward-dial&lt;br /&gt;
 port 0:D&lt;br /&gt;
 prefix 55511&lt;br /&gt;
!&lt;br /&gt;
dial-peer voice 1200 pots&lt;br /&gt;
 destination-pattern 55512..&lt;br /&gt;
direct-inward-dial&lt;br /&gt;
 port 1:D&lt;br /&gt;
 prefix 55512&lt;br /&gt;
!&lt;br /&gt;
dial-peer voice 444 pots&lt;br /&gt;
 destination-pattern 444....&lt;br /&gt;
 direct-inward-dial&lt;br /&gt;
 port 2:D&lt;br /&gt;
 prefix 444&lt;br /&gt;
!&lt;br /&gt;
dial-peer voice 5100 voip&lt;br /&gt;
 destination-pattern 55551..&lt;br /&gt;
 session protocol sipv2&lt;br /&gt;
 session target ipv4:172.18.207.10:5060&lt;br /&gt;
 dtmf-relay rtp-nte&lt;br /&gt;
 codec g711ulaw&lt;br /&gt;
!&lt;br /&gt;
dial-peer voice 5200 voip&lt;br /&gt;
 destination-pattern 55552..&lt;br /&gt;
 session protocol sipv2&lt;br /&gt;
 session target ipv4:172.18.207.10:5060&lt;br /&gt;
 dtmf-relay rtp-nte&lt;br /&gt;
!&lt;br /&gt;
dial-peer voice 5300 voip&lt;br /&gt;
 destination-pattern 55553..&lt;br /&gt;
 session protocol sipv2&lt;br /&gt;
 session target ipv4:10.0.0.5&lt;br /&gt;
 dtmf-relay rtp-nte&lt;br /&gt;
!&lt;br /&gt;
dial-peer voice 5400 voip&lt;br /&gt;
 destination-pattern 55554..&lt;br /&gt;
 session protocol sipv2&lt;br /&gt;
 session target ipv4:10.0.0.5&lt;br /&gt;
 dtmf-relay rtp-nte&lt;br /&gt;
!&lt;br /&gt;
dial-peer voice 2100 voip&lt;br /&gt;
 destination-pattern 55521..&lt;br /&gt;
 session protocol sipv2&lt;br /&gt;
 session target ipv4:172.18.193.88&lt;br /&gt;
 dtmf-relay rtp-nte&lt;br /&gt;
 codec g711ulaw&lt;br /&gt;
!&lt;br /&gt;
dial-peer voice 2200 voip&lt;br /&gt;
 destination-pattern 55522..&lt;br /&gt;
 session protocol sipv2&lt;br /&gt;
 session target ipv4:172.18.207.10:5060&lt;br /&gt;
dtmf-relay rtp-nte&lt;br /&gt;
!&lt;br /&gt;
gateway &lt;br /&gt;
!&lt;br /&gt;
sip-ua &lt;br /&gt;
 retry invite 3&lt;br /&gt;
 retry response 3&lt;br /&gt;
 retry bye 3&lt;br /&gt;
 retry cancel 3&lt;br /&gt;
 retry prack 3&lt;br /&gt;
 retry comet 3&lt;br /&gt;
 retry rel1xx 3&lt;br /&gt;
 retry notify 3&lt;br /&gt;
 timers trying 750&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
line con 0&lt;br /&gt;
 exec-timeout 0 0&lt;br /&gt;
 transport preferred none&lt;br /&gt;
line aux 0&lt;br /&gt;
line vty 0 4&lt;br /&gt;
 exec-timeout 0 0&lt;br /&gt;
 password lab&lt;br /&gt;
login&lt;br /&gt;
 transport preferred none&lt;br /&gt;
!&lt;br /&gt;
ntp clock-period 17180086&lt;br /&gt;
ntp server 172.68.10.150 prefer&lt;br /&gt;
!&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enabling SIP Debug Output Filtering: Example ===&lt;br /&gt;
&lt;br /&gt;
The following example shows how to enable SIP debug output filtering. In the following example, the match-list configuration, enabled debugs, and debug output for a Cisco AS5300 are shown.&lt;br /&gt;
&lt;br /&gt;
{{note|When the exact match condition is used for SIP call debug filtering, all related debug output is filtered until all conditions in the match list are explicitly met.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Router# debug condition match-list 1 exact-match&lt;br /&gt;
Router# debug ccsip all&lt;br /&gt;
Router# show debug&lt;br /&gt;
CCSIP SPI:SIP Call Statistics tracing is enabled       (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP Call Message tracing is enabled  (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP Call State Machine tracing is enabled    (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP Call Events tracing is enabled   (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP error debug tracing is enabled   (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP info debug tracing is enabled    (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP media debug tracing is enabled   (filter is ON)&lt;br /&gt;
CCSIP SPI:SIP Call preauth tracing is enabled  (filter is ON)&lt;br /&gt;
Router# Debug filtering is now on&lt;br /&gt;
Building configuration...&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
call filter match-list 1 voice&lt;br /&gt;
incoming called-number 4085551221&lt;br /&gt;
!&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following lines show partial debug output with the filter on. Some debug output generated during a call may not have GUID information. These debugs, represented by /xxxxxxxxxxxx/ characters in the debug header, are not filtered and always appear.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Sep  2 13:11:05.395://-1/xxxxxxxxxxxx/SIP/Error/httpish_msg_process_network_msg:Content &lt;br /&gt;
Length 222, Bytes Remaining 233&lt;br /&gt;
Sep  2 13:11:05.395://-1/xxxxxxxxxxxx/SIP/Info/HandleUdpSocketReads:Msg enqueued for SPI &lt;br /&gt;
with IP addr:10.102.16.214:56587&lt;br /&gt;
Sep  2 13:11:05.395://-1/xxxxxxxxxxxx/SIP/Info/sipSPISetDateHeader:Converting TimeZone EST &lt;br /&gt;
to SIP default timezone = GMT&lt;br /&gt;
Sep  2 13:11:05.399://-1/xxxxxxxxxxxx/SIP/Error/sipSPI_validate_own_ip_addr:ReqLine IP &lt;br /&gt;
addr does not match with host IP addr&lt;br /&gt;
Sep  2 13:11:05.399://-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo:Queued event from SIP SPI &lt;br /&gt;
:SIPSPI_EV_SEND_MESSAGE&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next lines show the debug filtering turned off.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Router# no debug condition match-list 1&lt;br /&gt;
Router# show debug&lt;br /&gt;
CCSIP SPI:SIP Call Statistics tracing is enabled       (filter is OFF)&lt;br /&gt;
CCSIP SPI:SIP Call Message tracing is enabled  (filter is OFF)&lt;br /&gt;
CCSIP SPI:SIP Call State Machine tracing is enabled    (filter is OFF)&lt;br /&gt;
CCSIP SPI:SIP Call Events tracing is enabled   (filter is OFF)&lt;br /&gt;
CCSIP SPI:SIP error debug tracing is enabled   (filter is OFF)&lt;br /&gt;
CCSIP SPI:SIP info debug tracing is enabled    (filter is OFF)&lt;br /&gt;
CCSIP SPI:SIP media debug tracing is enabled   (filter is OFF)&lt;br /&gt;
CCSIP SPI:SIP Call preauth tracing is enabled  (filter is OFF)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With filtering turned off, all the debug output is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Sep  2 13:12:31.112://-1/xxxxxxxxxxxx/SIP/Info/HandleUdpSocketReads:Msg enqueued for SPI &lt;br /&gt;
with IP addr:10.102.16.214:56589&lt;br /&gt;
Sep  2 13:12:31.112://-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:&lt;br /&gt;
Received:&lt;br /&gt;
SUBSCRIBE sip:3100802@172.18.193.99:5060 SIP/2.0&lt;br /&gt;
Via:SIP/2.0/UDP  172.18.193.100:5060;branch=z9hG4bK1348&lt;br /&gt;
From:&amp;quot;3100801&amp;quot; &amp;lt;sip:3100801@172.18.193.100&amp;gt;;tag=19AE8-A6C&lt;br /&gt;
To:&amp;lt;sip:3100802@172.18.193.99&amp;gt;;tag=19AE8-A6C&lt;br /&gt;
Date:Mon, 30 Oct 2000 04:47:31 GMT&lt;br /&gt;
Call-ID:96ACB04F-AD5611D4-800894FA-5B905DB@172.18.193.100&lt;br /&gt;
Supported:timer,100rel&lt;br /&gt;
Min-SE: 1800&lt;br /&gt;
Cisco-Guid:2496939846-2908099028-2147680272-2073165500&lt;br /&gt;
User-Agent:Cisco-SIPGateway/IOS-12.x&lt;br /&gt;
Allow:INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO, &lt;br /&gt;
UPDATE&lt;br /&gt;
CSeq:101 SUBSCRIBE&lt;br /&gt;
Max-Forwards:6&lt;br /&gt;
Remote-Party-ID:&amp;lt;sip:3100801@172.18.193.100&amp;gt;;party=calling;screen=no;privacy=off&lt;br /&gt;
Timestamp:972881251&lt;br /&gt;
Contact:&amp;lt;sip:3100801@172.18.193.100:5060&amp;gt;&lt;br /&gt;
Expires:60&lt;br /&gt;
Allow-Events:telephone-event&lt;br /&gt;
Content-Type:application/sdp&lt;br /&gt;
Content-Length:233&lt;br /&gt;
v=0&lt;br /&gt;
o=CiscoSystemsSIP-GW-UserAgent 2904 6070 IN IP4 172.18.193.100&lt;br /&gt;
s=SIP Call&lt;br /&gt;
c=IN IP4 172.18.193.100&lt;br /&gt;
t=0 0&lt;br /&gt;
m=audio 18862 RTP/AVP 18 19&lt;br /&gt;
c=IN IP4 172.18.193.100&lt;br /&gt;
a=rtpmap:18 G729/8000&lt;br /&gt;
a=fmtp:18 annexb=no&lt;br /&gt;
a=rtpmap:19 CN/8000&lt;br /&gt;
a=ptime:20&lt;br /&gt;
Sep  2 13:12:31.112://-1/94D447468003/SIP/State/sipSPIChangeState:0x631570C8 :State change &lt;br /&gt;
from (STATE_NONE, SUBSTATE_NONE)  to (STATE_IDLE, SUBSTATE_NONE)&lt;br /&gt;
Sep  2 13:12:31.112://-1/xxxxxxxxxxxx/SIP/Info/sipSPISetDateHeader:Converting TimeZone EST &lt;br /&gt;
to SIP default timezone = GMT&lt;br /&gt;
Sep  2 13:12:31.116://-1/xxxxxxxxxxxx/SIP/Error/sipSPI_validate_own_ip_addr:ReqLine IP &lt;br /&gt;
addr does not match with host IP addr&lt;br /&gt;
Sep  2 13:12:31.116://-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo:Queued event from SIP SPI &lt;br /&gt;
:SIPSPI_EV_SEND_MESSAGE&lt;br /&gt;
Sep  2 13:12:31.116://-1/94D447468003/SIP/Info/sipmwiEventCleanup:Removing CCB with mwi &lt;br /&gt;
clientID(3100802)&lt;br /&gt;
Sep  2 13:12:31.116://-1/94D447468003/SIP/State/sipSPIChangeState:0x631570C8 :State change &lt;br /&gt;
from (STATE_IDLE, SUBSTATE_NONE)  to (STATE_DEAD, SUBSTATE_NONE)&lt;br /&gt;
Sep  2 13:12:31.116://-1/94D447468003/SIP/Info/ccsip_deregister_call_filter:Deregistering &lt;br /&gt;
call from GCFM&lt;br /&gt;
Sep  2 13:12:31.120://-1/94D447468003/SIP/Info/sipSPIFlushEventBufferQueue:There are 0 &lt;br /&gt;
events on the internal queue that are going to be free'd&lt;br /&gt;
Sep  2 13:12:31.120://-1/94D447468003/SIP/Info/sipSPIUfreeOneCCB:Freeing ccb 631570C8&lt;br /&gt;
Sep  2 13:12:31.120://-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:&lt;br /&gt;
Sent:&lt;br /&gt;
SIP/2.0 489 Bad Event - 'Missing Event:field'&lt;br /&gt;
Via:SIP/2.0/UDP  &lt;br /&gt;
172.18.193.100:5060;branch=z9hG4bK1348;received=10.102.16.214&lt;br /&gt;
From:&amp;quot;3100801&amp;quot; &amp;lt;sip:3100801@172.18.193.100&amp;gt;;tag=19AE8-A6C&lt;br /&gt;
To:&amp;lt;sip:3100802@172.18.193.99&amp;gt;;tag=19AE8-A6C&lt;br /&gt;
Call-ID:96ACB04F-AD5611D4-800894FA-5B905DB@172.18.193.100&lt;br /&gt;
CSeq:101 SUBSCRIBE&lt;br /&gt;
Timestamp:972881251&lt;br /&gt;
Content-Length:0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:IOS Voice Troubleshooting]]&lt;/div&gt;</summary>
		<author><name>Pzimmerm</name></author>	</entry>

	</feed>