Switchvox - How to setup a basic SIP peer between two Switchvox PBXs

Switchvox - How to setup a basic SIP peer between two Switchvox PBXs

IMPORTANT: If you are on version 5.8 or later, do not use these instructions. Please see this article instead. 

On each Switchvox PBX, go to Setup -> VOIP Providers -> Create a SIP Provider. These settings are mostly arbitrary, but be careful with the Label, Account ID, and Password.

  • SIP Provider Name (can be anything to ID that this is the peer to 2nd PBX)

  • Provider Label (must be the same as the peer's Provider Label)

  • Your Account ID (must be the same as the peer's Account ID)

  • Your Password (must be the same on both Switchvoxes)

  • Hostname/IP Address (IP address of 2nd peered PBX)

 

Peer Settings tab:

In the new provider on each peer, there are several advanced options that you need to set. These are necessary for SIP.

  1. Click on the Peer Settings tab

  2. Set Host Type: Peer

  3. Set Host is a Switchvox PBX: Yes

  4. Set Treat system’s users like local users: Yes

  5. Enter a Jabber Hostname (of the 2nd peered PBX, but not necessary)
    This is important if you are using the Switchboard or Chat functionality. Be sure that the Jabber Hostname for both peers resolves correctly.

  6. Set Apply Incoming Call Rules to Provider: No
          Click on the magnifying glass button and 'Allow' the 'internal' rule only.
          This allows the peer to call your Switchvox extensions. You can also allow the peer to place outbound calls through this Switchvox, by allowing one or more of the other Outgoing Call Rules.

  7. Set Qualify Hosts: Yes  (under Connection Settings)

  8. Scroll down and click Save 'SIP Provider' to save your changes and add the new provider.

That's all you need to do in the VOIP Providers section. You also need to set up your Outgoing Call Rules and Network Settings.

Note: It is also extremely important to note that you cannot have duplicate extensions on both sides of the peer. This will cause internal and peer dialing problems. It's best practice to keep extensions on PBX.A in the 1XX range and PBX.B in the 2XX range for example.