O'Reilly logo

Building Telephony Systems with OpenSER by Flavio E. Goncalves

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lab Using MediaProxy for NAT Traversal

To test NAT traversal is not an easy task. You can test with some friends behind the Internet calling your server on a public IP address. For a test bench the easiest setup is to have two IP phones behind two NAT devices.

Lab Using MediaProxy for NAT Traversal

Step 1: Copy the openser.mediaproxy script to /etc/openser/openser.cfg:

cd /etc/openser
wget 
http://www.asteriskguide.com/openser/openser.mediaproxy
cp openser.mediaproxy openser.cfg

Step 2: Dowload and decompress the MediaProxy server from AG Projects to the directory /usr/src.

cd /usr/arc
wget 
http://mediaproxy.ag-projects.com/mediaproxy-1.8.2.tar.gz
tar –xzvf mediaproxy-1.8.2.tar.gz

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required