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:
Log into /admin -> Setup -> Outgoing Calls -> Create Outgoing Call Rule
Give it any Rule Name; for this example call it SIP peer
Under Pattern to Match:
Number begins with the digits: 2
The rest of the number must be between 2 and 2 digits in length.
Before connecting the call, trim 0 digits from the front and then prepend the digits <leave this blank> to the number.
Under Call Through set Primary Call Through Provider: Select the name of the SIP Peer you created
Under Rule Final, set Is this Rule Final: Yes
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:
Log into /admin -> Setup -> Outgoing Calls -> Create Outgoing Call Rule
Give it any Rule Name; for this example call it SIP peer
Under Pattern to Match:
Number begins with the digits: 1
The rest of the number must be between 2 and 2 digits in length.
Before connecting the call, trim 0 digits from the front and then prepend the digits <leave this blank> to the number
Under Call Through set Primary Call Through Provider: Select the name of the SIP Peer you created
Under Rule Final, set Is this Rule Final: Yes
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.