Author Topic: Carrier load balancing between their two SBCs  (Read 4092 times)

Online ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Carrier load balancing between their two SBCs
« on: November 02, 2017, 03:41:54 PM »
I was snooping around on some other forums and stumbled on something I'd like to bounce off the group.
Here's the scenario:
1 Mitel SIP Proxy (MBG)
1 3300
2 ATT SBS. - (2) unique IP addresses ATT load balances for calls to the customer site.

Since ATT does not use authentication, the way to identify the SIP trunk in the Mitel is with the DID they are sending.
We can set up two network elements for the ATT SBCs but because ATT will always send up the same DID numbers we can only use the numbers to identify one trunk.

What that means is we can only have one SIP peer with ATT.  Since ATT is load balancing to us between two, every other call will fail.

So I stumbled on a post where someone else identified the problem and was asking if there was a way around this problem and connect to both of ATTs SBCs.

Someone came back with an answer that I don't fully understand so I'd like to bounce it off you to see if the answer is good or just plain wrong.

Here's the suggested solutions in its entirety:
Quote
Set your MBG to use DNS records and then set up 2 A records for your sip dns name with the 2 proxies.

i.e. set up sip.mitel.com as the DNS name.

Create 2 x  A records in the DNS entry 85.199.244.244 & 85.199.234.234 (examples).


Is this something that would work?  I don't understand how but that could easily be that i don't understand DNS A records.

Ralph





Offline johnp

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2202
  • Country: us
  • Karma: +66/-0
    • View Profile
Re: Carrier load balancing between their two SBCs
« Reply #1 on: November 02, 2017, 07:48:14 PM »
Are you saying that the incoming DID fails when arriving from the second address?

Online ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: Carrier load balancing between their two SBCs
« Reply #2 on: November 02, 2017, 07:51:41 PM »
Are you saying that the incoming DID fails when arriving from the second address?

Yes, since I can only connect to one of the ATT SBCs so we give a 401 not authorized.

Ralph

Offline acejavelin

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4100
  • Country: us
  • Karma: +133/-0
  • High-tech, heavy metal redneck!
    • View Profile
    • Like what I do and wanna help out? Send me a donation!
Re: Carrier load balancing between their two SBCs
« Reply #3 on: November 02, 2017, 08:04:57 PM »
Most carriers who do this use DNS SRV records, I know we do for load balancing and resiliency, doesn't AT&T... the MBG supports that. You just build one SIP PEER to the DNS name (not the IP address) and one entry in the MBG.

Are they making you use IP's specifically? If not, this is exactly what DNS SRV is intended for (including port assignments), the MBG understand both (or more) IPs because they are associated with the same DNS SRV record.

This method that they are asking you to use seems quite... archaic.

Online ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: Carrier load balancing between their two SBCs
« Reply #4 on: November 03, 2017, 07:40:04 AM »
They're not really asking me to do anything.  They just said "These are the IP addresses to connect to."
These is the first time I've seen this solution (DNS records) and I'm still not sure I understand it fully.

In one case I'm using a MiVB Express. Can the DNS record be set up there?

Ralph

Offline Tech Electronics

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2983
  • Country: us
  • Karma: +89/-1
    • View Profile
Re: Carrier load balancing between their two SBCs
« Reply #5 on: November 03, 2017, 10:19:40 AM »
Ralph,

The MBG, as far as I know, doesn't have an Alternate IP/FQDN List to accept requests from multiple sources. It also doesn't have Route Sets for sending calls VIA other sources. So the person who answered the question took that out of the hands of the equipment by creating an FQDN that is resolvable to multiple IP Addresses. That way if one is available it will go that route and if it isn't it will try the other one. For inbound it should accept requests from any IP Address associated with that FQDN.

Thanks,

TE

Online ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: Carrier load balancing between their two SBCs
« Reply #6 on: November 03, 2017, 04:29:22 PM »
So how is the DNS set up on our end?
Is it something we can do in the MSL?

Ralplh

Offline rhys.ci.hughes

  • Jr. Member
  • **
  • Posts: 33
  • Country: gb
  • Karma: +0/-0
    • View Profile
