Re: home config option & virtual interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stefan

I have applied some changes to the CVS to populate Home prior to setting the
default IP. This is what was causing the segfault. :(

The logic is if you set home by the commandline (-i option) then that is the
IP addresses it will use. If you set the Home in the INI then it will use
that and if you have set neither then it then it will query to retrieve the
interfaces. If you have only 1 Home IP then it will use that. If you have
more than one Home IP address then you can use the Bind INI setting to set
the default IP. If you do not set the Bind INI setting then it will query
the route table to find the default IP.

I have run a few tests and it should all work now.

Simon

> -----Original Message-----
> From: openh323gk-users-bounces@xxxxxxxxxxxxxxxxxxxxx
> [mailto:openh323gk-users-bounces@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> Stefan Anders
> Sent: 26 e?iy 2008 a. 3:03
> To: GNU Gatekeeper Users
> Subject: Re:  home config option & virtual interfaces
>
>
> Hello Simon,
>
> On Wed, Jun 25, 2008 at 10:33:25AM +1000, Simon Horne wrote:
> >
> > I have added a new setting called bind.
> >
> > [Main]
> > Bind=xxx.xxx.xxx.xxx
> >
> > This should fix your problem.
>
> thanks for your quick response! But i have my doubts with line 268
> in Toolkit.cxx:
>
>     Toolkit::Instance()->GetGKHome(m_GKHome);
>
> I tested this one already yesterday and it caused a recursion,
> thats why i used  'GkConfig()->GetString()'. Btw, current CVS
> gives a Segmentation fault, so tests are not possible by now.
>
> Regards
> Stefan Anders
>
> --
> German National Research and Education Network
> http://www.dfn.de/
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________________
>
> Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Archive:
> http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
> Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
> Homepage: http://www.gnugk.org/


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux