This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
userdoc:tt_kamailio [2014/09/04 21:09] abelbeck [Initial Configuration] |
userdoc:tt_kamailio [2014/09/04 21:14] abelbeck [Initial Configuration] |
==== Initial Configuration ==== | ==== Initial Configuration ==== |
| |
The CLI (Command Line Interface) must be used to enable, and disable kamailio. Kamailio will be enabled if the ''/mnt/kd/kamailio/'' directory exists. On first install, issue the command... | The CLI (Command Line Interface) must be used to enable, and disable kamailio. Kamailio will be enabled if the ''/mnt/kd/kamailio/kamailio.cfg'' file exists. On first install, issue the command... |
| |
cp -a /stat/etc/kamailio /mnt/kd/ | cp -a /stat/etc/kamailio /mnt/kd/ |
| |
The ''/mnt/kd/kamailio/'' directory now exists, populated with a default configuration. Start kamailio with the following command, this will also create a symlink from ''/etc/kamailio/'' -> ''/mnt/kd/kamailio/'' ... | The ''/mnt/kd/kamailio/'' directory now exists, populated with a default configuration, including ''kamailio.cfg'' . Start kamailio with the following command, this will also create a symlink from ''/etc/kamailio/'' -> ''/mnt/kd/kamailio/'' ... |
| |
service kamailio init | service kamailio init |
INFO: Extra tables succesfully created. | INFO: Extra tables succesfully created. |
| |
At this point you can customize your kamailio configuration. Edit the /etc/kamailio/kamailio-local.cfg file to add switches such as "''#!define WITH_ASTERISK''" and interfaces to listen on. More detailed examples are described below. Apply any edits to the files in ''/etc/kamailio/'' with the command... | At this point you can customize your kamailio configuration. Edit the /etc/kamailio/kamailio-local.cfg file to add switches such as "''#!define WITH_ASTERISK''" and interfaces/ip's to listen on. More detailed examples are described below. Apply any edits to the files in ''/etc/kamailio/'' with the command... |
| |
service kamailio restart | service kamailio restart |