For SIP registration and proxy, Enswitch uses Kamailio. You should add a machine for every machine Kamailio may exchange calls with, including the Kamailio machine's own main IP address (for enswitch_sipd). Other machines in the cluster need not be added, but may be added for reference purposes.

To configure the list of machines

  1. Log in to the Enswitch web interface.
  2. Go to System » Machines.
  3. Click the "New" button.
  4. Enter the following:
    • The host name, excluding the DNS domain. For example, enter "asterisk1" rather than "".
    • The DNS domain, for example "".
    • Optionally a description.
    • The IP address for SIP. Use the public IP address rather than "".
    • Whether to send calls to Asterisk on this machine for onward routing. Use "no" for machines which run Asterisk, but which Kamailio should not try sending calls to.
    • The port to send SIP calls to. If Asterisk is running on the same machine as Kamailio, this is normally 5070. If not, this is normally 5060.
    • Optionally, a weight to set what fraction of calls are routed to this machine. For example, if machine A has a weight of 1 and machine B has a weight of 2, then 1/3rd of calls will be routed to machine A and 2/3rds to machine B.
  5. Click the "Save" button.
  6. Repeat for any other machines in the cluster that Kamailio may exchange calls with, including itself.
  7. Optionally repeat for all other machines in the cluster.