OpenSIPS can be started using the init
scripts or opensipsctl
utility. If you start OpenSIPS using the init
scripts, you can stop it using only the init
scripts. The same is valid if you start using the opensipsctl
utility.
Starting, stopping, and restarting OpenSIPS using the init
scripts is shown here:
/etc/init.d/opensips start|stop|restart
Starting, stopping, and restarting OpenSIPS using the opensipsctl
utility is as follows:
opensipsctl start|stop|restart
The OpenSIPS executable has several start up options. These options allow you to change the configuration of the daemon. Some of the most useful are as follows:
-C
: To check the configuration file.-D -E -dddddd
: To check the module loading. Don't use for production as it binds the first interface only.
There are lots of others that allow you to fine-tune your configuration. Check the following help line:
version: opensips 2.1.0dev-tls (i386/linux) Usage: opensips -l address [-l address ...] [options] Options: -f...