O'Reilly logo

Building Telephony Systems with OpenSIPS 1.6 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

Scripting OpenSIPS

There is basically only one configuration file for OpenSIPS. This file is named opensips.cfg. It contains several sections; such as "Global Parameters", "Load Modules", "Module Parameters", and "Routing Script". In order to create this file, you have several commands and functions derived from the core and the modules. We are going to show some of the most common functions for each section and then how this section is populated in the default script.

OpenSIPS comes with a minimum configuration provided in the installation. This simple configuration is a good starting point. After starting, OpenSIPS will:

  • Establish itself as an SIP server on your network
  • Allow you to connect UACs from your internal network
  • Allow you to make calls ...

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