cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
s_t
New Contributor

SBC with two PBX

Jump to solution

I have two local PBX from different vendors. They each have a different number of configured extensions, but will be using the same SIP provider. Can you use the SIP trunk failover to try each PBX for a registered user? For example it tries the PBX 1 for telephone number 555-1212. However it only exists in PBX 2.  Could you set it up so it would fail on PBX 1 and then try PBX 2? I read the documentation on "Configuring SIP Trunk Failover in AOS". The scenario in the document refers to two separate SIP providers/ISPs. Would the similar work for separate PBX systems?

Labels (2)
0 Kudos
1 Solution

Accepted Solutions
jayh
Honored Contributor
Honored Contributor

Re: SBC with two PBX

Jump to solution

Yes. Use the cost metric on the voice grouped-trunk configuration for each PBX.

For example, if 555-0111 is primary on PBX1 and 555-0122 is primary on PBX2.

!

voice grouped-trunk PBX1

  description "SIP to PBX1"

  trunk T01

  accept 555-0111 cost 0

  accept 555-0122 cost 100

!

voice grouped-trunk PBX2

  description "SIP to PBX2"

  trunk T02

  accept 555-0111  cost 100

  accept 555-0122 cost 0

When a call comes in for 555-0111 it will send an INVITE out trunk T01. If no response or rejected then it will try T02, and the opposite for 555-0122.

View solution in original post

0 Kudos
4 Replies
s_t
New Contributor

Re: SBC with two PBX

Jump to solution

Could I route the call based on the invite message to the particular PBX? Example: If it's this phone number/sip address it goes to PBX 1, if it is the other it goes to PBX 2. PBX 1 has about 100 phones on it, PBX 2 only 20.

jayh
Honored Contributor
Honored Contributor

Re: SBC with two PBX

Jump to solution

Yes. Use the cost metric on the voice grouped-trunk configuration for each PBX.

For example, if 555-0111 is primary on PBX1 and 555-0122 is primary on PBX2.

!

voice grouped-trunk PBX1

  description "SIP to PBX1"

  trunk T01

  accept 555-0111 cost 0

  accept 555-0122 cost 100

!

voice grouped-trunk PBX2

  description "SIP to PBX2"

  trunk T02

  accept 555-0111  cost 100

  accept 555-0122 cost 0

When a call comes in for 555-0111 it will send an INVITE out trunk T01. If no response or rejected then it will try T02, and the opposite for 555-0122.

0 Kudos
jayh
Honored Contributor
Honored Contributor

Re: SBC with two PBX

Jump to solution

s_t wrote:

Could I route the call based on the invite message to the particular PBX? Example: If it's this phone number/sip address it goes to PBX 1, if it is the other it goes to PBX 2. PBX 1 has about 100 phones on it, PBX 2 only 20.

Yes, see example I posted. Bundle the numbers to each grouped-trunk accordingly. You can save some typing with wildcards in the number patterns.

s_t
New Contributor

Re: SBC with two PBX

Jump to solution

jayh, thanks for the reply. I verified with pre-sales support as well. I think the SBC functionality should fit with my application. I appreciate the guidance.