[OpenSIPS-Users] Rtpproxy connection

Nick Altmann nick.altmann at gmail.com
Wed Oct 31 03:40:22 CET 2012


You should enable timeout sockets in opensips:
modparam("rtpproxy", "rtpp_notify_socket", "tcp:192.168.0.1:22222")

I start rtpproxy like this:
/usr/bin/rtpproxy -p /var/run/rtpproxy.pid -f -s udp:192.168.0.1:22222
-n tcp:192.168.0.1:22222 -i -t 0xB8 -r /var/spool/rtpproxy -r
/var/spool/rtpproxy/recorded -u rtpproxy rtpproxy -m 1024 -M 65535 -d
DBUG

Without notify sockets my rtpproxy crashes.

--
Nick

2012/10/31 spady <spady77 at gmail.com>:
> Hi Nick, you mean something like this?
>
> rtpproxy -F -s udp:127.0.0.1:10177 -l 10.9.23.41/151.x.x.201 -u root *-n
> unix:/var/run/rtpproxy_timeout.sock* -d DBUG:LOG_LOCAL2
>
> The rtpproxy man page ( http://linux.die.net/man/8/rtpproxy ) says
> following:
>
> *-n timeout_socket
> This parameter configures the optional timeout notification socket. The
> socket should be created by another application, preferably before starting
> rtpproxy. For those sessions where the timeout mechanism is enabled,
> notifications are sent on this socket if the session times out.
> Example: -n unix:/var/run/rtpproxy_timeout.sock
>
> There is no default value, notifications are not sent and not permitted
> unless a value is specified explicitly.*
>
> The socket should be created by another application. How can I create it? by
> what?
>
> Thanks
>
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Rtpproxy-connection-tp7581935p7582636.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list