[Freeswitch-users] Packet Loss and Round Trip Time

Tristan Mahé gled at remote-shell.net
Tue Mar 7 20:54:27 MSK 2017


Maybe check the variables rtp_audio_* ?

I can't recall the latency being exposed, but at least MOS is.

I tend also to recall that some rtp stats are written in the xml cdrs,
or if you want some realtime, there's the API command
uuid_set_media_stats to check.

Best,

Tristan.

On 03/07/2017 06:46 AM, Oleg Stolyar wrote:
> Thanks Michael!
>
> I was hoping for something in FS's own CDR files.  
>
> Among other things I need to be able to tie latency and packet loss
> (along with jitter which is already available in the CDR files) to a
> specific leg ID.
>
> On Tue, Mar 7, 2017 at 5:24 AM, Michael Toop <michaelt at mdevt.com
> <mailto:michaelt at mdevt.com>> wrote:
>
>     Hi Oleg,
>
>      Yes you can get useful data with tshark (example output below).
>
>      Here is how you used it: tshark -B 2 -o rtp.heuristic_rtp:TRUE
>     -qz rtp,streams
>
>     ========================= RTP Streams ========================
>         Src IP addr  Port    Dest IP addr  Port       SSRC         
>     Payload  Pkts         Lost   Max Delta(ms)  Max Jitter(ms) Mean
>     Jitter(ms) Problems?
>      192.168.243.10 20384 192.168.243.250 27970 0x6041871C ITU-T G.711
>     PCMA   227     0 (0.0%)           20.30            0.12           
>     0.08
>      192.168.243.10 20022 192.168.243.250 29280 0x80D44306 ITU-T G.711
>     PCMA   227     0 (0.0%)           20.31            0.06           
>     0.03
>
>     Cheers,
>
>     Michael
>
>     On Tue, Mar 7, 2017 at 7:15 AM, Oleg Stolyar
>     <olegstolyar at gmail.com <mailto:olegstolyar at gmail.com>> wrote:
>
>         Hi guys,
>
>         is there a way to get Packet Loss and Round Trip Time in FS
>         CDR without using a 3rd party tool like VoIP Monitor?
>
>
>         _________________________________________________________________________
>         Professional FreeSWITCH Consulting Services:
>         consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>         http://www.freeswitchsolutions.com
>         <http://www.freeswitchsolutions.com>
>
>         Official FreeSWITCH Sites
>         http://www.freeswitch.org
>         http://confluence.freeswitch.org
>         <http://confluence.freeswitch.org>
>         http://www.cluecon.com
>
>         FreeSWITCH-users mailing list
>         FreeSWITCH-users at lists.freeswitch.org
>         <mailto:FreeSWITCH-users at lists.freeswitch.org>
>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>         <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>         <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>         http://www.freeswitch.org
>
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>     <http://www.freeswitchsolutions.com>
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://confluence.freeswitch.org <http://confluence.freeswitch.org>
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>     http://www.freeswitch.org
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170307/a05e003f/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 516 bytes
Desc: OpenPGP digital signature
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170307/a05e003f/attachment-0001.bin 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list