[asterisk-users] how to configure callcentric peer: no fqdn address matching?
kujensen at gmail.com
Tue Apr 15 17:52:45 CDT 2014
Oops, had it wrong. Here's how it works for me:
On Tue, Apr 15, 2014 at 4:29 PM, Kai-Uwe Jensen <kujensen at gmail.com> wrote:
> So do I need 7 contexts, one for each ip address?
> Yes, if what you call a "context" is your peer definition in sip.conf. CC
> routes calls through a varying number of SBCs, all (also) resolving to
> callcentric.com, but each having their own name, typically "
> I think you can use asterisk's configuration template syntax to create the
> required peer definitions. This would likely look similar to this (from
> Add templates for all IPs that callcentric.com returns. Note that this
> approach isn't foolproof: if/when CC change their pool of SBCs, you may
> have to add more hosts, or remove them from this config. And, as you say, I
> believe the cause is that asterisk only uses the first returned IP for a
> host name. (Interestingly, the DNS server authoritative for CC also varies
> the order of IPs it returns. Guess that's their way load-balancing.)
> And again, the above is from memory. I can look it up later today and will
> follow up if I goofed/misremembered.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users