Re: Carrier load balancing between their two SBCs
« Reply #7 on: November 04, 2017, 04:24:37 AM »
This is all setup in the MiVB and MBG GUI’s, depending on the release. In the network elements you enter the domain main in the FQDN sections and DNS SRV URL in the external FQDN.

On the MBG (mine is the lasted release) in the SIP trunks, you tick the DNS SRV box and then enter the DNS SRV url in the box next to it. Once the DNS SRV box is ticked the IP Address box should grey out, so you can only use one method.

All the other settings should match the ISP requirements for the service to work. Hope this helps [emoji3][emoji3]


Sent from my iPhone using Tapatalk

Online ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: Carrier load balancing between their two SBCs
« Reply #8 on: November 04, 2017, 09:10:46 AM »
I've included a screenshot of what I get from the carrier. This is not ATT but someone else.
They're giving me IP addresses rather than FQDN.

Ralph

Offline acejavelin

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4100
  • Country: us
  • Karma: +133/-0
  • High-tech, heavy metal redneck!
    • View Profile
    • Like what I do and wanna help out? Send me a donation!
Re: Carrier load balancing between their two SBCs
« Reply #9 on: November 04, 2017, 09:48:30 AM »
I've included a screenshot of what I get from the carrier. This is not ATT but someone else.
They're giving me IP addresses rather than FQDN.

Ralph
To my knowledge the Mitel 3300 + MBG does not support this... it must signal to a single IP address or FQDN, although the FQDN CAN resolve to multiple IP's though via A or SRV record. Although if all signalling is anchored at one IP, the RTP can come from a second IP address (nothing you need to do).

Otherwise, I think you would need an Adtran or Ingate SBC to handle this, build 2 trunk accounts on the public side and group them, and one account on the PBX side. This still wouldn't do outbound load balancing, but would allow it to work.   

Online ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: Carrier load balancing between their two SBCs
« Reply #10 on: November 04, 2017, 10:54:37 AM »
That's what I thought but when I saw the original posting I thought I should check it out.
The problem is, in this configuration, the Mitel recognizes the SIP trunk based on the DID it's being sent.
I can only identify one SIP peer with the same DID.  If the call comes from the carriers other peer, it gets a 401 not authorized.

I'm just trying to be sure that it's not doable via a host entry in the MSL server.

Ralph

Offline johnp

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2202
  • Country: us
  • Karma: +66/-0
    • View Profile
Re: Carrier load balancing between their two SBCs
« Reply #11 on: November 05, 2017, 08:37:00 AM »
I've pondered this and think from what I've read that it may be possible using the host entry and adding another entry in tinydns.

A quick test to see if it half way works would be to add an host name such as "mytest" set it's ip address as the primary AT&T server. You need to make sure that the MCD uses the MSL as it's dns server, set up network element and peer with proxy to mbg to use mytest.myfqdn(as on msl). Set the incoming did to new peer and make test call. If this works, half the battle is done and then determining the best method to add the second value to tiny dns should be all that is needed.

Offline johnp

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2202
  • Country: us
  • Karma: +66/-0
    • View Profile
Re: Carrier load balancing between their two SBCs
« Reply #12 on: November 08, 2017, 04:48:33 PM »
I don't know if you did anything on this, I did set up tinydns to hand out 2 addresses for a hostname. I need to try a couple more things to see the best way to add this. I'm thinking a custom template with just the settings might work best.

Online ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: Carrier load balancing between their two SBCs
« Reply #13 on: November 09, 2017, 07:56:11 AM »
No.  I haven't done anything with it yet.
Every thing I have is now in production so I can't mess with it.

I'm wondering if it would work to simply add two separate host entries with the same FQDN.

Ralph

Offline johnp

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2202
  • Country: us
  • Karma: +66/-0
    • View Profile
Re: Carrier load balancing between their two SBCs
« Reply #14 on: November 09, 2017, 02:57:25 PM »
I don't think it will allow 2 entries for the same host. You could try my previous using just one of the did numbers as it shouldn't cause any impact


 

Sitemap 1 2 3 4 5 6 7 8 9 10