cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2140
Views
5
Helpful
7
Replies

How to Capture SIP Traces on Cisco Call Manager

Nitin Kapoor
Level 1
Level 1

Dear All,

I have cisco Call manager and couple of Cisco IP Phone registered on them.

However i need experts advise how to capture the sip traces or any command may be in UDP or whatever format which can confirm me how many digits for Dialed number i am receiving on CME, when i called from Cisco IP Phone which is registered on this CME.

I enabled the below debug logs.

debug voice ccapi

debug inout

debug voice translation

debug translation detail

debug ccsip message

Can you please help me on this. Thank you in advance.

Regards,

Nitin Kapoor

7 Replies 7

Manish Gogna
Cisco Employee
Cisco Employee

Hi Nitin,

The following debugs are sufficient on CME

debug ccsip messages

debug voice ccapi inout

On cucm, you can capture detailed callmanager service traces for the same time stamp using RTMT.

https://supportforums.cisco.com/document/126666/collecting-cucm-traces-cucm-862-tac-sr

You can filter the SIP call trace with Call-ID which is unique for the call.

Manish

Hi Manish,

Thanks for your reply. Is there any method on CLI base to capture 1 call or something?

Regards,

Nitin Kapoor

You can check debugs in the realtime by specifying the last file name

file tail activelog cm/trace/ccm/sdl/filename

The list of trace files can be checked by following command

file list activelog /cm/trace/ccm/sdl date det

Manish

Hi Manish,

I ran these commands in my call manager and none of them are working.

CME_LA#file list activelog /cm/trace/ccm/sdl date det
^
% Invalid input detected at '^' marker.

CME_LA#fi
CME_LA#cd /
CME_LA#cd /c
CME_LA#cd /c
CME_LA#cd /c
CME_LA#cd /c
CME_LA#file li
CME_LA#file li
CME_LA#file li
CME_LA#file li?
% Unrecognized command
CME_LA#file tail activelog cm/trace/ccm/sdl/
^
% Invalid input detected at '^' marker.

CME_LA#fi
CME_LA#file-acct
CME_LA#file-acct
CME_LA#file-acct
CME_LA#file-acct ?
flush File mode accounting flush options
reset Resets file mode accounting

CME_LA#file-acct

You are mentioning callmanager repeatedly, however you are using call manager express. There is a huge difference between these platforms. For callmanager express you can only use the debugs that I mentioned earlier. And a bit of effort in searching and reading about cme from your side will make things easier.

Manish

Also, please looks in google for per call debugging and traffic export. They will be very helpful. Traffic export basically will capture traffic from CME which can open in wireshark

The command provided by Manish is for CUCM not for CME. If you intend to capture debugs on CME ie Cisco Router you need to enable some debugs and one important piece of information logs will propagated what all components/stack involved

if you have SIP endpoint/SIP trunk then debug ccsip messages

if you have SCCP phone then debug sccp etc..

if you have h.323 then accordingly  enable h225 & h245

for what all input and output digit is getting hit or traversing then enabe debug voice ccapi debugs

https://supportforums.cisco.com/document/62906/how-properly-and-safely-collect-debugs-ios-router

follow the above instruction how to collect logs .

HTH

Br,

Nadeem Ahmed

Br, Nadeem Please rate all useful post.