OpenSER is built on top of a core that is responsible for the basic functionality and handling of SIP messages. The modules are responsible for the majority of OpenSER functions. OpenSER modules expose their functionality inside OpenSER with new commands and parameters used inside scripts. OpenSER is configured in a file called openser.cfg
. This configuration file controls which modules are loaded and their respective parameters. All the SIP flow is controlled too in several routing blocks defined in the file. The file openser.cfg
is the OpenSER main configuration file.
The openser.cfg
file has seven sections:
Global definitions: This portion of the file contains several working parameters for OpenSER including the listening
ip:port
pair for the SIP service and debug level.Modules: Contains a list of external libraries required to expose the functionalities not available in the core. Modules are loaded with
loadmodule...