From ohjelmistoarkkitehti@gmail.com Sat Apr 12 15:32:05 2014 From: Olli Heiskanen To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] Kamailio with rtpproxy-ng and mediaproxy-ng: Error rewriting SDP Date: Sat, 12 Apr 2014 16:31:58 +0300 Message-ID: In-Reply-To: <5346A138.2090602@sipwise.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1790871913==" --===============1790871913== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I'm probably still doing something wrong, I still get 488 from the grandstream. Also zoiper refuses the call with 415 Unsupported Media Type. According to the module description I tried to change my config to this: Btw, thanks for enabling verbose flags, those are more readable when working on the config file. if ( t_check_status("488") && sdp_content() ) { if ( sdp_get_line_startswith("$avp(mline)", "m=3D") ) { if ($avp(mline) =3D~ "SAVPF") { $avp(rtpproxy_offer_flags) =3D "rtcp-mux-demux force trust-address replace-origin replace-session-connection ICE=3Dforce RTP/SAVPF"; $avp(rtpproxy_answer_flags) =3D "rtcp-mux-demux force trust-address replace-origin replace-session-connection ICE=3Dremove RTP/SAVPF"; } else { $avp(rtpproxy_offer_flags) =3D "rtcp-mux-demux force trust-address replace-origin replace-session-connection ICE=3Dremove RTP/SAVPF"; $avp(rtpproxy_answer_flags) =3D "rtcp-mux-demux force trust-address replace-origin replace-session-connection ICE=3Dforce RTP/SAVPF"; } } } Below is the output from tail -f /var/log/messages when trying to call from wsclient to gsclient (are there any debug options etc to enable full logs being written to syslog to help get the whole data out?) I tried using -s0 option when using ngrep but the sdp still gets cut off for some reason, that didn't help much... Although I think there are full sdp when I write the output to a pcap file. I wonder if there's a trick to force full packets onto ngrep output without writing to file? Apr 12 17:15:33 u363id562 kamailio[22688]: INFO: