Book Image

Building Telephony Systems with OpenSER

Book Image

Building Telephony Systems with OpenSER

Overview of this book

Table of Contents (18 chapters)
Building Telephony Systems with OpenSER
Credits
About the Author
About the Reviewers
Preface
6
Building the User Portal with SerMyAdmin
Index

OpenSER Architecture


Core and Modules

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.

Sections of the File openser.cfg

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