jb will indeed be jitterbuffer, but not sure what it&#39;ll mean. Discarded by jb, or left in jb at end of call maybe? Perhaps grepping the source for the tag name&#39;ll shed some light.<div><br></div><div>I believe that skip <i>may</i> be packets ignored because FS isn&#39;t ready to receive them yet. Eg receiving RTP on a call where nothing&#39;s consuming it, or on a bridged call that hasn&#39;t been answered yet.</div>

<div><br></div><div>But this is guesswork...</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 29 November 2012 20:35, Mick Stevens <span dir="ltr">&lt;<a href="mailto:mickstevens@yahoo.com" target="_blank">mickstevens@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif"><div><span>Hi Michael &amp;  Co,</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">

<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif"><span>Many thanks for the prompt &amp; positive response! Yes, more than happy to collate feedback from the global team &amp; update the wiki accordingly (I&#39;d like to be able to document what the field values between the &gt; &lt; indicate as well as just explain the field names if possible...) +anything else I can do to to contribute to the project...?</span></div>

<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">

<span>Yes, now the wiki is back up I&#39;ve managed to work out that cng_packet = comfort noise generation! Also from the wiki, possibly that the jb in </span><span style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">rtp_audio_in_jb_packet_count &amp; </span><span style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">rtp_audio_in_largest_jb_size = jitter buffer? (apologies if everybody else already knows this!).</span></div>

<div style="font-style:normal;font-size:12pt;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"><br>

</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">To provide the background to my original enquiry, I&#39;m trying to identify if the rtp_audio_in_skip_packet_count in the following XML CDR extract is indicative of packet loss, or perhaps more accurately noticeable audio loss (as the packets haven&#39;t been lost, just ignored/&quot;skipped&quot;?: If anybody knows please speak up! </span><img alt=":) happy" style="font-family:arial,helvetica,sans-serif;font-size:12pt"></div>

<div style="font-style:normal;font-size:12pt;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span><br></span></div><div style="font-size:16px;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">

<span style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"><div style="font-style:normal;background-color:transparent">    &lt;rtp_audio_in_raw_bytes&gt;1565066&lt;/rtp_audio_in_raw_bytes&gt;</div>

<div style="font-style:normal;background-color:transparent">    &lt;rtp_audio_in_media_bytes&gt;1564856&lt;/rtp_audio_in_media_bytes&gt;</div><div style="font-style:normal;background-color:transparent">    &lt;rtp_audio_in_packet_count&gt;9113&lt;/rtp_audio_in_packet_count&gt;</div>

<div style="font-style:normal;background-color:transparent">    &lt;rtp_audio_in_media_packet_count&gt;9098&lt;/rtp_audio_in_media_packet_count&gt;</div><div><span style="background-color:transparent">    </span><span style="font-weight:bold;text-decoration:underline;font-style:italic;background-color:rgb(230,230,230);color:rgb(255,0,0)">&lt;rtp_audio_in_skip_packet_count&gt;1609&lt;/rtp_audio_in_skip_packet_count&gt;</span></div>

<div class="im"><div style="font-style:normal;background-color:transparent">    &lt;rtp_audio_in_jb_packet_count&gt;0&lt;/rtp_audio_in_jb_packet_count&gt;</div><div style="font-style:normal;background-color:transparent">
    &lt;rtp_audio_in_dtmf_packet_count&gt;0&lt;/rtp_audio_in_dtmf_packet_count&gt;</div>
</div><div style="font-style:normal;background-color:transparent">    &lt;rtp_audio_in_cng_packet_count&gt;15&lt;/rtp_audio_in_cng_packet_count&gt;</div><div style="font-style:normal;background-color:transparent">   
 &lt;rtp_audio_in_flush_packet_count&gt;0&lt;/rtp_audio_in_flush_packet_count&gt;</div><div style="font-style:normal;background-color:transparent">    &lt;rtp_audio_in_largest_jb_size&gt;0&lt;/rtp_audio_in_largest_jb_size&gt;</div>

