About RTPproxy :
The RTPproxy is a high-performance software proxy for RTP streams that can work together with SER, OpenSER or Sippy B2BUA. Originally created for handling NAT scenarious it can also act as a generic media relay as well as gateway RTP sessions between IPv4 and IPv6 networks. RTPproxy was developed by Maxim Sobolev and now is being actively maintained by the Sippy Software, Inc..The RTPproxy supports some advanced features, such as remote control mode, allowing building scalable distributed SIP VoIP networks. The nathelper module included into the SER or OpenSER SIP Proxy software as well as Sippy B2BUA allow using multiple RTPproxy instances running on remote machines for fault-tolerance and load-balancing purposes.
Installation :
apt-get install rtpproxyNow it will create one file in /etc/init.d/ folder this is init file we need configure this file. other file is /etc/default/rtpproxy file.
Configuring /etc/init.d/rtpproxy :
/etc/init.d/rtpproxy file look like this.
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
NAME=rtpproxy
GROUP_USER=opensips
DESC="RTP relay"
DAEMON=/usr/bin/$NAME
USER=$NAME
GROUP=$GROUP_USER
PIDFILE="/var/run/$NAME/$NAME.pid"
PIDFILE_DIR=`dirname $PIDFILE`
CONTROL_SOCK="udp:127.0.0.1:7890"
IP_ADDR="your server IP
Address"
edit CONTROL_SOCK and IP_ADDR and also check DAEMON path is it pointing to correct location or not.
Starting Rtpproxy :
/etc/init.d/rtpproxy start
Checking :
check if rtpproxy is running or not by below command.ps -ef | grep rtpproxy
it will show output like this
rtpproxy
936 0 21:43 ? 00:00:00 /usr/bin/rtpproxy -l YourSERVERIP -s
udp:127.0.0.1 7890 -u rtpproxy opensips -p
/var/run/rtpproxy/rtpproxy.pid
Congratulations your successfully configured RTP proxy.
0 comments: