January 2016
Intermediate to advanced
384 pages
8h 6m
English
Sometimes, it is hard to debug an existing script. We strongly encourage you to use a versioning system such as subversion or Git for your scripts. Always create a backup before editing a production script. Try to avoid changing the routing script (opensips.cfg) as much as possible. Use the database for the daily configuration changes to subscribers, dialplans, and routes. It is usual to run the same script for years.
You can test the syntax of a script without running it using the following command:
opensips –c
It will show you the syntax errors and related lines. Some common syntax errors are as follows:
[]) and curly brackets ({})Read now
Unlock full access