[Freeswitch-users] In proxy_media mode, RTCP is not proxied or activated

Richard Chan richard at treeboxsolutions.com
Sat Feb 25 17:13:47 MSK 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170225/600d3192/attachment.html 


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