<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Verdana Bold";
        panose-1:2 11 8 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Verdana",sans-serif;
        color:black;
        font-weight:normal;
        font-style:normal;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#002060;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Verdana",sans-serif;
        color:#44546A;
        font-weight:normal;
        font-style:normal;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#404040;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Verdana",sans-serif;
        color:#44546A;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#44546A">Thanks Daniel.<o:p></o:p></span></a></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#44546A"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#44546A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#44546A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#383E4C">Best Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif;color:#1F497D"> </span><span style="font-family:"Verdana",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:1.0pt"><span style="font-family:"Verdana Bold";color:#383E4C">Ahmed Abd EL-Rahman<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:1.0pt"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#383E4C">Senior Network Engineer - KSA</span><span style="color:#44546A"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#44546A"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Daniel Pagan [mailto:dpagan@fidelus.com] <br>
<b>Sent:</b> Sunday, November 15, 2015 11:44 PM<br>
<b>To:</b> Ahmed Abd EL-Rahman <Ahmed.Rahman@bmbgroup.com>; Sreekanth Narayanan (sreenara) <sreenara@cisco.com>; cisco-voip@puck.nether.net<br>
<b>Subject:</b> RE: call tracking question<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#404040">Sreekanth: Really enjoyed your LUA scripting video.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#404040"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#404040">Ahmed: Adding to this, you can use the Call-ID header for identifying a specific SIP call flow in the output of debug ccsip messages. The Call-ID header field is a unique identifier for the SIP dialog, which
 means the Call-ID header field for the incoming call-leg will be different from the outgoing call-leg, but persistent for the duration of the dialog (not guaranteed to be the entire call, but more than likely the entire call). There are other unique headers
 fields within SIP, all helpful and used in their own way, but the Call-ID header is very useful for a high-level view of transactions involved in a dialog. For information on SIP signaling, I suggest starting with online articles by Andrew Prokop (google his
 name…). He talks on Avaya platforms but focuses heavily on RFC concepts.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#404040"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#404040">Hope this helps.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#404040">- Dan</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#404040"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> cisco-voip [<a href="mailto:cisco-voip-bounces@puck.nether.net">mailto:cisco-voip-bounces@puck.nether.net</a>]
<b>On Behalf Of </b>Ahmed Abd EL-Rahman<br>
<b>Sent:</b> Sunday, November 15, 2015 6:27 AM<br>
<b>To:</b> Sreekanth Narayanan (sreenara) <<a href="mailto:sreenara@cisco.com">sreenara@cisco.com</a>>;
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> Re: [cisco-voip] call tracking question<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#44546A">Many thanks Sreekanth, really appreciated.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#44546A"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#44546A"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#44546A"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#383E4C">Best Regards</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:1.0pt"><span style="font-family:"Verdana Bold";color:#383E4C">Ahmed Abd EL-Rahman</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:1.0pt"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#383E4C">Senior Network Engineer - KSA</span><o:p></o:p></p>
</div>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Sreekanth Narayanan (sreenara) [<a href="mailto:sreenara@cisco.com">mailto:sreenara@cisco.com</a>]
<br>
<b>Sent:</b> Sunday, November 15, 2015 2:11 PM<br>
<b>To:</b> Ahmed Abd EL-Rahman <<a href="mailto:Ahmed.Rahman@bmbgroup.com">Ahmed.Rahman@bmbgroup.com</a>>;
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> RE: call tracking question<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">You'll firstly need to find the call using the called or calling number, and then you can track it using the Global call identifier in the CCAPI logs.<o:p></o:p></p>
<p class="MsoNormal">For example, in this line:<br>
8261462: Sep 29 14:31:10.720: //640449/14CF2490BDF1/CCAPI/cc_api_call_connected:<br>
   Call Entry(Connected=TRUE, Responsed=TRUE, Retry Count=0)<br>
<br>
14CF2490BDF1 is the GCID. This will remain constant on the call, and you will see 2 different legs (if it is a simple call, and doesn't include conference).<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">640449 is the leg ID. There will be one matching the incoming side, and the other for the outgoing side.<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">You can use Notepad++ or Jedit to highlight the GCID and the leg numbers to track the call then.<o:p></o:p></p>
<p class="MsoNormal">I'd suggest logging all the debugs to the buffer so you don't lose any information. This is a usual template you can use.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Router(config)#service timestamps debug datetime msec<o:p></o:p></p>
<p class="MsoNormal">Router(config)#logging buffered <buffer size> debugging<o:p></o:p></p>
<p class="MsoNormal">Router(config)#service sequence<o:p></o:p></p>
<p class="MsoNormal">Router(config)#no logging rate-limit<o:p></o:p></p>
<p class="MsoNormal">Router#term no mon<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Then output all the logs using show logging command<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#002060"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#002060">Thanks<br>
Sreekanth</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#002060"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#002060"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> cisco-voip [<a href="mailto:cisco-voip-bounces@puck.nether.net">mailto:cisco-voip-bounces@puck.nether.net</a>]
<b>On Behalf Of </b>Ahmed Abd EL-Rahman<br>
<b>Sent:</b> Sunday, November 15, 2015 4:30 PM<br>
<b>To:</b> <a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> [cisco-voip] call tracking question<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black">Hi Gents,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black">If I’m executing debug commands like debug voice ccapi inout and debug csip messages on a voice router and I need to track a certain call among a lot of calls passing
 through the VGW at the same moment, how can I do that ?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#383E4C">Best Regards</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:1.0pt"><span style="font-family:"Verdana Bold";color:#383E4C">Ahmed Abd EL-Rahman</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:1.0pt"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#383E4C">Senior Network Engineer - KSA</span><o:p></o:p></p>
</div>
</body>
</html>