Switchvox - How to create outgoing call rules for SIP Peer dialing

This article is assuming you've already created the SIP peer between two Switchvox PBXs. This article is also assuming that your extension ranges on both PBXs are not the same range and that you are using the range of 1XX on PBX.A and 2XX on PBX.B.

Now that the SIP peer is created below is how you would set up each PBXs outgoing call rules so they can successfully dial across the SIP peer:

On PBX.A:

  1. Log into /admin -> Setup -> Outgoing Calls -> Create Outgoing Call Rule

  2. Give it any Rule Name; for this example call it SIP peer

  3. Under Pattern to Match:

    1. Number begins with the digits: 2

    2. The rest of the number must be between 2 and 2 digits in length.

    3. Before connecting the call, trim 0 digits from the front and then prepend the digits <leave this blank> to the number.

  4. Under Call Through set Primary Call Through Provider: Select the name of the SIP Peer you created

  5. Under Rule Final, set Is this Rule Final: Yes

  6. Also under Rule Final set Allow all existing extensions to use this rule?: Yes

What the above rule is going to do is look for any number dialed that beings with 2 and the rest of the number is 2 digits in length (2XX). It will then send the call over the selected SIP provider to the dialed 3 digits extension number.

On PBX.B:

  1. Log into /admin -> Setup -> Outgoing Calls -> Create Outgoing Call Rule

  2. Give it any Rule Name; for this example call it SIP peer

  3. Under Pattern to Match:

    1. Number begins with the digits: 1

    2. The rest of the number must be between 2 and 2 digits in length.

    3. Before connecting the call, trim 0 digits from the front and then prepend the digits <leave this blank> to the number

  4. Under Call Through set Primary Call Through Provider: Select the name of the SIP Peer you created

  5. Under Rule Final, set Is this Rule Final: Yes

  6. Also under Rule Final set Allow all existing extensions to use this rule?: Yes

What the above rule is going to do is look for any number dialed that beings with 1 and the rest of the number is 2 digits in length (1XX). It will then send the call over the selected SIP provider to the dialed 3 digit extension number.

Related content