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
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 ...