<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>Thank you Peter!</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; ">Additional replies still welcome (there is no such thing as too much information!)! :-)</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; ">Rgds, Mick</div><div></div><div>&nbsp;</div><div><br></div>  <div style="font-family: arial,
 helvetica, sans-serif; font-size: 12pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Peter Olsson &lt;peter.olsson@visionutveckling.se&gt;<br> <b><span style="font-weight: bold;">To:</span></b> FreeSWITCH Users Help &lt;freeswitch-users@lists.freeswitch.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, 5 December 2012, 11:12<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users] Explanation of rtp_audio_in / out fields in XML CDR's?<br> </font> </div> <br><div id="yiv1109919612">

 
 
<style><!--
#yiv1109919612  
 _filtered #yiv1109919612 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv1109919612 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv1109919612  
#yiv1109919612 p.yiv1109919612MsoNormal, #yiv1109919612 li.yiv1109919612MsoNormal, #yiv1109919612 div.yiv1109919612MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
#yiv1109919612 a:link, #yiv1109919612 span.yiv1109919612MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1109919612 a:visited, #yiv1109919612 span.yiv1109919612MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1109919612 p.yiv1109919612MsoAcetate, #yiv1109919612 li.yiv1109919612MsoAcetate, #yiv1109919612 div.yiv1109919612MsoAcetate
        {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;font-family:"Tahoma", "sans-serif";}