<div style="font-style:normal;background-color:transparent"><br></div></span></div><div style="font-style:normal;font-size:12pt;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">

Thank you in anticipation of enlightenment!</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">

<span>#</span><img alt=":x lovestruck" style="font-size:12pt">FreeSWITCH</div><div class="im"><div></div><div> </div><div><font face="arial, helvetica, sans-serif">Rgds, Mick</font></div><div><font face="arial, helvetica, sans-serif">Tel/SMS. <a href="tel:%2B44%280%297967%20594432" value="+447967594432" target="_blank">+44(0)7967 594432</a><span style="font-weight:bold"><br>

</span>Fax. <a href="tel:%2B44%280%297053%20452429" value="+447053452429" target="_blank">+44(0)7053 452429</a></font><font><span style="font-size:18px;color:rgb(0,51,102);font-weight:bold"></span><br></font></div><div><font face="arial, helvetica, sans-serif">Email/IM. </font><font><a rel="nofollow"><font face="arial, helvetica, sans-serif">mickstevens@yahoo.com</font></a><br>

Skype: <a rel="nofollow">mick_stevens</a><br><a rel="nofollow">www.facebook.com/mickstevens</a><br><a rel="nofollow">www.twitter.com/mickstevens</a></font><br></div><div><br></div>  </div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">


 <div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"> <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Michael Collins &lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;<br>

 <b><span style="font-weight:bold">To:</span></b> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt; <br> <b><span style="font-weight:bold">Sent:</span></b> Thursday, 29 November 2012, 19:14<br>

 <b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-users] Explanation of rtp_audio_in / out fields in XML CDR&#39;s?<br> </font> </div><div><div class="h5"> <br><div>Mick,<br><br>This data is definitely not on the wiki - or anywhere else that I can see. I think we can crowdsource this to get the info collected and then add it to the <a rel="nofollow" href="http://wiki.freeswitch.org/wiki/Mod_xml_cdr" target="_blank">mod_xml_curl wiki page</a>. For the record, here&#39;s a quick dump of
 the fields that I took from an XML CDR:<br>
<br>    &lt;rtp_audio_in_raw_bytes&gt;10664&lt;/rtp_audio_in_raw_bytes&gt;<br>    &lt;rtp_audio_in_media_bytes&gt;8772&lt;/rtp_audio_in_media_bytes&gt;<br>    &lt;rtp_audio_in_packet_count&gt;62&lt;/rtp_audio_in_packet_count&gt;<br>


    &lt;rtp_audio_in_media_packet_count&gt;51&lt;/rtp_audio_in_media_packet_count&gt;<br>    &lt;rtp_audio_in_skip_packet_count&gt;18&lt;/rtp_audio_in_skip_packet_count&gt;<br>    &lt;rtp_audio_in_jb_packet_count&gt;0&lt;/rtp_audio_in_jb_packet_count&gt;<br>


    &lt;rtp_audio_in_dtmf_packet_count&gt;0&lt;/rtp_audio_in_dtmf_packet_count&gt;<br>    &lt;rtp_audio_in_cng_packet_count&gt;0&lt;/rtp_audio_in_cng_packet_count&gt;<br>    &lt;rtp_audio_in_flush_packet_count&gt;11&lt;/rtp_audio_in_flush_packet_count&gt;<br>


    &lt;rtp_audio_in_largest_jb_size&gt;0&lt;/rtp_audio_in_largest_jb_size&gt;<br>    &lt;rtp_audio_out_raw_bytes&gt;11524&lt;/rtp_audio_out_raw_bytes&gt;<br>    &lt;rtp_audio_out_media_bytes&gt;11524&lt;/rtp_audio_out_media_bytes&gt;<br>


    &lt;rtp_audio_out_packet_count&gt;67&lt;/rtp_audio_out_packet_count&gt;<br>    &lt;rtp_audio_out_media_packet_count&gt;67&lt;/rtp_audio_out_media_packet_count&gt;<br>    &lt;rtp_audio_out_skip_packet_count&gt;0&lt;/rtp_audio_out_skip_packet_count&gt;<br>


    &lt;rtp_audio_out_dtmf_packet_count&gt;0&lt;/rtp_audio_out_dtmf_packet_count&gt;<br>    &lt;rtp_audio_out_cng_packet_count&gt;0&lt;/rtp_audio_out_cng_packet_count&gt;<br><br>I think raw_bytes, media_bytes, packet_count, and media_packet_count are self-explanatory. I think cng_packet_count is probably self-explanatory too. My question on dtmf_packet_count would be whether it&#39;s only for RFC2833 packets (I suspect yes, but would like confirmation). <br>


