Book Image

Building Telephony Systems with OpenSER

Book Image

Building Telephony Systems with OpenSER

Overview of this book

Table of Contents (18 chapters)
Building Telephony Systems with OpenSER
Credits
About the Author
About the Reviewers
Preface
6
Building the User Portal with SerMyAdmin
Index

MediaProxy Installation and Configuration


The MediaProxy server will allow a specialized processing of clients behind NAT. The MediaProxy server from AG Projects (www.ag-projects.com) has the following characteristics:

  • Use of the DNS SRV records to load balance the requests

  • Can be executed in a separate server offloading the SIP Proxy

  • Web monitoring

The MediaProxy server is not included with OpenSER. The OpenSER distribution has only the mediaproxy.so module that integrates the MediaProxy server with the OpenSER server. To work, the MediaProxy server needs a public IP address. In most production environments, the MediaProxy server won't be run in the same CPU as the SIP proxy.

Installing MediaProxy

Step 1: Download the MediaProxy server from:

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

Note

Newer versions are released very often, please check the current version number

Step 2: Copy the init file to /etc/init.d to start MediaProxy...