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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org