Re: How to set two GnuGKs to route full-proxied calls from different IP-zone?

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

 




Thanks for all your help!  yes now I am trying to start only one GnuGK instance and config it as multihomed instead of starting multiple instances. 

I have a question about how to set the "Home=" parameter in gatekeeper.ini: my GnuGK is from CVS and built in centOS6.4,  I have tried the following 4 syntax:
Home=10.4.35.219,66.207.141.7
Home=0.0.0.0
Home=
or without "Home=" parameter

but I always got the following error when I start GnuGK:
Assertion fail: Function pthread_mutex_destroy failed, file ptlib/unix/tlibthrd.cxx, line 1693, Error=2

if I just set one of my two IPs(like Home=10.4.35.219) then GnuGK works fine, so could you tell me how to set the "Home=" parameter to start multihomed GnuGK? Thanks!

Regards,
Bo Xu





Hi,

Sébastien is right, routing between multiple IPs on the same machine
is GnuGk's default mode of operation.

Just a quick note on the Bind= switch: Use it as a last resort.
GnuGk will auto-detect the IPs on the server, so in many cases you don't
even need a Home= switch. If you want to restrict the IPs GnuGk is using,
set a Home=. But always try to get it working without a Bind= switch first.
I've seen Bind= break more configs that it fixed.

Regards,
Jan

-- 
Jan Willamowius, Founder of the GNU Gatekeeper Project
EMail  : jan@...
Website: http://www.gnugk.org
Support: http://www.willamowius.com/gnugk-support.html

Relaxed Communications GmbH
Frahmredder 91
22393 Hamburg
Geschäftsführer: Jan Willamowius
HRB 125261 (Amtsgericht Hamburg)
USt-IdNr: DE286003584


Sébastien Bonnaire wrote:
> Hi Bo Xu,
> Maybe i'm wrong, but to my opinion, you do not need to start two separated
> GnuGK, but simply one "multihomed" instance.
> This is my own setup to enable it :
> [Gatekeeper::Main]
> Fortytwo=42
> Name=GnuGk
> Home=1.2.3.4,192.168.0.254,10.1.3.4
> Bind=1.2.3.4
> [...]
> # the specify the behaviour of proxy :
> [Proxy]
> Enable=1
> InternalNetwork=192.168.0.0/24
> [ModeSelection]
> 192.160.0.0/24=PROXY,ROUTED
> Best Regards,
> Sebastien
> 2015-02-10 18:38 GMT+01:00 Bo Xu <boxuscience@...>:
> > Hi,
> >
> > I installed two NICs in one linux-PC and started two GnuGKs on each of
> > NICs. each NIC belongs to different IP-segment and is connected to
> > different switch, and there is firewall between these two IP-segment so
> > they cannot ping each other, and they cannot do H.323-call to each other.
> >
> > I want to use the above two GnuGKs to route full-proxied call from one
> > IP-segment to another, for example:
> > EP-1 is in IPSegment-1, and registers to GnuGK-1
> > EP-2 is in IPSegment-2, and registers to GnuGK-2
> > when EP-1 calls EP-2, I want to make both signal/media stream from EP-1 go
> > to GnuGK-1 first, then go to GnuGK-2, then go to EP-2
> >
> > could you tell me how to set the configuration.ini of GnuGK-1 and GnuGK-2
> > to do this? Thanks!
> >
> > Regards,
> > Bo Xu

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________________

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