Re:calling from Gateway to Gateway both registered to gnugk -Fail

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

 



Hi all,

The scenario that I am implemeting for gnugk is as follows :

------------> housegw1------> gnugk------>housegw2------->
  PSTN                                                                         PSTN


All three housegw1, gnugk and housegw2 are all private static IP address. Gnugk is running on Fedora Linux operating system. I tried to call from housegw1 to housegw2, both registered to gnugk but failed. The gnugk.ini file are as follows :

[Gatekeeper::Main]
Fourtytwo=42
Name=net2callsgnugk
Home=192.168.168.50
TimeToLive=300

[GkStatus::Auth]
rule=allow

[RoutedMode]
GKRouted=1
CallSignalPort=1721
AcceptUnregisteredCalls=1
SupportNATedEndpoints=1
H245Routed=1

[RasSrv::PermanentEndpoints]
192.168.168.20=housegw1;383
192.168.168.21=housegw2;384

[RasSrv::GWPrefixes]
housegw1=383
housegw2=384

The gnugk.log file are shown as follow :

004/04/19 16:01:23.326	1	          gk.cxx(122)	GK	Logging restarted
2004/04/19 16:01:23.328	2	     Toolkit.cxx(90)	Network=192.168.168.0/255.255.255.0, IP=192.168.168.50
2004/04/19 16:01:23.328	2	     Toolkit.cxx(90)	Network=169.254.0.0/255.255.0.0, IP=192.168.168.50
2004/04/19 16:01:23.328	2	     Toolkit.cxx(90)	Network=127.0.0.0/255.0.0.0, IP=127.0.0.1
2004/04/19 16:01:23.328	2	     Toolkit.cxx(91)	Default IP=192.168.168.50
2004/04/19 16:01:23.328	2	     Toolkit.cxx(153)	GK	H.323 Proxy disabled
2004/04/19 16:01:23.328	2	      gkacct.cxx(486)	GKACCT	Successfully logged event 8
2004/04/19 16:01:23.329	1	          gk.cxx(490)	OpenH323 Gatekeeper - The GNU Gatekeeper with ID 'net2callsgnugk' started on 192.168.168.50
Gatekeeper(GNU) Version(2.0.7) Ext(pthreads=1,acct=1,radius=1,mysql=1,ldap=0) Build(Jan 17 2004, 17:08:33) Sys(Linux i686 2.4.22-1.2115.nptl)

2004/04/19 16:01:23.330	2	          gk.cxx(533)	GK	TimeToLive for Registrations: 300
2004/04/19 16:01:23.331	1	      RasTbl.cxx(53)	New EP|192.168.168.20:1720|housegw1:h323_ID|gateway|2300_endp

2004/04/19 16:01:23.331	2	      RasTbl.cxx(1067)	Add permanent endpoint 192.168.168.20:1720
2004/04/19 16:01:23.333	1	      RasTbl.cxx(53)	New EP|192.168.168.21:1720|housegw2:h323_ID|gateway|2301_endp

2004/04/19 16:01:23.333	2	      RasTbl.cxx(1067)	Add permanent endpoint 192.168.168.21:1720
2004/04/19 16:01:23.333	2	  WaitingARQ.cxx(50)	GK	Virtual Queue disabled for aliases
2004/04/19 16:01:23.333	2	  WaitingARQ.cxx(60)	GK	Virtual Queue disabled for prefixes
2004/04/19 16:01:23.333	2	  WaitingARQ.cxx(70)	GK	Virtual Queue disabled for regular expression
2004/04/19 16:01:23.334	2	ProxyChannel.cxx(72)	RTPPortRange: 10000-59999
2004/04/19 16:01:23.334	2	 ProxyThread.cxx(477)	ProxyL	Listen to 192.168.168.50:1721
2004/04/19 16:01:23.334	2	      RasSrv.cxx(560)	GK	Using Routed Signalling
2004/04/19 16:01:23.334	2	      thread.cxx(28)	ProxyListener 3374 started
2004/04/19 16:01:23.334	2	      RasSrv.cxx(561)	GK	H.245 Routed Enabled
2004/04/19 16:01:23.334	2	      thread.cxx(28)	ProxyHandleThread 3375 started
2004/04/19 16:01:23.334	2	      thread.cxx(28)	ProxyHandleThread 3376 started
2004/04/19 16:01:23.334	1	MulticastGRQ.cxx(52)	GK	Multicast listener started
2004/04/19 16:01:23.334	1	BroadcastListen.cxx(41)	GK	Broadcast listener started
2004/04/19 16:01:23.334	1	      RasSrv.cxx(2191)	GK	RasThread 3379 started
2004/04/19 16:01:23.335	2	      RasSrv.cxx(2194)	GK	Entering connection handling loop
2004/04/19 16:01:23.335	3	 ProxyThread.cxx(647)	ProxyH(0) waiting...
2004/04/19 16:01:23.335	3	 ProxyThread.cxx(647)	ProxyLC(0) waiting...
2004/04/19 16:01:41.596	2	    GkStatus.cxx(319)	GK	GkStatus new status client: addr 192.168.168.50
2004/04/19 16:01:46.300	2	    GkStatus.cxx(347)	GK	GkStatus got command ?
2004/04/19 16:01:46.300	3	     SoftPBX.cxx(64)	GK	SoftPBX: PrintAllRegistrations


1) I have tried changing the  CallSignalPort to either 1720 and 1721 but it still fails. 
2) Both housegw1 and housegw2 are set as PermanentEndPoints in the config file, if we do not set these two as PermanentEndPoints will these two gateway both registered to gnugk automatically (provided that we already set the gateway to point to gatekeeper ip address (gnugk) at 192.168.168.50)?
3) I have tried to make calls, but it always give a disengage tone, how do I check from the gnugk whether a call (sucessful or not successful) or any request (reject or confirm) has ever hit the gnugk ? (as from the gnugk.log file, I could not see any details showing any request or calls coming from either endpoints. I have also tried the command printcurrentcalls but, it shows me none)
4) I have noticed under openh323gk/etc/ there are a few files with an extension .pl . What are these files for ? Do they play a part in the gnugk operations ? 
5) Does anybody did any config file that match my scenario as shown above. If yes, could you kindly send me a copy. Thanks.

Appreciate for all your helps. Thanks.

Jim.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

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

  Powered by Linux