#yiv1109919612 p.yiv1109919612MsoListParagraph, #yiv1109919612 li.yiv1109919612MsoListParagraph, #yiv1109919612 div.yiv1109919612MsoListParagraph
        {margin-top:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
#yiv1109919612 span.yiv1109919612yui37217135469703259183
        {}
#yiv1109919612 span.yiv1109919612yui37217135469703259184
        {}
#yiv1109919612 span.yiv1109919612yui37217135469703259186
        {}
#yiv1109919612 span.yiv1109919612yui37217135469703259188
        {}
#yiv1109919612 span.yiv1109919612yui37217135469703259193
        {}
#yiv1109919612 span.yiv1109919612BallongtextChar
        {font-family:"Tahoma", "sans-serif";}
#yiv1109919612 span.yiv1109919612E-postmall24
        {font-family:"Calibri", "sans-serif";color:#1F497D;font-weight:normal;font-style:normal;}
#yiv1109919612 .yiv1109919612MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv1109919612 {margin:70.85pt 70.85pt 70.85pt 70.85pt;}
#yiv1109919612 div.yiv1109919612WordSection1
        {}
#yiv1109919612  
 _filtered #yiv1109919612 {}
 _filtered #yiv1109919612 {}
 _filtered #yiv1109919612 {}
 _filtered #yiv1109919612 {}
 _filtered #yiv1109919612 {}
 _filtered #yiv1109919612 {}
 _filtered #yiv1109919612 {}
 _filtered #yiv1109919612 {}
 _filtered #yiv1109919612 {}
 _filtered #yiv1109919612 {}
#yiv1109919612 ol
        {margin-bottom:0cm;}
#yiv1109919612 ul
        {margin-bottom:0cm;}
--></style>

<div>
<div class="yiv1109919612WordSection1">
<div class="yiv1109919612MsoListParagraph" style=""><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;"><span style="">1)<span style="font:7.0pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;">I guess this is for how many packets that has been skipped for incoming and/or outgoing traffic. For instance, if you get the same packet
 twice with the same timestamp, this would increase the skipped_packet_count.</span></div> 
<div class="yiv1109919612MsoListParagraph" style=""><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;"><span style="">2)<span style="font:7.0pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;">There is no reason that in and out is always the same. For instance, if you mute your phone, it might stop sending RTP frames, but you
 might still receive frames.</span></div> 
<div class="yiv1109919612MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;"> &nbsp;</span></div> 
<div class="yiv1109919612MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;">/Peter</span></div> 
<div class="yiv1109919612MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;"> &nbsp;</span></div> 
<div class="yiv1109919612MsoNormal"><span style="font-size:10.0pt;color:#1F497D;"> &nbsp;</span></div> 
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;">
<div class="yiv1109919612MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;">Från:</span></b><span lang="EN-US" style="font-size:10.0pt;"> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
<b>För </b>Mick Stevens<br>
<b>Skickat:</b> den 5 december 2012 11:54<br>
<b>Till:</b> FreeSWITCH Users Help<br>
<b>Ämne:</b> Re: [Freeswitch-users] Explanation of rtp_audio_in / out fields in XML CDR's?</span></div> 
</div>
</div>
<div class="yiv1109919612MsoNormal"><span lang="EN-US"> &nbsp;</span></div> 
<div>
<div id="yiv1109919612">
<div>
<div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;">Hey Team,</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;"><br>
<br>
</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">Sorry to go on about this, but really keen to understand these RTP fields in the XML CDR's better...</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;"><br>
<br>
</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">1) At the risk of sounding too desperate... Please, please, please can someone explain to me what the&nbsp;&lt;rtp_audio_in_skip_packet_count&gt; &amp;&nbsp;&lt;rtp_audio_out_skip_packet_count&gt; fields
 indicates?</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;"><br>
<br>
</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">2) Also, for example in the extract below, why are the rtp_audio_in &amp; rtp_audio_out bytes / packet counts not the same? Is this a red herring based on some codec interworking issue
 or similar, an indication of packet loss or expected/normal behaviour?</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;"> &nbsp;</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><b><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_raw_bytes&gt;436848&lt;/rtp_audio_in_raw_bytes&gt;</span></b><span style="color:black;"></span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><b><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_media_bytes&gt;436536&lt;/rtp_audio_in_media_bytes&gt;</span></b><span style="color:black;"></span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><b><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_packet_count&gt;2562&lt;/rtp_audio_in_packet_count&gt;</span></b><span style="color:black;"></span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><b><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_media_packet_count&gt;2538&lt;/rtp_audio_in_media_packet_count&gt;</span></b><span style="color:black;"></span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_skip_packet_count&gt;1904&lt;/rtp_audio_in_skip_packet_count&gt;</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_jb_packet_count&gt;0&lt;/rtp_audio_in_jb_packet_count&gt;</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_dtmf_packet_count&gt;0&lt;/rtp_audio_in_dtmf_packet_count&gt;</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_cng_packet_count&gt;24&lt;/rtp_audio_in_cng_packet_count&gt;</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_flush_packet_count&gt;0&lt;/rtp_audio_in_flush_packet_count&gt;</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_largest_jb_size&gt;0&lt;/rtp_audio_in_largest_jb_size&gt;</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><b><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_out_raw_bytes&gt;624570&lt;/rtp_audio_out_raw_bytes&gt;</span></b><span style="color:black;"></span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><b><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_out_media_bytes&gt;624360&lt;/rtp_audio_out_media_bytes&gt;</span></b><span style="color:black;"></span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><b><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_out_packet_count&gt;3645&lt;/rtp_audio_out_packet_count&gt;</span></b><span style="color:black;"></span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><b><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_out_media_packet_count&gt;3630&lt;/rtp_audio_out_media_packet_count&gt;</span></b><span style="color:black;"></span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_out_skip_packet_count&gt;0&lt;/rtp_audio_out_skip_packet_count&gt;</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_out_dtmf_packet_count&gt;0&lt;/rtp_audio_out_dtmf_packet_count&gt;</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_out_cng_packet_count&gt;15&lt;/rtp_audio_out_cng_packet_count&gt;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;"> &nbsp;</span></div> 
</div>
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">Please help!&nbsp;<img id="yiv1109919612_x0000_i1025" src="http://mail.yimg.com/ok/u/assets/img/emoticons/emo1.gif" alt=":) happy"></span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_48">
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp;</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_52">
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;">&nbsp;</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_54">
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;">Rgds, Mick</span><span style="color:black;"></span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_56">
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;">Tel/SMS. +44(0)7967 594432<b><br>
</b>Fax. +44(0)7053 452429</span><span style="color:black;"></span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_58">
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;">Email/IM.
<span class="yiv1109919612MsoHyperlink">mickstevens@yahoo.com</span><br>
Skype: <span class="yiv1109919612MsoHyperlink">mick_stevens</span><br>
<span class="yiv1109919612MsoHyperlink">www.facebook.com/mickstevens</span><br>
<span class="yiv1109919612MsoHyperlink">www.twitter.com/mickstevens</span></span><span style="color:black;"></span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;"> &nbsp;</span></div> 
</div>
<div id="yiv1109919612yui_3_7_2_17_1354697032591_63">
<div>
<div>
<div class="yiv1109919612MsoNormal" align="center" style="text-align:center;background:white;">
<span style="font-size:10.0pt;color:black;">
<hr size="1" width="100%" align="center">
</span></div>
<div class="yiv1109919612MsoNormal" style="background:white;"><b><span style="font-size:10.0pt;color:black;">From:</span></b><span style="font-size:10.0pt;color:black;"> Mick Stevens &lt;<a rel="nofollow" ymailto="mailto:mickstevens@yahoo.com" target="_blank" href="mailto:mickstevens@yahoo.com">mickstevens@yahoo.com</a>&gt;<br>
<b>To:</b> FreeSWITCH Users Help &lt;<a rel="nofollow" ymailto="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;
<br>
<b>Sent:</b> Thursday, 29 November 2012, 20:35<br>
<b>Subject:</b> Re: [Freeswitch-users] Explanation of rtp_audio_in / out fields in XML CDR's?</span><span style="color:black;"></span></div> 
</div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;"> &nbsp;</span></div> 
<div id="yiv1109919612">
<div>
<div>
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;">Hi Michael &amp; &nbsp;Co,</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;"> &nbsp;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">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'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>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;"> &nbsp;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">Yes, now the wiki is back up I've managed to work out that cng_packet = comfort noise generation! Also from the wiki, possibly that the jb in&nbsp;</span><span class="yiv1109919612yui37217135469703259183"><span style="color:black;">rtp_audio_in_jb_packet_count
 &amp;&nbsp;</span></span><span class="yiv1109919612yui37217135469703259184"><span style="color:black;">rtp_audio_in_largest_jb_size = jitter buffer? (apologies if everybody else already knows this!).</span></span><span style="color:black;"></span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;"> &nbsp;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span class="yiv1109919612yui37217135469703259188"><span style="color:black;">To provide the background to my original enquiry, I'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't been lost, just ignored/"skipped"?: If anybody knows please speak up!&nbsp;</span></span><span style="color:black;"><img border="0" id="yiv1109919612_x0000_i1027" src="http://mail.yimg.com/ok/u/assets/img/emoticons/emo1.gif" alt=":) happy"></span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;"> &nbsp;</span></div> 
</div>
<div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_raw_bytes&gt;1565066&lt;/rtp_audio_in_raw_bytes&gt;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_media_bytes&gt;1564856&lt;/rtp_audio_in_media_bytes&gt;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_packet_count&gt;9113&lt;/rtp_audio_in_packet_count&gt;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_media_packet_count&gt;9098&lt;/rtp_audio_in_media_packet_count&gt;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;">&nbsp; &nbsp; </span>
<b><i><u><span style="color:red;background:#E6E6E6;">&lt;rtp_audio_in_skip_packet_count&gt;1609&lt;/rtp_audio_in_skip_packet_count&gt;</span></u></i></b><span style="color:black;"></span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_jb_packet_count&gt;0&lt;/rtp_audio_in_jb_packet_count&gt;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_dtmf_packet_count&gt;0&lt;/rtp_audio_in_dtmf_packet_count&gt;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_cng_packet_count&gt;15&lt;/rtp_audio_in_cng_packet_count&gt;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_flush_packet_count&gt;0&lt;/rtp_audio_in_flush_packet_count&gt;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">&nbsp; &nbsp; &lt;rtp_audio_in_largest_jb_size&gt;0&lt;/rtp_audio_in_largest_jb_size&gt;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;"> &nbsp;</span></div> 
</div>
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">Thank you in anticipation of enlightenment!</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;"> &nbsp;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">#<img border="0" id="yiv1109919612_x0000_i1028" src="http://mail.yimg.com/ok/u/assets/img/emoticons/emo5.gif" alt=":x lovestruck">FreeSWITCH</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;">&nbsp;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;">Rgds, Mick</span><span style="color:black;"></span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;">Tel/SMS. +44(0)7967 594432<b><br>
</b>Fax. +44(0)7053 452429</span><span style="color:black;"></span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;">Email/IM.
<span class="yiv1109919612MsoHyperlink">mickstevens@yahoo.com</span><br>
Skype: <span class="yiv1109919612MsoHyperlink">mick_stevens</span><br>
<span class="yiv1109919612MsoHyperlink">www.facebook.com/mickstevens</span><br>
<span class="yiv1109919612MsoHyperlink">www.twitter.com/mickstevens</span></span><span style="color:black;"></span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;"> &nbsp;</span></div> 
</div>
<div>
<div>
<div>
<div class="yiv1109919612MsoNormal" align="center" style="text-align:center;background:white;">
<span style="font-size:10.0pt;color:black;">
<hr size="1" width="100%" align="center">
</span></div>
<div class="yiv1109919612MsoNormal" style="background:white;"><b><span style="font-size:10.0pt;color:black;">From:</span></b><span style="font-size:10.0pt;color:black;"> Michael Collins &lt;<a rel="nofollow" ymailto="mailto:msc@freeswitch.org" target="_blank" href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;<br>
<b>To:</b> FreeSWITCH Users Help &lt;<a rel="nofollow" ymailto="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;
<br>
<b>Sent:</b> Thursday, 29 November 2012, 19:14<br>
<b>Subject:</b> Re: [Freeswitch-users] Explanation of rtp_audio_in / out fields in XML CDR's?</span><span style="color:black;"></span></div> 
</div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;"> &nbsp;</span></div> 
<div id="yiv1109919612">
<div class="yiv1109919612MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="color:black;">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" target="_blank" href="http://wiki.freeswitch.org/wiki/Mod_xml_cdr">mod_xml_curl wiki page</a>. For the record, here's a quick dump of the fields that I took from an XML CDR:<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_in_raw_bytes&gt;10664&lt;/rtp_audio_in_raw_bytes&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_in_media_bytes&gt;8772&lt;/rtp_audio_in_media_bytes&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_in_packet_count&gt;62&lt;/rtp_audio_in_packet_count&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_in_media_packet_count&gt;51&lt;/rtp_audio_in_media_packet_count&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_in_skip_packet_count&gt;18&lt;/rtp_audio_in_skip_packet_count&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_in_jb_packet_count&gt;0&lt;/rtp_audio_in_jb_packet_count&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_in_dtmf_packet_count&gt;0&lt;/rtp_audio_in_dtmf_packet_count&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_in_cng_packet_count&gt;0&lt;/rtp_audio_in_cng_packet_count&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_in_flush_packet_count&gt;11&lt;/rtp_audio_in_flush_packet_count&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_in_largest_jb_size&gt;0&lt;/rtp_audio_in_largest_jb_size&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_out_raw_bytes&gt;11524&lt;/rtp_audio_out_raw_bytes&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_out_media_bytes&gt;11524&lt;/rtp_audio_out_media_bytes&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_out_packet_count&gt;67&lt;/rtp_audio_out_packet_count&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_out_media_packet_count&gt;67&lt;/rtp_audio_out_media_packet_count&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_out_skip_packet_count&gt;0&lt;/rtp_audio_out_skip_packet_count&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rtp_audio_out_dtmf_packet_count&gt;0&lt;/rtp_audio_out_dtmf_packet_count&gt;<br>
&nbsp;&nbsp;&nbsp; &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'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</span></div> 
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;">On Wed, Nov 28, 2012 at 3:28 AM, Mick Stevens &lt;<a rel="nofollow" ymailto="mailto:mickstevens@yahoo.com" target="_blank" href="mailto:mickstevens@yahoo.com">mickstevens@yahoo.com</a>&gt; wrote:</span></div> 
<div>
<div>
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;">Hi Folks,</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;"> &nbsp;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">I'm trying to use FS XML CDR'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>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;"> &nbsp;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">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's without success.
 The wiki appears to be down at the moment so my apologies if the answer lies there.</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;"> &nbsp;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">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't willing/able to
 replicate the problem in order for a protocol trace to be captured.</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;"> &nbsp;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal"><span style="color:black;">Any help much appreciated!</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;">&nbsp;</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;">Rgds, Mick</span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;">Tel/SMS.
<span class="yiv1109919612MsoHyperlink">+44(0)7967 594432</span><b><br>
</b>Fax. <span class="yiv1109919612MsoHyperlink">+44(0)7053 452429</span></span></div> 
</div>
<div>
<div class="yiv1109919612MsoNormal" style="background:white;"><span style="color:black;">Email/IM.
<span class="yiv1109919612MsoHyperlink">mickstevens@yahoo.com</span><br>
Skype: <span class="yiv1109919612MsoHyperlink">mick_stevens</span><br>
<span class="yiv1109919612MsoHyperlink">www.facebook.com/mickstevens</span><br>
<span class="yiv1109919612MsoHyperlink">www.twitter.com/mickstevens</span></span></div> 
</div>
</div>
</div>
<div class="yiv1109919612MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="color:black;"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" target="_blank" href="http://www.cudatel.com/">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a></span></div> 
</div>
<div class="yiv1109919612MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="color:black;"><br>
<br clear="all">
<br>
-- <br>
Michael S Collins<br>
Twitter: @mercutioviz<br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.FreeSWITCH.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.ClueCon.com</a><br>
<a rel="nofollow" target="_blank" href="http://www.ostag.org/">http://www.OSTAG.org</a><br>
<br>
</span></div> 
</div>
<div class="yiv1109919612MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="color:black;"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" target="_blank" href="http://www.cudatel.com/">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
<br>
</span></div> 
</div>
</div>
</div>
</div>
</div>
<div class="yiv1109919612MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="color:black;"> &nbsp;</span></div> 
</div>
</div>
</div>
</div>
</div>
</div>
<div class="yiv1109919612MsoNormal">!DSPAM:50bf25f932762027524863! </div> 
</div>
</div>

</div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a ymailto="mailto:consulting@freeswitch.org" 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 ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org"
 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><br> </div> </div>  </div></body></html>