If not using Kamailio, skip this page.

Edit /etc/kamailio/kamailio.cfg, and set the database IP address and password. This means adjusting the line that initially looks like the following one, with the proper values to connect to your database server:

  • #!define DB_URL "mysql://enswitch:changeme@127.0.0.1/enswitch"

Optionally, enable SIP 302 redirects in /etc/kamailio/kamailio.cfg:

  • #!define ENABLE_REDIRECT 1

Optionally, enable the no-NAT SIP port 5065 in /etc/kamailio/kamailio.cfg. This can be used with SIP origination providers who have issues with NAT handling. Don't forget to open port 5065 in the firewall:

  • listen xx.xx.xx.xx:5060
  • listen xx.xx.xx.xx:5065

Set System » Configuration » Location expires format to "integer".