[Freeswitch-users] In proxy_media mode, RTCP is not proxied or activated
Michael Jerris
mike at jerris.com
Sun Feb 26 18:03:59 MSK 2017
proxy media mode should almost never be used unless you are in one of a
very few specific edge cases. What exactly are you trying to accomplish
and can it be accomplished without proxy media?
On Sat, Feb 25, 2017 at 9:21 AM Richard Chan <richard at treeboxsolutions.com>
wrote:
> Hi list,
>
> Is there a way to force FS to activate RTCP and rewrite SDP to
> a:rtcp:<freeswitch_ip_address> in proxy media mode?
>
>
> Testing FS 1.6.15 in proxy media mode with two pjproject-2.6 pjsua clients.
> FS is not rewriting rtcp lines.
>
> In SDP,
> c= # correctly rewritten to point to FS.
> a=rtcp: # not pointing to FS, but as the UAs sent.
>
> switch_rtp.c:switch_rtp_activate_rtcp() always exits early as
> ms_per_packet is 0
>
>
>
> ####################
>
> The dial plan has
>
> <action application="set" data="proxy_media=true"/>
>
> Both UAs generate rtcp lines in SDP
>
> Caller
> v=0
> o=- 3697019958 3697019958 IN IP4 10.1.1.8
> s=pjmedia
> b=AS:117
> t=0 0
> a=X-nat:0
> m=audio 4018 RTP/SAVP 9 120 96
> c=IN IP4 10.1.1.8
> b=TIAS:96000
> a=rtcp:4019 IN IP4 10.1.1.8
> a=sendrecv
> a=rtpmap:9 G722/8000
> a=rtpmap:120 opus/48000/2
> a=fmtp:120 useinbandfec=1
> a=rtpmap:96 telephone-event/8000
> a=fmtp:96 0-16
>
>
>
>
>
>
>
> --
> Richard Chan
>
> _________________________________________________________________________
> 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/20170226/a2fba7e0/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list