01-15-2016 06:28 PM - edited 03-17-2019 05:31 AM
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
01-15-2016 08:54 PM
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
01-15-2016 08:58 PM
Hi Manish,
Thanks for your reply. Is there any method on CLI base to capture 1 call or something?
Regards,
Nitin Kapoor
01-15-2016 09:04 PM
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
01-15-2016 09:22 PM
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
01-15-2016 11:13 PM
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
01-16-2016 02:37 AM
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
01-16-2016 06:04 AM
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
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