Hi All,
do someone know how to apply the rtpproxy patch (modules/rtpproxy/test/rtpproxy.patch) on the rtpproxy server source code? The notifications on media inactivity is done through kamailio's XMLRPC interface, and this patch is needed by the rtpproxy server to do so.
I fetched the code from
git://sippy.git.sourceforge.net/gitroot/sippy/rtpproxy
and the patch doesn't apply out of the box:
$ patch -p1 -l < ../kamailio/modules/rtpproxy/test/rtpproxy.patch patching file Makefile.am patching file Makefile.in patching file aclocal.m4 patching file config.h.in patching file configure.ac Hunk #1 succeeded at 54 (offset 1 line). Hunk #2 succeeded at 106 (offset 1 line). patching file rtpp_command.c Hunk #2 succeeded at 324 (offset 52 lines). Hunk #3 FAILED at 472. Hunk #4 FAILED at 482. Hunk #5 FAILED at 969. 3 out of 5 hunks FAILED -- saving rejects to file rtpp_command.c.rej patching file rtpp_notify.c patching file rtpp_session.c Hunk #1 succeeded at 42 (offset 1 line).
Was this patch designed for an different version of the rtpproxy source code?
Cheers,
Hi Camille,
i wrote the patch quite long ago (2years+?). Back then, i posted the patch both on the rtpproxy-devel list and i even asked, if there was a tracker for patches; but i never ever received ANY reply... :-( Since then, i never worked on that patch again and i replaced almost every installation of RTPProxy with rtpproxy-ng, which seemed better maintained and where the developers would answer to my questions. Most likely, you will have to update the patch manually (or i can look at it during the next days).
Kind regards, Carsten
2013/8/5 Camille Oudot camille.oudot@orange.com:
Hi All,
do someone know how to apply the rtpproxy patch (modules/rtpproxy/test/rtpproxy.patch) on the rtpproxy server source code? The notifications on media inactivity is done through kamailio's XMLRPC interface, and this patch is needed by the rtpproxy server to do so.
I fetched the code from
git://sippy.git.sourceforge.net/gitroot/sippy/rtpproxy
and the patch doesn't apply out of the box:
$ patch -p1 -l < ../kamailio/modules/rtpproxy/test/rtpproxy.patch patching file Makefile.am patching file Makefile.in patching file aclocal.m4 patching file config.h.in patching file configure.ac Hunk #1 succeeded at 54 (offset 1 line). Hunk #2 succeeded at 106 (offset 1 line). patching file rtpp_command.c Hunk #2 succeeded at 324 (offset 52 lines). Hunk #3 FAILED at 472. Hunk #4 FAILED at 482. Hunk #5 FAILED at 969. 3 out of 5 hunks FAILED -- saving rejects to file rtpp_command.c.rej patching file rtpp_notify.c patching file rtpp_session.c Hunk #1 succeeded at 42 (offset 1 line).
Was this patch designed for an different version of the rtpproxy source code?
Cheers,
-- Camille
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi Carsten,
Thanks for the response,
i wrote the patch quite long ago (2years+?). Back then, i posted the patch both on the rtpproxy-devel list and i even asked, if there was a tracker for patches; but i never ever received ANY reply... :-(
Ok, I've successfully applied it on an older version of rtpproxy server. The latest version that patches out of the box is 6fc6fa36(...).
Since then, i never worked on that patch again and i replaced almost every installation of RTPProxy with rtpproxy-ng, which seemed better maintained and where the developers would answer to my questions.
Ok, interesting. Do you know how mediaproxy-ng handles RTP timeout notifications towards the rtpproxy-ng module?
Most likely, you will have to update the patch manually (or i can look at it during the next days).
I'll update it if mediaproxy-ng does not suit us.
Cheers,
Hi Camille,
currently mediaproxy-ng only does timeout notifications only towards a SEMS-SBC, not towards Kamailio. :-( Adding support for notificating Kamailio on RTP-Timeout could probably be added as well, but is not yet available.
Kind regards, Carsten
2013/8/6 Camille Oudot camille.oudot@orange.com:
Hi Carsten,
Thanks for the response,
i wrote the patch quite long ago (2years+?). Back then, i posted the patch both on the rtpproxy-devel list and i even asked, if there was a tracker for patches; but i never ever received ANY reply... :-(
Ok, I've successfully applied it on an older version of rtpproxy server. The latest version that patches out of the box is 6fc6fa36(...).
Since then, i never worked on that patch again and i replaced almost every installation of RTPProxy with rtpproxy-ng, which seemed better maintained and where the developers would answer to my questions.
Ok, interesting. Do you know how mediaproxy-ng handles RTP timeout notifications towards the rtpproxy-ng module?
Most likely, you will have to update the patch manually (or i can look at it during the next days).
I'll update it if mediaproxy-ng does not suit us.
Cheers,
-- Camille
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users