[SR-Users] Error when configuring RTPProxy-NG.

Alex Balashov abalashov at evaristesys.com
Mon Dec 15 00:24:05 CET 2014


This sounds like an incompatibility between the version of the rtpengine 
control module on the Kamailio side and the version of rtpengine on the 
RTP proxy side.

Right around the time that the rtpproxy-ng -> rtpengine nomenclature 
change happened, there was also a significant change to the anatomy of 
the control protocol.

Be sure that you are using the latest version of Kamailio, where the 
module is called 'rtpengine', not 'rtpproxy-ng'.

On 12/14/2014 06:08 PM, Mahmoud Ramadan Ali wrote:

> Hi Dears,
> I'm following this link https://github.com/sipwise/rtpengine to
> configure rtpproxy-ng with Kamailio BUT i'm reciving the following
> errors in the Kamailio log file.
>
> Dec 14 17:58:34 debian /usr/local/sbin/kamailio[6198]: ERROR:
> rtpproxy-ng [rtpproxy.c:1425]: rtpp_test(): proxy responded with invalid
> response
> Dec 14 17:58:34 debian rtpengine[6160]: Failed to properly parse UDP
> command line '6188_1 d7:command4:pinge' from 127.0.0.1:36681
> <http://127.0.0.1:36681>, using fallback RE
> Dec 14 17:58:34 debian /usr/local/sbin/kamailio[6188]: ERROR:
> rtpproxy-ng [rtpproxy.c:1425]: rtpp_test(): proxy responded with invalid
> response
> Dec 14 17:58:34 debian rtpengine[6160]: Failed to properly parse UDP
> command line '6202_1 d7:command4:pinge' from 127.0.0.1:38342
> <http://127.0.0.1:38342>, using fallback RE
> Dec 14 17:58:34 debian /usr/local/sbin/kamailio[6202]: ERROR:
> rtpproxy-ng [rtpproxy.c:1425]: rtpp_test(): proxy responded with invalid
> response
> Dec 14 17:58:34 debian rtpengine[6160]: Failed to properly parse UDP
> command line '6200_1 d7:command4:pinge' from 127.0.0.1:33265
> <http://127.0.0.1:33265>, using fallback RE
>
> My configuration as follows:
>
> root at debian:/usr/local/etc/kamailio# rtpengine
> --interface=Kamailio-Internal/192.168.100.1 <http://192.168.100.1>
> --interface=Kamailio-External/192.168.50.1 <http://192.168.50.1>
> --listen-udp=127.0.0.1:12222 <http://127.0.0.1:12222>
> --pidfile=/var/run/ngcp-rtpengine-daemon.pid
>
>
> root at debian:/usr/local/etc/kamailio# kamctl fifo nh_enable_rtpp
> udp:127.0.0.1:12222 <http://127.0.0.1:12222> 1
> root at debian:/usr/local/etc/kamailio# kamctl fifo nh_show_rtpp
> udp:localhost:12222::  set=0
>          index:: 0
>          disabled:: 1
>          weight:: 1
>          recheck_ticks:: 0
>
> loadmodule "rtpproxy-ng.so"
>
> modparam("rtpproxy-ng", "rtpproxy_sock", "udp:127.0.0.1:12222
> <http://127.0.0.1:12222>")
> modparam("rtpproxy-ng", "rtpproxy_disable_tout", 20)
> modparam("rtpproxy-ng", "rtpproxy_tout", 2)
> modparam("rtpproxy-ng", "rtpproxy_retr", 2)
> modparam("rtpproxy-ng", "extra_id_pv", "$avp(extra_id)")
>
>
> /etc/default/ngcp-rtpengine-daemon
>
> RUN_RTPENGINE=yes
> LISTEN_TCP=25060
> LISTEN_UDP=12222
> LISTEN_NG=22222
> # ADDRESS=...
> # ADV_ADDRESS=...
> # ADDRESS_IPV6=...
> # ADV_ADDRESS_IPV6=...
> TIMEOUT=60
> SILENT_TIMEOUT=3600
> PIDFILE=/var/run/ngcp-rtpengine-daemon.pid
> FORK=yes
> # TOS=184
> TABLE=0
>
> Any ideas about how to solve this please ?!
> Thanks in advance and Best Regards
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States

Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list