Jump to content

MOS Scores in CDR


Josh Robbins

Recommended Posts

  • 3 weeks later...
  • 2 weeks later...

If peer host is supports, then FS daemon can receive RTP statistics from remote end.

This will allow you get RTP statistic for both direction. For inbound RTP stream FS count statistic by self. For outbound RTP stream FS use statistic from remote end.

You can get RTCP statistic by catching channel reporting FS event. Part of example of RTCP FS stat (used mod_format_cdr

  <call-stats>
    <audio>
      <inbound>
        <raw_bytes>219128</raw_bytes>
        <media_bytes>219128</media_bytes>
        <packet_count>1274</packet_count>
        <media_packet_count>1274</media_packet_count>
        <skip_packet_count>2</skip_packet_count>
        <jitter_packet_count>0</jitter_packet_count>
        <dtmf_packet_count>0</dtmf_packet_count>
        <cng_packet_count>0</cng_packet_count>
        <flush_packet_count>0</flush_packet_count>
        <largest_jb_size>0</largest_jb_size>
        <jitter_min_variance>0.99</jitter_min_variance>
        <jitter_max_variance>2.15</jitter_max_variance>
        <jitter_loss_rate>0.00</jitter_loss_rate>
        <jitter_burst_rate>0.00</jitter_burst_rate>
        <mean_interval>20.00</mean_interval>
        <flaw_total>0</flaw_total>
        <quality_percentage>100.00</quality_percentage>
        <mos>4.50</mos>
      </inbound>
      <outbound>
        <raw_bytes>219300</raw_bytes>
        <media_bytes>219300</media_bytes>
        <packet_count>1275</packet_count>
        <media_packet_count>1275</media_packet_count>
        <skip_packet_count>0</skip_packet_count>
        <dtmf_packet_count>0</dtmf_packet_count>
        <cng_packet_count>0</cng_packet_count>
        <rtcp_packet_count>11528</rtcp_packet_count>
        <rtcp_octet_count>1844480</rtcp_octet_count>
      </outbound>
    </audio>
  </call-stats>

 But I think this report have mistake and need to fix it. Look to rtcp_packet_count and packet_count.

Link to comment
Share on other sites

×
×
  • Create New...