[OpenSIPS-Users] RTPPROXY shutdown at each call

spady spady77 at gmail.com
Tue Sep 4 16:19:43 CEST 2012


Hi all, I am implementing my first OpenSIPS with RTPPROXY so, for sure, any
issue is related to my NOT-Knowledge!! :-)

Issue is follow:
each time I make a call ( from USERA to USERB, for instance ) RTPPROXY shuts
down immediatly. 
Here there are logs and config:


STARTING SERVER:

Sep  4 16:12:20 opensips opensips: DBG:core:yyparse: loading module
/usr/local/opensips_proxy/lib/opensips/modules/rtpproxy.so
Sep  4 16:12:20 opensips opensips: DBG:core:set_mod_param_regex: rtpproxy
matches module rtpproxy
Sep  4 16:12:20 opensips opensips: DBG:core:set_mod_param_regex: found
<rtpproxy_sock> in module rtpproxy
[/usr/local/opensips_proxy/lib/opensips/modules/]
Sep  4 16:12:20 opensips opensips: DBG:core:set_mod_param_regex: rtpproxy
matches module rtpproxy
Sep  4 16:12:20 opensips opensips: DBG:core:set_mod_param_regex: found
<rtpproxy_autobridge> in module rtpproxy
[/usr/local/opensips_proxy/lib/opensips/modules/]
Sep  4 16:12:20 opensips opensips: DBG:core:find_cmd_export_t: found
<rtpproxy_offer>(1) in module rtpproxy
[/usr/local/opensips_proxy/lib/opensips/modules/]
Sep  4 16:12:20 opensips opensips: DBG:core:find_cmd_export_t: found
<rtpproxy_answer>(1) in module rtpproxy
[/usr/local/opensips_proxy/lib/opensips/modules/]
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19707]:
DBG:core:init_mod: initializing module rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19707]:
DBG:rtpproxy:add_rtpproxy_socks: url is udp:127.0.0.1:7890, len is 18
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19707]:
DBG:core:init_mod: register MI for rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19707]:
DBG:core:fix_actions: fixing rtpproxy_offer, line 486
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19707]:
DBG:core:fix_actions: fixing rtpproxy_answer, line 516
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19710]:
DBG:core:init_mod_child: type=CHILD, rank=2, module=rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19710]:
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 0xaee30b0c
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19710]:
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19710]:
DBG:rtpproxy:connect_rtpproxies: connected 127.0.0.1:7890
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19708]:
DBG:core:init_mod_child: type=PROC_MODULE, rank=-2, module=rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19711]:
DBG:core:init_mod_child: type=CHILD, rank=3, module=rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19711]:
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 0xaee30b0c
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19711]:
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19711]:
DBG:rtpproxy:connect_rtpproxies: connected 127.0.0.1:7890
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19711]:
INFO:rtpproxy:rtpp_test: rtp proxy <udp:127.0.0.1:7890> found, support for
it enabled
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19711]:
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19708]:
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 0xaee30b0c
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19708]:
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19708]:
DBG:rtpproxy:connect_rtpproxies: connected 127.0.0.1:7890
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19708]:
INFO:rtpproxy:rtpp_test: rtp proxy <udp:127.0.0.1:7890> found, support for
it enabled
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19708]:
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19712]:
DBG:core:init_mod_child: type=CHILD, rank=4, module=rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19712]:
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 0xaee30b0c
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19712]:
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19712]:
DBG:rtpproxy:connect_rtpproxies: connected 127.0.0.1:7890
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19712]:
INFO:rtpproxy:rtpp_test: rtp proxy <udp:127.0.0.1:7890> found, support for
it enabled
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19712]:
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19710]:
INFO:rtpproxy:rtpp_test: rtp proxy <udp:127.0.0.1:7890> found, support for
it enabled
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19710]:
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19716]:
DBG:core:init_mod_child: type=CHILD, rank=5, module=rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19716]:
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 0xaee30b0c
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19716]:
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19716]:
DBG:rtpproxy:connect_rtpproxies: connected 127.0.0.1:7890
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19716]:
INFO:rtpproxy:rtpp_test: rtp proxy <udp:127.0.0.1:7890> found, support for
it enabled
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19716]:
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19709]:
DBG:core:init_mod_child: type=CHILD, rank=1, module=rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19709]:
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 0xaee30b0c
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19709]:
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19709]:
DBG:rtpproxy:connect_rtpproxies: connected 127.0.0.1:7890
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19709]:
INFO:rtpproxy:rtpp_test: rtp proxy <udp:127.0.0.1:7890> found, support for
it enabled
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19714]:
DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19714]:
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 0xaee30b0c
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19709]:
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19714]:
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19714]:
DBG:rtpproxy:connect_rtpproxies: connected 127.0.0.1:7890
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19714]:
INFO:rtpproxy:rtpp_test: rtp proxy <udp:127.0.0.1:7890> found, support for
it enabled
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19715]:
DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19715]:
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 0xaee30b0c
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19715]:
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19715]:
DBG:rtpproxy:connect_rtpproxies: connected 127.0.0.1:7890
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19715]:
INFO:rtpproxy:rtpp_test: rtp proxy <udp:127.0.0.1:7890> found, support for
it enabled
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19715]:
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19714]:
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19717]:
DBG:core:init_mod_child: type=CHILD, rank=6, module=rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19717]:
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 0xaee30b0c
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19717]:
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19717]:
DBG:rtpproxy:connect_rtpproxies: connected 127.0.0.1:7890
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19717]:
INFO:rtpproxy:rtpp_test: rtp proxy <udp:127.0.0.1:7890> found, support for
it enabled
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19717]:
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19719]:
DBG:core:init_mod_child: type=CHILD, rank=8, module=rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19719]:
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 0xaee30b0c
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19719]:
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19719]:
DBG:rtpproxy:connect_rtpproxies: connected 127.0.0.1:7890
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19719]:
INFO:rtpproxy:rtpp_test: rtp proxy <udp:127.0.0.1:7890> found, support for
it enabled
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19719]:
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19707]:
DBG:core:init_mod_child: type=PROC_MAIN, rank=0, module=rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19718]:
DBG:core:init_mod_child: type=CHILD, rank=7, module=rtpproxy
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19718]:
DBG:rtpproxy:connect_rtpproxies: [RTPProxy] set list 0xaee30b0c
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19718]:
DBG:rtpproxy:connect_rtpproxies: [Re]connecting sockets (1 > 0)
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19718]:
DBG:rtpproxy:connect_rtpproxies: connected 127.0.0.1:7890
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19718]:
INFO:rtpproxy:rtpp_test: rtp proxy <udp:127.0.0.1:7890> found, support for
it enabled
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19718]:
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep  4 16:12:20 opensips /usr/local/opensips_proxy/sbin/opensips[19721]:
DBG:core:init_mod_child: type=PROC_TCP_MAIN, rank=-4, module=rtpproxy  



