On Tue, 2008-10-21 at 21:26 -0400, M. Ranganathan wrote:
> On Tue, Oct 21, 2008 at 7:11 PM, Martin Steinmann <[EMAIL PROTECTED]> wrote:
> >>
> >>  So... what would be better?
> >>
> >>  We want sipXconfig to generate all the configuration files, but how
> >>  should it get the addresses for each system and decide which one the
> >>  services should use?
> >>
> >>  Should we just have the sipx-setup script ask and stick the answer
> >>  in a well known place for sipXconfig to read?
> >>
> >>  Please don't say "let's just keep config.defs".
> >>
> >
> > That is maybe too simple a suggestions, but why wouldbn't we just assume
> > it is the address on eth0?  I would hate to see more questions asked by
> > a setup script.
> > --martin
> 
> For a non-HA system, one could query all available interfaces and
> present the user with a choice.

> For a HA system, get the domain name (sans host name), do a DNS SRV
> lookup of the domain, and from the returned set of host names, find
> one that corresponds to an IP address bound to an interface on that
> machine and use that one.

That's a cart-before-the-horse solution: sipXconfig needs to generate
those DNS records....


_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to