Debug SIP with a Debug Condition List

Configure a Debug Condition List based on the filters below


Click here for sample data

Quick and Dirty


debug condition called [[Called Number]] debug condition calling [[Calling Number]] debug condition ip [[IP Address]] show call filter match-list show debug condition debug ccsip all debug ccsip calls debug ccsip events debug ccsip messages debug ccsip preauth debug ccsip states debug h225 q931

Using a call filter list


enable configure terminal

Incoming


call filter match-list [[Debug Condition List #]] voice incoming calling-number [[Calling Number]] call filter match-list [[Debug Condition List #]] voice incoming called-number [[Called Number]] call filter match-list [[Debug Condition List #]] voice incoming signaling {local | remote} ipv4 [[IP Address]] call filter match-list [[Debug Condition List #]] voice incoming media {local | remote} ipv4 [[IP Address]] call filter match-list [[Debug Condition List #]] voice incoming dialpeer [[Dial-Peer Tag]]

Outgoing


call filter match-list [[Debug Condition List #]] voice outgoing calling-number [[Calling Number]] call filter match-list [[Debug Condition List #]] voice outgoing called-number [[Called Number]] call filter match-list [[Debug Condition List #]] voice outgoing signaling {local | remote} ipv4 [[IP Address]] call filter match-list [[Debug Condition List #]] voice outgoing media {local | remote} ipv4 [[IP Address]] call filter match-list [[Debug Condition List #]] voice outgoing dialpeer [[Dial-Peer Tag]]

Activate the Debug Condition List


!-- Exit Config Mode end debug condition match-list [[Debug Condition List #]] {exact-match | partial-match}

Issue a debug ccsip command


debug ccsip all debug ccsip calls debug ccsip events debug ccsip messages debug ccsip preauth debug ccsip states

Source


Cisco DocWiki



Called Number:
Calling Number:
IP Address:
Debug Condition List #:
Dial-Peer Tag:


Use this code to post the full script to your own page:



Use this code to post only the variables to your own page: