Re: 2 gnu gatekeepers working as neighbors

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

 



Hi stewart,
 
I've observed LRQ and LCF messages, and they are correct,  the telephony service and the firewall are unable.
I see that LCF is correctly read from gk1.
I also keep a check of my gatekeeper.ini file  :-)
The ip 62.101.106.41 that you've tried connect to, is an ip that my provider dynamically assign to me.

"I assume that the :0 means that gk1 was trying to connect to
 port 0, which was rejected by the OS"
Well, i have tried to run the 2 getekeepers and the 2 clients in the same local lan, in this case all worked fine.(audio and video too)
But i've see that when the gk1 open tcp to the gk2, the log show:
Connect to 192.168.1.82:1721 from 192.168.1.81:0
Where 
gk1=192.168.1.81 
gk2=192.168.1.82 
 
I read in the manual this words:
"Note to make proxy work, the gatekeeper must have direct connection to both networks of the caller and callee."
 
So,I want to ask you, do you knows if is possible my configuration?
 
PS: i made my test only with the 2.2.3 version of gnugk, tomorrow i'm trying with 2.0.9 version.
 
I'm attaching my two gatekeeper.ini files.
 
Thank you,stewart.
 
 
 
 
----- Original Message -----
From: "Stewart Nelson" <sn@xxxxxxxxxxx>
To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, October 03, 2005 3:48 AM
Subject: Re: 2 gnu gatekeepers working as neighbors

> Hi,
>
> I assume that the :0 means that gk1 was trying to connect to
> port 0, which was rejected by the OS.  Use ethereal or the
> trace to see if the correct call signal address and port
> (that of gk2) is in the LCF.  That should at least tell
> you which end the trouble is at.
>
> Make sure that Telephony service is not running, and that
> Windows firewall or other software firewall is not
> butchering the packets.
>
> You should also check that gk2 is actually listening
> on its public IP; I couldn't connect to 62.101.106.41
> port 1720 or port 1721.  Of course, that may be because
> of a firewall, it's on a non-standard port,
> or gk2 wasn't running when I wrote this.
>
> --Stewart
>
> ----- Original Message -----
> From: "-Luca-" <
noceluca@xxxxxxxxxxx>
> To: <
openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
> Sent: Saturday, October 01, 2005 2:59 AM
> Subject: 2 gnu gatekeepers working as neighbors
>
>
> Hi all,
>
> I'm trying to make calls from 2 client registered at two different gnugks.
>
> ---------------------------------              ---------------------------------
> |   Lan 1                     |             |   Lan 2                     |
> |                                |             |                                |
> |                                                                              |
> | (client1) ------>   (gk1)  <------>   gk2 <----- (clientt2)     |
> |                                                                               |
> |                                |             |                                |
> |                                |             |                                |
> ---------------------------------              ---------------------------------
>
> Both gatekeepers have a public ip address and work in full proxy mode(h225 routed + proxy enable).
> Both clients have private ip address.
> When client1 try calling client 2, gk1 sends a LRQ message to gk2, and gk2 reply with LCF.
> Then gk1 must forward setup message (sent from client1) to gk2... therefore gk1 try to open a tcp
> connection to gk2,
> at this point the gk1 log show this error:
>
> could not open/connect socket at 62.101.106.41:0 - WIN32 error 10049
>
>
> Does anyone knows what it's means?... or anyone that has already did a similar configuration?
>
>
> Thanks a lot.
>
>                     -Luca-
>
>
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more.
http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________________
>
> Posting:
mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
> Homepage: http://www.gnugk.org/
>
;**********configuration file for gk1******************

[Neighbor::GK2]
Host=B:1719    ;B=ip address of gatekeeper #2
Dynamic=1
SendPrefixes=*
AcceptPrefixes=*


[FileIPAuth]
any=allow


[Gatekeeper::Main]
Fourtytwo=42
Name=GK1
TimeToLive=300
NetworkInterfaces=192.168.1.23/24,A/0  ;A=ip address of this gatekeeper


[RoutedMode]
GKRouted=1
H245Routed=0
CallSignalPort=1721
SupportNATedEndpoints=1
H245PortRange=1700-1710
AcceptNeighborsCalls=1
Q931PortRange=5051-5100


[Proxy]
Enable=1
RTPPortRange=5000-5050
InternalNetwork=192.168.1.23/24

[GKStatus::Auth]
rule=allow
[Gatekeeper::Auth]
FileIPAuth=sufficient;GRQ,RRQ,URQ,ARQ,BRQ,DRQ,LRQ,IRQ,Setup,SetupUnreg


[RasSrv::Neighbors]
GK2=GnuGK

[RasSrv::LRQFeatures]
NeighborTimeout=10
AcceptForwardedLRQ=1






;***********configuration file for gk2***************


[Neighbor::GK2]
Host=A:1719  ;A=ip address of gatekeeper #1
Dynamic=0
SendPrefixes=*
AcceptPrefixes=*


[FileIPAuth]
any=allow


[Gatekeeper::Main]
Fourtytwo=42
Name=GK2
TimeToLive=300
NetworkInterfaces=10.0.0.23/24,B/0 ;B=ip address of this gatekeeper


[RoutedMode]
GKRouted=1
H245Routed=0
CallSignalPort=1721
SupportNATedEndpoints=1
H245PortRange=1700-1710
AcceptNeighborsCalls=1
Q931PortRange=5051-5100



[Proxy]
Enable=1
RTPPortRange=5000-5050
InternalNetwork=10.0.0.23/24
[GKStatus::Auth]
rule=allow
[Gatekeeper::Auth]
FileIPAuth=sufficient;GRQ,RRQ,URQ,ARQ,BRQ,DRQ,LRQ,IRQ,Setup,SetupUnreg


[RasSrv::Neighbors]
GK1=GnuGK

[RasSrv::LRQFeatures]
NeighborTimeout=10
AcceptForwardedLRQ=1


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

  Powered by Linux