Solved

ISR Debug Recommendation Cisco Telephony

Posted on 2013-12-24
2
939 Views
Last Modified: 2013-12-25
I have a site where every 10 days or so I start getting complaints that outbound dialing is failing.  Typically the far end never starts ringing.  And its inconsistent.  Some folks are dialing ok but others not.  CPU and memory are fine.  I don't see the router under any kind of DOS attack.  I would like to just syslog some kind of debug to troubleshoot this better at the next occurance.  What level of debug would be recommended?  It uses SIP to communicate with the PSTN provider.  And internally it is a SIP trunk (CUCM sees it as a SIP voice trunk at a particular IP address.  Not an MGCP gateway or other.)  Currently I am running debug ccsip messages and the CPU is staying at a comfortable 5% with a very occasional brief peak to 25% or so.
0
Comment
Question by:amigan_99
2 Comments
 
LVL 61

Accepted Solution

by:
btan earned 500 total points
Comment Utility
I am not totally savvy in voip but hopefully these augment your current effort with use workflow below so that you can isolate the issue:
1. Call Flow between PBX to Cisco SIP IP Phone—Successful Setup and Disconnect
2. Call flow between Gateway-to-Cisco SIP IP Phone Call—Successful Call Setup and Call Hold
3. Call flow between Cisco SIP IP Phone-to-Cisco SIP IP Phone Simple Call Hold

Typically the full trace of your test call are recorded using
-debug ccsip messages
-debug voip rtp session named-event

Cisco IOS Voice Troubleshooting and Monitoring -- Cisco SIP Gateway Troubleshooting
http://docwiki.cisco.com/wiki/Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Cisco_SIP_Gateway_Troubleshooting

Troubleshoot a SIP Call Between Two Endpoints - provides an explanation on the output of the debug ccsip messages command for troubleshooting SIP call failures.
http://www.cisco.com/en/US/tech/tk652/tk701/technologies_configuration_example09186a0080672b8b.shtml

Basic SIP Call Flows & Troubleshooting Commands
https://supportforums.cisco.com/docs/DOC-18196

DISSECTING A SIP TRACE (as below), include (further down in that article threads discusssion) PSTN-------->ITSP------->CUBE--------------->CUCM---------------->IP PHONE
https://supportforums.cisco.com/docs/DOC-27105

Finally the call is ended. Now when troubleshooting the direction of call termination is important. In this case we can see that the CUBE receives a BYE, which is the sip method for call termination. However who sent the BYE, is it CUCM or ITSP…The answer is in the Call-ID. As we call can see the CALL-ID is for the leg from the ITSP. So we see that the call was terminated from the ITSP side.

Some problem shared in forum include

Problem was that my incoming dial-peer from CUCM was set to use G729r8 and my outgoing SIP dial-peer was set to use G729br8 ,so the router was trying to transcode ,don`t know how i missed this. ...

You are sending DTMF with PT 97, that is payload type 97. However in your SDP extensions, there are no attribiutes for this Payload type.
ACCDMM-VGW01(config-dial-peer)#rtp payload-type nte 97
ERROR: value 97 in use!
Do the ff: rtp payload-type cisco-codec-fax-ack 98
 then do this again and test rtp payload-type nte 97

on the outbound direction...
The advertised codec to ITSP will be used, beacuse ITSP is the one making decision which codec to use based on advertised codec.So here with voice class codec, the preffered codec in the list will be selected by the ITSP and this will be used for the call regardless of what the region setting is on the phone to the cube gateway.
if the codec is hardcoded..if its set to g711, then g711 response will be obtained from the ITSP and that codec will be used for the call.

So the outbound leg is independent of the region settings beacuse it is the far end that is choosing
what codec to use for the call.
 
So in both cases the codec selected by the far end will determine what codec is used for the call
Inbound leg, far end is CUCM..region takes effect
outbound leg, far end is ITSP, prefered codec in advertised codec will take effect..Simples!
 
So if you want to choose a codec for your outbound leg, you have to either set it as preferred in your voice class list or hardcode it such that it is the codec been advertised as the prefferd to your ITSP
0
 
LVL 1

Author Closing Comment

by:amigan_99
Comment Utility
This is really an outstanding answer.  Wish I could rate Excellent Plus!  Thank you.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Hi there, This article summarizes what you need if you are going to set up your home or small business Network Attached Storage (NAS) to be accessible from the internet. Of course there are configuration differences based on your NAS or router ma…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now