The OpenSIPS configuration file

The OpenSIPS routing script (or configuration file) is a text file that is loaded by OpenSIPS at start up time. The content is parsed and loaded in memory so that the actual file on the disk is not used anymore at runtime.

OpenSIPS does not offer any mechanism to reload the routing script at runtime, so if you changed the configuration file, you need to restart OpenSIPS in order to apply the changes.

The text preprocessing built-in capabilities are limited in OpenSIPS; mainly reducing the ability to include other files via the include_file or import_file directives. The reason for this limitation is the presence of third-party text preprocessors, more powerful than we could develop in OpenSIPS, and the goal of OpenSIPS ...

Get Building Telephony Systems with OpenSIPS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.