[Freeswitch-users] is there a way to validate RTP is flowing after bridging two channels?

Giovanni Maruzzelli gmaruzz at gmail.com
Mon Jan 18 14:15:14 MSK 2016

On Mon, Jan 18, 2016 at 12:05 PM, Steven Ayre <steveayre at gmail.com> wrote:

> If you need to do it within FreeSWITCH (eg from a script), execute
> the uuid_set_media_stats api. This will set a number of variables that you
> can then read which'll reflect a number of RTP statistics. This will
> include the number of RTP frames/packets/bytes going in and out of the
> server for that call. That'll let you spot if a channel isn't receiving any
> RTP packets.
> To see what variables are set see the add_stat lines in
> src/switch_core_media.c:1470 set_stats(), the names will be prefixed
> between what appears in the code and the variable set for example
> "in_raw_bytes" => ${rtp_audio_in_raw_bytes}.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/4ddbc960/attachment-0001.html 

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