<div>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?<br><div class="gmail_quote"><div>On Sat, Feb 25, 2017 at 9:21 AM Richard Chan <<a href="mailto:richard@treeboxsolutions.com">richard@treeboxsolutions.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_msg"><div class="gmail_msg">Hi list,</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><div class="gmail_msg">Is there a way to force FS to activate RTCP and rewrite SDP to a:rtcp:<freeswitch_ip_address> in proxy media mode?</div></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Testing FS 1.6.15 in proxy media mode with two pjproject-2.6 pjsua clients.</div><div class="gmail_msg">FS is not rewriting rtcp lines.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">In SDP, </div><div class="gmail_msg">c= # correctly rewritten to point to FS.</div><div class="gmail_msg">a=rtcp: # not pointing to FS, but as the UAs sent.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">switch_rtp.c:switch_rtp_activate_rtcp() always exits early as ms_per_packet is 0<br class="gmail_msg"></div><div class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">####################</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">The dial plan has </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><action application="set" data="proxy_media=true"/><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Both UAs generate rtcp lines in SDP</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Caller</div><div class="gmail_msg"><div class="gmail_msg">v=0</div><div class="gmail_msg">o=- 3697019958 3697019958 IN IP4 10.1.1.8</div><div class="gmail_msg">s=pjmedia</div><div class="gmail_msg">b=AS:117</div><div class="gmail_msg">t=0 0</div><div class="gmail_msg">a=X-nat:0</div><div class="gmail_msg">m=audio 4018 RTP/SAVP 9 120 96</div><div class="gmail_msg">c=IN IP4 10.1.1.8</div><div class="gmail_msg">b=TIAS:96000</div><div class="gmail_msg">a=rtcp:4019 IN IP4 10.1.1.8</div><div class="gmail_msg">a=sendrecv</div><div class="gmail_msg">a=rtpmap:9 G722/8000</div><div class="gmail_msg">a=rtpmap:120 opus/48000/2</div><div class="gmail_msg">a=fmtp:120 useinbandfec=1</div><div class="gmail_msg">a=rtpmap:96 telephone-event/8000</div><div class="gmail_msg">a=fmtp:96 0-16</div></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><br clear="all" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div>-- <br class="gmail_msg"><div class="m_-4717618738845382138gmail_signature gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><font color="#000000" face="Droid Sans" class="gmail_msg"><span style="font-size:15px" class="gmail_msg">Richard Chan</span></font></div><div class="gmail_msg"><br class="gmail_msg"></div></div></div></div>
</div>
_________________________________________________________________________<br class="gmail_msg">
Professional FreeSWITCH Consulting Services:<br class="gmail_msg">
<a href="mailto:consulting@freeswitch.org" class="gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="gmail_msg">
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitchsolutions.com</a><br class="gmail_msg">
<br class="gmail_msg">
Official FreeSWITCH Sites<br class="gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="gmail_msg">
<a href="http://confluence.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://confluence.freeswitch.org</a><br class="gmail_msg">
<a href="http://www.cluecon.com" rel="noreferrer" class="gmail_msg" target="_blank">http://www.cluecon.com</a><br class="gmail_msg">
<br class="gmail_msg">
FreeSWITCH-users mailing list<br class="gmail_msg">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="gmail_msg" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br class="gmail_msg">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="gmail_msg">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a></blockquote></div></div>