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

openser.cfg Analysis

Copy the file openser.nat (http://www.asteriskguide.com/openser/openser.nat) to /etc/openser.cfg. Let's analyze the required changes to the openser.cfg file.

Modules Loading

NatHelper and MediaProxy are responsible for handling the NAT traversal. Some functions such as fix_nated_contact(), fix_nated_register(), fix_nated_sdp(), and nat_uac_test() are made available by the NatHelper module. The MediaProxy module exports the functions client_nat_test, fix_contact(), use_media_proxy(), and end_media_session().

loadmodule "/usr/lib/openser/modules/nathelper.so"
loadmodule "/usr/lib/openser/modules/mediaproxy.so"

Modules' Parameters

The modules NatHelper and MediaProxy comes from two different solutions (RTPproxy and MediaProxy). ...

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