Edit the configuration files in /etc/asterisk as desired. Suggested changes for a SIP only system are:

  • cd /etc/asterisk
  • vi extensions.conf indications.conf manager.conf res_config_mysql.conf
  • mv res_config_mysql.conf res_mysql.conf # Only if installing Asterisk 1.6.
  • ifconfig
  • vi sip.conf

extensions.conf

  • Change "extensions_enswitch_18.conf" to "extensions_enswitch_16.conf" if using Asterisk 1.6.

indications.conf

  • Set the country. This must match one of the entries in the file.

manager.conf

  • Change the password for enswitch. The value doesn't matter, as enswitch_routed reads this file directly each time it starts.

res_config_mysql.conf

  • Set database server if a different machine.
  • Set database password.

sip.conf

  • If SER is running on the same machine, change bindport to 5070.
  • Edit [enswitch-local], and set the IP of OpenSIPS in "host" and "fromdomain". If OpenSIPS is on the same machine, you should the main machine IP address rather than 127.0.0.1, as OpenSIPS only listens on the main IP address.
  • Edit [127.0.0.1], and replace any mentions of 127.0.0.1 (including the header itself) with the IP of OpenSIPS.