The citron protocol does not work well when tunneling is disabled. Try to enable H.245 tunneling. You will not only get rid of problem, but get a better performance/faster audio setup time. ----- Original Message ----- From: "张玉业" <yuye@xxxxxxxx> Sent: Friday, November 26, 2004 4:19 AM > 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 ------------------------------------------------------- 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_id?9 Homepage: http://www.gnugk.org/