[OpenSIPS-Users] Opensips and RTP-proxy
Andrew Pogrebennyk
andrew.pogrebennyk at portaone.com
Mon Oct 13 16:53:40 CEST 2008
Eric,
The log pieces you have posted and communication you observed can be
perfectly OK. Please post how you call force_rtp_proxy() from the
opensips config.
Vandeweyer, Eric wrote:
>
> All,
>
> I've got opensips running with RTPProxy
>
>
> Config file Opensips:
> ************************************************************************
> **************
> loadmodule "registrar.so"
> modparam("registrar", "received_avp", "$avp(s:rcv)")
>
> loadmodule "nathelper.so"
> modparam("nathelper", "rtpproxy_sock", " 1 ==
> udp:xxx.xxx.xxx.xxx:22222")
> modparam("nathelper", "received_avp", "$avp(s:rcv)")
>
> loadmodule "avpops.so"
> modparam("avpops", "avp_url",
> "mysql://opensipsro:yyy@xxx.xxx.xxx.xxx/opensips")
> modparam("avpops", "avp_table", "user_preferences")
>
> ************************************************************************
> ****************
>
> I start RTPProxy which is residing on a different server as opensips
>
> RTPPROXY -l xxx.xxx.xxx.xxx -s udp:*:22222
>
>
> When checking the messages from opensips I receive ...
>
> ************************************************************************
> ****************
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]: NOTICE:core:main:
> version: opensips 1.4.2-notls (i386/linux)
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]: INFO:core:main: using 32
> Mb shared memory
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]: INFO:core:main: using 1
> Mb private memory per process
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]:
> INFO:usrloc:ul_init_locks: locks array size 512
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]: INFO:tm:mod_init: TM -
> initializing...
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]: INFO:xlog:mod_init:
> initializing...
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]: INFO:sl:mod_init:
> Initializing StateLess engine
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]: INFO:registrar:mod_init:
> initializing...
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]: INFO:maxfwd:mod_init:
> initializing...
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]: INFO:auth:mod_init:
> initializing...
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]: INFO:auth_db:mod_init:
> initializing...
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]: INFO:textops:mod_init:
> initializing...
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]: INFO:avpops:avpops_init:
> initializing...
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]: INFO:acc:mod_init:
> initializing...
> Oct 13 15:47:07 OpenSips /sbin/opensips[1938]:
> INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 214 kb
> Oct 13 15:47:07 OpenSips /sbin/opensips[1941]: INFO:nathelper:rtpp_test:
> rtp proxy <udp:xxx.xxx.xxx.xxx:22222> found, support for it enabled
> Oct 13 15:47:07 OpenSips /sbin/opensips[1940]: INFO:nathelper:rtpp_test:
> rtp proxy <udp:xxx.xxx.xxx.xxx:22222> found, support for it enabled
> Oct 13 15:47:07 OpenSips /sbin/opensips[1942]: INFO:nathelper:rtpp_test:
> rtp proxy <udp:xxx.xxx.xxx.xxx:22222> found, support for it enabled
> Oct 13 15:47:07 OpenSips /sbin/opensips[1943]: INFO:nathelper:rtpp_test:
> rtp proxy <udp:xxx.xxx.xxx.xxx:22222> found, support for it enabled
> Oct 13 15:47:07 OpenSips /sbin/opensips[1944]: INFO:nathelper:rtpp_test:
> rtp proxy <udp:xxx.xxx.xxx.xxx:22222> found, support for it enabled
>
> ************************************************************************
> ****************
>
>
> When I take traces with wireshark I see some communication between
> opensips and RTPProxy during the launch of opensips.After this brief
> communication moment they don't seem to communicate anymore. When I now
> set-up a call between two phones, the RTP session is still giong
> direct and not over the RTPProxy.
> Can someone help me ou on this one?
>
> Thanks
> Eric
--
Sincerely,
Andrew Pogrebennyk
More information about the Users
mailing list