MADE CALL:

Sep  4 16:12:50 opensips /usr/local/opensips_proxy/sbin/opensips[19709]:
DBG:rtpproxy:force_rtp_proxy: force rtp proxy with param1 <ro> and param2
<none>
Sep  4 16:12:51 opensips /usr/local/opensips_proxy/sbin/opensips[19709]:
ERROR:rtpproxy:send_rtpp_command: can't send command to a RTP proxy
Connection refused
Sep  4 16:12:51 opensips /usr/local/opensips_proxy/sbin/opensips[19709]:
ERROR:rtpproxy:send_rtpp_command: proxy <udp:127.0.0.1:7890> does not
respond, disable it
Sep  4 16:12:51 opensips /usr/local/opensips_proxy/sbin/opensips[19709]:
DBG:rtpproxy:raise_rtpproxy_event: no event sent
Sep  4 16:12:51 opensips /usr/local/opensips_proxy/sbin/opensips[19709]:
ERROR:rtpproxy:force_rtp_proxy_body: no available proxies
Sep  4 16:12:51 opensips /usr/local/opensips_proxy/sbin/opensips[19712]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep  4 16:12:51 opensips /usr/local/opensips_proxy/sbin/opensips[19711]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body
Sep  4 16:12:54 opensips /usr/local/opensips_proxy/sbin/opensips[19712]:
ERROR:rtpproxy:force_rtp_proxy: Unable to parse body    



OPENSIPS CONFIG:



####  NAT module
loadmodule "nathelper.so"
modparam("nathelper", "natping_interval", 5)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "received_avp", "$avp(received_nh)")
modparam("nathelper", "sipping_bflag", 7)
modparam("nathelper", "sipping_from", "sip:NAT_Pinger at 10.9.23.41:5060")


#### RTPProxy module
loadmodule "rtpproxy.so"
modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7890")
modparam("rtpproxy", "rtpproxy_autobridge", 1)



Can someone point me in a right way?
Thanks.





--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/RTPPROXY-shutdown-at-each-call-tp7581647.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list