[Freeswitch-users] Call media stats in Freeswitch log

Shahnawaj Khan shahnawaj.khan1990 at gmail.com
Mon Jul 13 13:32:51 UTC 2020


Hello All,

Please let me know if it is possible to log media stats in
freeswitch.log after call complete such as
-<call-stats>
-<audio>
-<inbound>
<raw_bytes>60716</raw_bytes>
<media_bytes>60716</media_bytes>
<packet_count>353</packet_count>
<media_packet_count>353</media_packet_count>
<skip_packet_count>234</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>5.73</jitter_min_variance>
<jitter_max_variance>28.03</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>97352</raw_bytes>
<media_bytes>97352</media_bytes>
<packet_count>566</packet_count>
<media_packet_count>566</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>0</rtcp_packet_count>
<rtcp_octet_count>0</rtcp_octet_count>
</outbound>
</audio>
</call-stats>
or any other variable that is available in xml CDR

Any insight is welcomed!


Thanks & Regards,
Shahnawaj Khan



More information about the FreeSWITCH-users mailing list