Re: RE: HandleH245Address problem

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

 



Stewart Nelson:

	Thank you for your advice! I am really using fast start but no H.245 tunneling and I really set RemoveH245AddressOnTunneling=1 in gnugk configuration. My gnugk configuration is very simple:

[Gatekeeper::Main]
Fourtytwo=42
Name=gk104
EndpointIDSuffix=_gk104
TimeToLive=60
StatusPort=7123

[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1720
CallSignalHandlerNumber=4
RemoveH245AddressOnTunneling=1
AcceptNeighborsCalls=1
AcceptUnregisteredCalls=0
SupportNATedEndpoints=1
DropCallsByReleaseComplete=0

[Proxy]
Enable=1
ProxyForNAT=1
ProxyForSameNAT=0

[RasSrv::ARQFeatures]
ArjReasonRouteCallToSCN=0
ArjReasonRouteCallToGatekeeper=0
CallUnregisteredEndpoints=1

[GkStatus::Auth]
rule=allow

[Gatekeeper::Auth]
default=allow
 

======= 2004-11-26 12:30:45 you write=======

>If you are using fast start and H.245 tunneling, and you have set
>RemoveH245AddressOnTunneling=1 in your configuration, I believe that HandleH245Address should not be called.  If it is, it may be that your gateway or phone for some reason requires a separate H.245 connection.  If that is the case, the NAT should be set to forward TCP 5720 (or whatever port range the phone may listen for H.245 on), just like you forward TCP port 1720 for signaling.
>
>If the above doesn't help, send some details of configuration, whether you believe that a separate H.245 connection is needed, etc.
>
>--Stewart
>
>-----Original Message-----
>From: ??? [mailto:yuye@xxxxxxxx] 
>Sent: Thursday, November 25, 2004 7:19 PM
>To: openh323gk-users
>Subject:  HandleH245Address problem
>
>openh323gk-users:
>
>	Sorry for my poor English. Recently I downloaded gnugk-2.2.0 and it have worked well in most environment, but when I bought a new gateway, I met a problem. The other IP Phones are NATed endpoints with citron protocol and the gateway has public address. The IP Phones can call PSTN Phones through gateway but when PSTN Phones call IP Phones, the IP Phones only ring once and then hang up. I looked into the gnugk log files and found that it was caused by the HandleH245Address(Setup) function which is called by bool CallSignalSocket::CreateRemote(H225_Setup_UUIE & Setup)  function in ProxyChannel.cxx file. Because of the h225 address included in setup Q931 pdu is a NATed address and port, the gnugk can only substitute the NATed address by NAT device’s address, but the NATed port remained. For example, if the IP Phone's IP is 192.168.6.1 and select 5720 port for h225 channel and NAT device's address is 159.226.5.1.The h225 address in the Q931 pdu will be 192.168.6.1:5720, the gnugk can only translate the h225 address to 159.226.5.1:5720. When it try to connect the remote 159.226.5.1:5720, it will be failed and then the gnugk will send the ReleaseComplete message to the both sides of communication. 	If the setup Q931 pdu include no h225address, everything is fine. In this case, the HandleH245Address(Setup) will simply return false and there is no rule to check it return true or false. So I add a “//” in front of the HandleH245Address(Setup) sentence and it seemed that the problem solved!  
>	I don’t know whether the modification will cause other problems. Is the HandleH245Address(Setup) useless or just have some bugs or it is right and I must change the configuration of my gateway ? It will be much appreciated for your answer.
>
>
>Zhang Yuye
>yuye@xxxxxxxx
>2004-11-26
>Hj?yNLvyvzjv??!《?z??苟??J????jz??z酆捕?z??????
>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now. 
>http://productguide.itmanagersjournal.com/
>
>_______________________________________________________
>
>List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
>Archive: http://sourceforge.net/mailarchive/forum.php?forum_id49
>Homepage: http://www.gnugk.org/

= = = = = = = = = = = = = = = = = = = =
			

        
Sincerely 
				 
Zhang Yuye
yuye@xxxxxxxx
2004-11-26

????????????????????????????N??v??y?'z?q┹?蘧'安??ky?|??nr????标禳8???brk≯????鳟?-?rワ业???x'?岫??k≯??镡???:.????????????????????????.+-?^?鲛	?谦躇b槽??q玷????b斤岫??(悍~?{?幅?V??麒??????z&z?{???0??O?

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

  Powered by Linux