For clusters with multiple Asterisk servers edit the configuration file in /etc/asterisk/sip.conf:

sip.conf

  • On every Asterisk server copy the [enswitch-local] stanza and rename it to [enswitch-local-xx] or anything unique for each other Asterisk in the cluster. Make sure that the context in those stanzas is "from-internal".
  • For example, in a cluster of a total of 5 Asterisk servers, each Asterisk must have 4 additional stanzas [enswitch-local-01] to [enswitch-local-04].
  • In every additional [enswitch-local-xx] stanza, set the IP address of another Asterisk server in the host line and in the fromdomain line.
  • The objective is for every Asterisk server to have an [enswitch-local-xx] stanza for every OTHER Asterisk in the cluster.