Dealing with rtp_audio_in and out variables
Hi there, Does anybody know if we can access rtp_audio_* variables from the dialplan (after a bridge is terminated for instance)? Or are they only available in the CDR (through mod_xml_cdr)? I'm talking about: [...] <rtp_audio_in_raw_bytes>169076</rtp_audio_in_raw_bytes> <rtp_audio_in_media_bytes>168732</rtp_audio_in_media_bytes> <rtp_audio_in_packet_count>983</rtp_audio_in_packet_count> <rtp_audio_in_media_packet_count>981</rtp_audio_in_media_packet_count> <rtp_audio_in_skip_packet_count>72</rtp_audio_in_skip_packet_count> <rtp_audio_in_jitter_packet_count>0</rtp_audio_in_jitter_packet_count> <rtp_audio_in_dtmf_packet_count>0</rtp_audio_in_dtmf_packet_count> <rtp_audio_in_cng_packet_count>0</rtp_audio_in_cng_packet_count> <rtp_audio_in_flush_packet_count>2</rtp_audio_in_flush_packet_count> <rtp_audio_in_largest_jb_size>0</rtp_audio_in_largest_jb_size> [...] If it's possible to read them, could you tell me how? Thanks in advance Florent
No you can not, those are added to the file at the end of the session. On Tue, Feb 24, 2015 at 9:47 AM, Florent Krieg <flokrrr@gmail.com> wrote:
Hi there,
Does anybody know if we can access rtp_audio_* variables from the dialplan (after a bridge is terminated for instance)? Or are they only available in the CDR (through mod_xml_cdr)?
I'm talking about: [...] <rtp_audio_in_raw_bytes>169076</rtp_audio_in_raw_bytes> <rtp_audio_in_media_bytes>168732</rtp_audio_in_media_bytes> <rtp_audio_in_packet_count>983</rtp_audio_in_packet_count> <rtp_audio_in_media_packet_count>981</rtp_audio_in_media_packet_count> <rtp_audio_in_skip_packet_count>72</rtp_audio_in_skip_packet_count> <rtp_audio_in_jitter_packet_count>0</rtp_audio_in_jitter_packet_count> <rtp_audio_in_dtmf_packet_count>0</rtp_audio_in_dtmf_packet_count> <rtp_audio_in_cng_packet_count>0</rtp_audio_in_cng_packet_count> <rtp_audio_in_flush_packet_count>2</rtp_audio_in_flush_packet_count> <rtp_audio_in_largest_jb_size>0</rtp_audio_in_largest_jb_size> [...]
If it's possible to read them, could you tell me how?
Thanks in advance Florent
_________________________________________________________________________ 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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
Thank you very much Brian. 2015-02-24 18:39 GMT+01:00 Brian West <brian@freeswitch.org>:
No you can not, those are added to the file at the end of the session.
On Tue, Feb 24, 2015 at 9:47 AM, Florent Krieg <flokrrr@gmail.com> wrote:
Hi there,
Does anybody know if we can access rtp_audio_* variables from the dialplan (after a bridge is terminated for instance)? Or are they only available in the CDR (through mod_xml_cdr)?
I'm talking about: [...] <rtp_audio_in_raw_bytes>169076</rtp_audio_in_raw_bytes> <rtp_audio_in_media_bytes>168732</rtp_audio_in_media_bytes> <rtp_audio_in_packet_count>983</rtp_audio_in_packet_count> <rtp_audio_in_media_packet_count>981</rtp_audio_in_media_packet_count> <rtp_audio_in_skip_packet_count>72</rtp_audio_in_skip_packet_count> <rtp_audio_in_jitter_packet_count>0</rtp_audio_in_jitter_packet_count> <rtp_audio_in_dtmf_packet_count>0</rtp_audio_in_dtmf_packet_count> <rtp_audio_in_cng_packet_count>0</rtp_audio_in_cng_packet_count> <rtp_audio_in_flush_packet_count>2</rtp_audio_in_flush_packet_count> <rtp_audio_in_largest_jb_size>0</rtp_audio_in_largest_jb_size> [...]
If it's possible to read them, could you tell me how?
Thanks in advance Florent
_________________________________________________________________________ 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
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ 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
participants (2)
-
Brian West
-
Florent Krieg