[Freeswitch-users] Proxy media: how to enable proxy for RTCP as well (was FS-4178)

Richard Chan richard at treeboxsolutions.com
Sun Jul 10 05:38:01 MSD 2016


Hello list,

How do you enable proxy for RTCP in proxy media mode?
Currently, the SDP shows direct RTCP between UAs, while RTP is proxied (as
expected)

"FS-4178 RTCP doesn't get proxied in proxy media mode" seems to indicate
that RTCP would be proxied as well and
this "issue" was fixed a long time ago.

When I trace the code a bit: in

switch_rtp.c:switch_rtp_activate_rtcp()   rtp_session->ms_per_packet is 0
so we never get any deeper into the function.

if (!rtp_session->ms_per_packet) {
return SWITCH_STATUS_FALSE;
}

################

FreeSWITCH 1.6.9
1. All default profiles and dialplans
2. UAs: CSipSimple

sip_profiles/internal.xml
 <param name="inbound-proxy-media" value="true"/>

FreeSWITCH 192.168.1.7, UAs 192.168.1.180, 192.168.1.187

SDP shows
c IN IP4 192.168.1.7 (fs IP)
a rctp:4009 IN IP4 192.168.1.187 (UA IP)


Thanks
-- 
Richard Chan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160710/234b9cd6/attachment.html 


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