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@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@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