<br>If anyone knows these please reply to this email and Mick and I will get them documented on the wiki (right Mick? ;)<br><br>rtp_audio_in_skip_packet_count<br>rtp_audio_out_skip_packet_count<br>rtp_audio_in_jb_packet_count<br>


rtp_audio_in_flush_packet_count<br>rtp_audio_in_largest_jb_size<br><br>Thanks all!<br><br>-MC<br><br><div>On Wed, Nov 28, 2012 at 3:28 AM, Mick Stevens <span dir="ltr">&lt;<a rel="nofollow" href="mailto:mickstevens@yahoo.com" target="_blank">mickstevens@yahoo.com</a>&gt;</span> wrote:<br>


<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif"><div><span>Hi Folks,</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">


<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif"><span>I&#39;m trying to use FS XML CDR&#39;s to diagnose historic audio problems. I think I can work out some of the rtp_audio_in / out fields (raw bytes &amp; media bytes being nearly equal looks like a good sign) but am wondering about the skip, cng &amp; flush fields for example?</span></div>


<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">


<span>I have tried Googling this &amp; can find evidence of other people having asked this question but not of the answer. I have also checked my FS 106 &amp; Cookbook book&#39;s without success. The wiki appears to be down at the moment so my apologies if the answer lies there.</span></div>


<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">


<span>I know how to do this in real time using wireshark etc but am interested in being able to do some analysis on historic problems reported by customers that aren&#39;t willing/able to replicate the problem in order for a protocol trace to be
 captured.</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">


<span>Any help much appreciated!</span></div><div></div><div> </div><div><font face="arial, helvetica, sans-serif">Rgds, Mick</font></div><div><font face="arial, helvetica, sans-serif">Tel/SMS. <a rel="nofollow">+44(0)7967 594432</a><span style="font-weight:bold"><br>


</span>Fax. <a rel="nofollow">+44(0)7053 452429</a></font><font><span style="font-size:18px;color:rgb(0,51,102);font-weight:bold"></span><br></font></div><div><font face="arial, helvetica, sans-serif">Email/IM. </font><font><a rel="nofollow"><font face="arial, helvetica, sans-serif">mickstevens@yahoo.com</font></a><br>


Skype: <a rel="nofollow">mick_stevens</a><br><a rel="nofollow">www.facebook.com/mickstevens</a><br><a rel="nofollow">www.twitter.com/mickstevens</a></font><br></div></div></div><br>_________________________________________________________________________<br>



Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a rel="nofollow" href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a rel="nofollow" href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a rel="nofollow" href="http://www.freeswitch.org/" target="_blank">http://www.FreeSWITCH.org</a><br><a rel="nofollow" href="http://www.cluecon.com/" target="_blank">http://www.ClueCon.com</a><br>


<a rel="nofollow" href="http://www.ostag.org/" target="_blank">http://www.OSTAG.org</a><br><br><br>
</div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>

<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>

<br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>

<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>

UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>

<br><br> </div></div></div> </div>  </div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>