<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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Ballongtext Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        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";}
span.yiv1707630917yui37217135469703259183
        {mso-style-name:yiv1707630917yui_3_7_2_17_1354697032591_83;}
span.yiv1707630917yui37217135469703259184
        {mso-style-name:yiv1707630917yui_3_7_2_17_1354697032591_84;}
span.yiv1707630917yui37217135469703259186
        {mso-style-name:yiv1707630917yui_3_7_2_17_1354697032591_86;}
span.yiv1707630917yui37217135469703259188
        {mso-style-name:yiv1707630917yui_3_7_2_17_1354697032591_88;}
span.yiv1707630917yui37217135469703259193
        {mso-style-name:yiv1707630917yui_3_7_2_17_1354697032591_93;}
span.BallongtextChar
        {mso-style-name:"Ballongtext Char";
        mso-style-priority:99;
        mso-style-link:Ballongtext;
        font-family:"Tahoma","sans-serif";}
span.E-postmall24
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:792750388;
        mso-list-type:hybrid;
        mso-list-template-ids:-486912200 69009425 69009433 69009435 69009423 69009433 69009435 69009423 69009433 69009435;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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="SV" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">1)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";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.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">2)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">/Peter<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Från:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> 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?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div id="yiv1707630917">
<div>
<div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal" style="background:white"><span style="font-family:"Arial","sans-serif";color:black">Hey Team,<o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"><br>
<br>
<o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black">Sorry to go on about this, but really keen to understand these RTP fields in the XML CDR's better...<o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"><br>
<br>
<o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black">1) At the risk of sounding too desperate... Please, please, please can someone explain to me what the <rtp_audio_in_skip_packet_count> & <rtp_audio_out_skip_packet_count> fields
indicates?<o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"><br>
<br>
<o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black">2) Also, for example in the extract below, why are the rtp_audio_in & 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?<o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_in_raw_bytes>436848</rtp_audio_in_raw_bytes></span></b><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_in_media_bytes>436536</rtp_audio_in_media_bytes></span></b><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_in_packet_count>2562</rtp_audio_in_packet_count></span></b><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_in_media_packet_count>2538</rtp_audio_in_media_packet_count></span></b><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_in_skip_packet_count>1904</rtp_audio_in_skip_packet_count><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_in_jb_packet_count>0</rtp_audio_in_jb_packet_count><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_in_dtmf_packet_count>0</rtp_audio_in_dtmf_packet_count><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_in_cng_packet_count>24</rtp_audio_in_cng_packet_count><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_in_flush_packet_count>0</rtp_audio_in_flush_packet_count><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_in_largest_jb_size>0</rtp_audio_in_largest_jb_size><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_out_raw_bytes>624570</rtp_audio_out_raw_bytes></span></b><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_out_media_bytes>624360</rtp_audio_out_media_bytes></span></b><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_out_packet_count>3645</rtp_audio_out_packet_count></span></b><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_out_media_packet_count>3630</rtp_audio_out_media_packet_count></span></b><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_out_skip_packet_count>0</rtp_audio_out_skip_packet_count><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_out_dtmf_packet_count>0</rtp_audio_out_dtmf_packet_count><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"> <rtp_audio_out_cng_packet_count>15</rtp_audio_out_cng_packet_count><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black">Please help! <img id="_x0000_i1025" src="http://mail.yimg.com/ok/u/assets/img/emoticons/emo1.gif" alt=":) happy"><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_48">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_52">
<p class="MsoNormal" style="background:white"><span style="font-family:"Arial","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_54">
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Rgds, Mick</span><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_56">
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Tel/SMS. +44(0)7967 594432<b><br>
</b>Fax. +44(0)7053 452429</span><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_58">
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Email/IM.
<span class="MsoHyperlink">mickstevens@yahoo.com</span><br>
Skype: <span class="MsoHyperlink">mick_stevens</span><br>
<span class="MsoHyperlink">www.facebook.com/mickstevens</span><br>
<span class="MsoHyperlink">www.twitter.com/mickstevens</span></span><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div id="yiv1707630917yui_3_7_2_17_1354697032591_63">
<div>
<div>
<div class="MsoNormal" align="center" style="text-align:center;background:white">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">
<hr size="1" width="100%" align="center">
</span></div>
<p class="MsoNormal" style="background:white"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">From:</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black"> Mick Stevens <<a href="mailto:mickstevens@yahoo.com">mickstevens@yahoo.com</a>><br>
<b>To:</b> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>>
<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"><o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="background:white"><span style="color:black"><o:p> </o:p></span></p>
<div id="yiv1707630917">
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Arial","sans-serif";color:black">Hi Michael & Co,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black">Many thanks for the prompt & positive response! Yes, more than happy to collate feedback from the global team & update the wiki accordingly (I'd like to be able to document what
the field values between the > < indicate as well as just explain the field names if possible...) +anything else I can do to to contribute to the project...?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";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 </span><span class="yiv1707630917yui37217135469703259183"><span style="color:black">rtp_audio_in_jb_packet_count
& </span></span><span class="yiv1707630917yui37217135469703259184"><span style="color:black">rtp_audio_in_largest_jb_size = jitter buffer? (apologies if everybody else already knows this!).</span></span><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span class="yiv1707630917yui37217135469703259188"><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! </span></span><span style="color:black"><img border="0" id="_x0000_i1027" src="http://mail.yimg.com/ok/u/assets/img/emoticons/emo1.gif" alt=":) happy"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:black"> <rtp_audio_in_raw_bytes>1565066</rtp_audio_in_raw_bytes><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <rtp_audio_in_media_bytes>1564856</rtp_audio_in_media_bytes><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <rtp_audio_in_packet_count>9113</rtp_audio_in_packet_count><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <rtp_audio_in_media_packet_count>9098</rtp_audio_in_media_packet_count><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="color:black"> </span>
<b><i><u><span style="color:red;background:#E6E6E6"><rtp_audio_in_skip_packet_count>1609</rtp_audio_in_skip_packet_count></span></u></i></b><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <rtp_audio_in_jb_packet_count>0</rtp_audio_in_jb_packet_count><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <rtp_audio_in_dtmf_packet_count>0</rtp_audio_in_dtmf_packet_count><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <rtp_audio_in_cng_packet_count>15</rtp_audio_in_cng_packet_count><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <rtp_audio_in_flush_packet_count>0</rtp_audio_in_flush_packet_count><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <rtp_audio_in_largest_jb_size>0</rtp_audio_in_largest_jb_size><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Thank you in anticipation of enlightenment!<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black">#<img border="0" id="_x0000_i1028" src="http://mail.yimg.com/ok/u/assets/img/emoticons/emo5.gif" alt=":x lovestruck">FreeSWITCH<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Arial","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Rgds, Mick</span><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Tel/SMS. +44(0)7967 594432<b><br>
</b>Fax. +44(0)7053 452429</span><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Email/IM.
<span class="MsoHyperlink">mickstevens@yahoo.com</span><br>
Skype: <span class="MsoHyperlink">mick_stevens</span><br>
<span class="MsoHyperlink">www.facebook.com/mickstevens</span><br>
<span class="MsoHyperlink">www.twitter.com/mickstevens</span></span><span style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<div>
<div>
<div class="MsoNormal" align="center" style="text-align:center;background:white">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">
<hr size="1" width="100%" align="center">
</span></div>
<p class="MsoNormal" style="background:white"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">From:</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black"> Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>><br>
<b>To:</b> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>>
<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"><o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="background:white"><span style="color:black"><o:p> </o:p></span></p>
<div id="yiv1707630917">
<p class="MsoNormal" 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 href="http://wiki.freeswitch.org/wiki/Mod_xml_cdr" target="_blank">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>
<rtp_audio_in_raw_bytes>10664</rtp_audio_in_raw_bytes><br>
<rtp_audio_in_media_bytes>8772</rtp_audio_in_media_bytes><br>
<rtp_audio_in_packet_count>62</rtp_audio_in_packet_count><br>
<rtp_audio_in_media_packet_count>51</rtp_audio_in_media_packet_count><br>
<rtp_audio_in_skip_packet_count>18</rtp_audio_in_skip_packet_count><br>
<rtp_audio_in_jb_packet_count>0</rtp_audio_in_jb_packet_count><br>
<rtp_audio_in_dtmf_packet_count>0</rtp_audio_in_dtmf_packet_count><br>
<rtp_audio_in_cng_packet_count>0</rtp_audio_in_cng_packet_count><br>
<rtp_audio_in_flush_packet_count>11</rtp_audio_in_flush_packet_count><br>
<rtp_audio_in_largest_jb_size>0</rtp_audio_in_largest_jb_size><br>
<rtp_audio_out_raw_bytes>11524</rtp_audio_out_raw_bytes><br>
<rtp_audio_out_media_bytes>11524</rtp_audio_out_media_bytes><br>
<rtp_audio_out_packet_count>67</rtp_audio_out_packet_count><br>
<rtp_audio_out_media_packet_count>67</rtp_audio_out_media_packet_count><br>
<rtp_audio_out_skip_packet_count>0</rtp_audio_out_skip_packet_count><br>
<rtp_audio_out_dtmf_packet_count>0</rtp_audio_out_dtmf_packet_count><br>
<rtp_audio_out_cng_packet_count>0</rtp_audio_out_cng_packet_count><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<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="color:black">On Wed, Nov 28, 2012 at 3:28 AM, Mick Stevens <<a href="mailto:mickstevens@yahoo.com" target="_blank">mickstevens@yahoo.com</a>> wrote:<o:p></o:p></span></p>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Arial","sans-serif";color:black">Hi Folks,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";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 & media bytes being nearly equal looks
like a good sign) but am wondering about the skip, cng & flush fields for example?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black">I have tried Googling this & can find evidence of other people having asked this question but not of the answer. I have also checked my FS 106 & Cookbook book's without success.
The wiki appears to be down at the moment so my apologies if the answer lies there.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";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.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:black">Any help much appreciated!<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Arial","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Arial","sans-serif";color:black">Rgds, Mick<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Arial","sans-serif";color:black">Tel/SMS.
<span class="MsoHyperlink">+44(0)7967 594432</span><b><br>
</b>Fax. <span class="MsoHyperlink">+44(0)7053 452429</span><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Arial","sans-serif";color:black">Email/IM.
<span class="MsoHyperlink">mickstevens@yahoo.com</span><br>
Skype: <span class="MsoHyperlink">mick_stevens</span><br>
<span class="MsoHyperlink">www.facebook.com/mickstevens</span><br>
<span class="MsoHyperlink">www.twitter.com/mickstevens</span><o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="color:black"><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><o:p></o:p></span></p>
</div>
<p class="MsoNormal" 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 href="http://www.freeswitch.org/" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.cluecon.com/" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.ostag.org/" target="_blank">http://www.OSTAG.org</a><br>
<br>
<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="color:black"><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>
<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal">!DSPAM:50bf25f932762027524863! <o:p></o:p></p>
</div>
</body>
</html>