07-15-2015 11:22 AM - edited 03-17-2019 03:39 AM
Hello All,
Currently, I have debugging turned-on on our SIP Gateway, which is a Cisco 2911 running IOS 15.2(4)M3.
These debugs are turned-on:
CCAPI:
debug voip ccapi inout is ON (filter is OFF)
CCSIP SPI:
SIP Call Message tracing is enabled (filter is OFF)
I was wondering if there is any kind of Key or ID value that can be used to matchup which ccsip messages go with which ccapi output for each specific call. Because when lots of calls are coming in at once it gets kind of unorganized and it's hard to tell which ccapi output is for which SIP call.
Any thoughts or suggestions would be greatly appreciated!
Thanks in Advance,
Matt
07-15-2015 12:04 PM
You can create debug conditions to match specific calls using calling number, called number, etc. There are many conditions for different protocols.
example:
call filter match-list 1 voice
outgoing called-number 001886.+
!
debug condition match-list 1 exact-match
debug ccsip messages
debug voice ccapi all
07-15-2015 12:15 PM
Hey Mohammed, thanks for the reply.
Ok, gotcha. I'll give that a try. Do I setup the filter before I enable the debugging, or does that not matter..?
So, "call filter match-list 1 voice" is just the Name for the filter and "outgoing called-number 001886.+" is the actual Filter?
Thanks again for the reply, much appreciated!
Thanks,
Matt
07-15-2015 12:22 PM
Doesn't matter when to configure. Your understanding for the commands is correct
07-15-2015 03:46 PM
So I have this below configured for the filter:
=====================================
# show run | sec match-list
call filter match-list 1 voice
incoming calling-number 1112223333
incoming called-number 4445556666
!
!
=====================================
I am calling from "1112223333" and I am dialing "4445556666"...
And I have this debugging turned-on:
=====================================
# debug condition match 1 exact
# show debugging
CCAPI:
debug voip ccapi inout is ON (filter is ON)
CCSIP SPI: SIP Call Message tracing is enabled (filter is ON)
=====================================
Now, when I start watching the logs I am still seeing what looks like every call still coming through to the log. Is there something I am missing here?
I assume unless a call has that exact calling number and called number from the filter I configured, then it should not show in the log, what am I doing wrong..?
Thanks Again for the replies!
Thanks,
Matt
07-15-2015 04:14 PM
Wow, that is an amazing piece of information (+5)
Regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide