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 basics

Before stepping into the routing logic, it is important to know the main statements available to build it. OpenSIPS uses a specialized scripting language similar to C, but focused on the task of routing SIP requests and handling SIP replies.

Some functions and values are provided by the core, while some are provided by modules. So it is important to understand what is available from the core and from modules. Frequently you will try to start OpenSIPS and receive an error message stating that a determined function is not available. In most cases it is just the module that is not loaded.

Core functions

Core functions are functions that are available without any module loaded. Some are critical for the behavior of the script. Core ...

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