Omid-Mohajerani / Learn-Kamailio

Learn Kamailio
24 stars 5 forks source link

RTP Proxy installation #3

Open Omid-Mohajerani opened 2 years ago

Omid-Mohajerani commented 2 years ago

Run the following commands to download RTPProxy and install it:

cd /usr/local/src/ ls mkdir rtpproxy cd rtpproxy/ wget https://github.com/sippy/rtpproxy/archive/v2.1.0.tar.gz tar xvfz v2.1.0.tar.gz cd rtpproxy-2.1.0/ ./configure make make install

Run the following command to run RTPPRoxy: rtpproxy -F -s udp:localhost:7722 -l _your_publicip

Note: start RTPProxy on a server behind NAT rtpproxy -l _your_privateip -A _your_publicip -s udp:localhost:7722 -F

To check if RTPProxy is running: ps auxw | grep -i rtpproxy

When needed, the command to stop RTPProxy: killall rtpproxy