Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ISR Debug Recommendation Cisco Telephony

Posted on 2013-12-24
2
Medium Priority
?
1,076 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 65

Accepted Solution

by:
btan earned 2000 total points
ID: 39739026
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
ID: 39739234
This is really an outstanding answer.  Wish I could rate Excellent Plus!  Thank you.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
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…
Suggested Courses

618 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