i seting my server got gungk,firewall got NAT function in public IP and my gateway is behind NAT. when i make a phone call, the caller always can't heard my voice and i can heard the voice very clear. call flow is Fxs gateway -> Gnugk -> GK -> CISCO 5300 i found always got error like Error(0): Bad file descriptor (8:9) or forward blocked 2005/01/14 12:15:30.810 3 ProxyChannel.cxx(1677) GK Call 1 is NAT type 0 2005/01/14 12:15:30.811 3 ProxyChannel.cxx(595) GK Call 1 proxy enabled 2005/01/14 12:15:31.087 3 ProxyChannel.cxx(2149) Q931 Connect to 216.2.1.2:1720 successful 2005/01/14 12:15:34.073 2 RasSrv.cxx(168) RAS Read from 192.168.1.115:1024 2005/01/14 12:15:34.074 3 RasSrv.cxx(207) RAS 2005/01/14 12:28:14.831 3 yasocket.cxx(500) ProxyH Select error: 10 2005/01/14 12:28:14.832 3 yasocket.cxx(600) Q931s 192.168.1.115:1035 Error(0): Bad file descriptor (8:9) 2005/01/14 12:28:14.835 3 yasocket.cxx(600) Q931d 216.2.1.2:1720 Error(0): Bad file descriptor (8:9) 2005/01/14 12:28:14.836 3 yasocket.cxx(758) ProxyH(0) waiting... 2005/01/14 12:28:14.836 3 yasocket.cxx(758) ProxyH(0) waiting... 2005/01/14 12:28:14.848 3 ProxyChannel.cxx(3446) Proxy 192.168.1.115:1037 forward blocked 2005/01/14 12:28:14.850 3 ProxyChannel.cxx(3446) Proxy 192.168.1.115:1037 forward blocked 2005/01/14 12:28:14.853 3 ProxyChannel.cxx(3446) Proxy 192.168.1.115:1037 forward blocked my gnugk setting is [Gatekeeper::Main] Fourtytwo=42 Name=KGGK TimeToLive=60 StatusPort=7000 TotalBandwidth=150000 [RoutedMode] GKRouted=1 H245Routed=1 CallSignalPort=1720 RemoveH245AddressOnTunneling=1 AcceptNeighborsCalls=1 AcceptUnregisteredCalls=1 SupportNATedEndpoints=1 DropCallsByReleaseComplete=1 Q931PortRange=20000-20999 H245PortRange=30000-30999 [Proxy] Enable=1 ProxyForNAT=1 T120PortRange=40000-40999 RTPPortRange=50000-59999 I think is NAT problem so i try to set my server only gnugk didn't have firewall or nat function and my fxs gateway in another public ip. seem like same problem happen. the caller still can't heard my sound. in log i file read timeout?, Error(0): (0:0), forward blocked or Close one unused ConnectThread, left 1 can anyone tell me what situation cause this kind of problem. Thank. 2005/01/14 18:00:51.708 3 ProxyThread.cxx(529) ProxyL Connected from 60.48.45.64:1043 2005/01/14 18:00:52.163 3 ProxyThread.cxx(414) Proxy 60.48.45.64:1043 read timeout? 2005/01/14 18:00:52.164 3 ProxyThread.cxx(414) Proxy 60.48.45.64:1043 read timeout? 2005/01/14 18:00:52.219 3 ProxyChannel.cxx(475) Q931s Received: Setup CRV=18357 from 60.48.45.64:1043 2005/01/14 18:00:52.230 3 gkauth.cxx(1288) GKAUTH default Setup check ok 2005/01/14 18:00:53.149 3 gkacct.cxx(994) GKACCT SQLAcct logged event 1 for call no. 1 2005/01/14 18:00:53.149 3 gkacct.cxx(994) GKACCT default logged event 1 for call no. 1 2005/01/14 18:00:53.150 2 gkacct.cxx(1034) GKACCT Successfully logged event 1 for call no. 1 2005/01/14 18:00:53.150 3 ProxyChannel.cxx(1269) GK Call 1 is NAT type 0 2005/01/14 18:00:53.150 3 ProxyChannel.cxx(1915) H245 Set h245Address to 218.1.1.158:32781 2005/01/14 18:00:53.151 2 ProxyThread.cxx(729) Proxy Create a new ConnectThread, total 1 2005/01/14 18:00:53.151 2 thread.cxx(31) ProxyConnectThread 2567 started 2005/01/14 18:00:53.238 2 ProxyThread.cxx(729) Proxy Create a new ConnectThread, total 2 2005/01/14 18:00:53.239 3 ProxyThread.cxx(675) ProxyH(0) waiting... 2005/01/14 18:00:53.239 2 thread.cxx(31) ProxyConnectThread 2568 started 2005/01/14 18:00:53.474 3 ProxyChannel.cxx(780) Q931(2568) Connect to 216.2.1.2:1720 successful 2005/01/14 18:00:56.709 3 ProxyChannel.cxx(475) Q931d Received: CallProceeding CRV=18357 from 216.2.1.2:1720 2005/01/14 18:00:56.711 3 ProxyChannel.cxx(475) Q931d Received: Alerting CRV=18357 from 216.2.1.2:1720 2005/01/14 18:01:03.933 3 ProxyChannel.cxx(475) Q931d Received: Facility CRV=18357 from 216.2.1.2:1720 2005/01/14 18:01:08.290 2 Toolkit.cxx(96) Network=218.1.1.156/255.255.255.252, IP=218.1.1.158 2005/01/14 18:01:08.290 2 Toolkit.cxx(96) Network=192.168.1.0/255.255.255.0, IP=192.168.1.1 2005/01/14 18:01:08.290 2 Toolkit.cxx(96) Network=169.254.0.0/255.255.0.0, IP=192.168.1.1 2005/01/14 18:01:08.290 2 Toolkit.cxx(97) Default IP=218.1.1.158 2005/01/14 18:01:08.292 3 RasSrv.cxx(2610) GK Send to 216.2.1.2:1719 registrationRequest { requestSeqNum = 5 protocolIdentifier = 0.0.8.2250.0.2 discoveryComplete = FALSE callSignalAddress = 1 entries { [0]=ipAddress { ip = 4 octets { da 6f 72 9e .or. } port = 1720 } } rasAddress = 1 entries { [0]=ipAddress { ip = 4 octets { da 6f 72 9e .or. } port = 1719 } } terminalType = { gatekeeper = { } gateway = { } mc = FALSE undefinedNode = FALSE } terminalAlias = 1 entries { [0]=h323_ID 7 characters { 0030 002e 0030 002e 0030 002e 0030 0.0.0.0 } } endpointVendor = { vendor = { t35CountryCode = 0 t35Extension = 0 manufacturerCode = 0 } productId = 64 octets { 47 4e 55 20 47 61 74 65 6b 65 65 70 65 72 20 6f GNU Gatekeeper o 6e 20 4c 69 6e 75 78 20 69 36 38 36 20 32 2e 36 n Linux i686 2.6 2e 39 2d 31 2e 33 5f 46 43 32 2c 20 44 65 63 20 .9-1.3_FC2, Dec 20 37 20 32 30 30 34 20 31 35 3a 31 31 3a 31 31 7 2004 15:11:11 } versionId = 13 octets { 56 65 72 73 69 6f 6e 20 32 2e 30 2e 39 Version 2.0.9 } } timeToLive = 900 keepAlive = FALSE willSupplyUUIEs = FALSE maintainConnection = FALSE supportsAltGK = <<null>> multipleCalls = TRUE } 2005/01/14 18:01:09.045 2 RasSrv.cxx(2702) GK Read from 60.48.45.64:1024 2005/01/14 18:01:09.046 3 RasSrv.cxx(2714) GK registrationRequest { requestSeqNum = 27692 protocolIdentifier = 0.0.8.2250.0.4 discoveryComplete = FALSE callSignalAddress = 1 entries { [0]=ipAddress { ip = 4 octets { 3c 30 2d 40 <0-@ } port = 1720 } } rasAddress = 1 entries { [0]=ipAddress { ip = 4 octets { 3c 30 2d 40 <0-@ } port = 1024 } } terminalType = { vendor = { vendor = { t35CountryCode = 0 t35Extension = 0 manufacturerCode = 0 } productId = 5 octets { 32 41 46 58 53 2AFXS } versionId = 3 octets { 32 30 34 204 } } terminal = { } mc = FALSE undefinedNode = FALSE } terminalAlias = 3 entries { [0]=h323_ID 5 characters { 0032 0041 0046 0058 0053 2AFXS } [1]=dialedDigits "273999" [2]=dialedDigits "273900" } gatekeeperIdentifier = 4 characters { 004b 0047 0047 004b KGGK } endpointVendor = { vendor = { t35CountryCode = 0 t35Extension = 0 manufacturerCode = 0 } productId = 5 octets { 32 41 46 58 53 2AFXS } versionId = 3 octets { 32 30 34 204 } } timeToLive = 16384 keepAlive = TRUE endpointIdentifier = 9 characters { 0032 0034 0036 0034 005f 0065 006e 0064 2464_end 0070 p } willSupplyUUIEs = FALSE maintainConnection = FALSE } 2005/01/14 18:01:09.047 1 RasSrv.cxx(1056) GK RRQ Received 2005/01/14 18:01:09.047 3 RasSrv.cxx(2632) GK Send to 60.48.45.64:1024 registrationConfirm { requestSeqNum = 27692 protocolIdentifier = 0.0.8.2250.0.4 callSignalAddress = 1 entries { [0]=ipAddress { ip = 4 octets { da 6f 72 9e .or. } port = 1720 } } gatekeeperIdentifier = 4 characters { 004b 0047 0047 004b KGGK } endpointIdentifier = 9 characters { 0032 0034 0036 0034 005f 0065 006e 0064 2464_end 0070 p } timeToLive = 60 willRespondToIRR = FALSE maintainConnection = FALSE } 2005/01/14 18:01:12.561 3 ProxyChannel.cxx(475) Q931d Received: Connect CRV=18357 from 216.2.1.2:1720 2005/01/14 18:01:12.563 3 ProxyChannel.cxx(475) Q931d Received: Facility CRV=18357 from 216.2.1.2:1720 2005/01/14 18:01:12.564 3 ProxyChannel.cxx(1915) H245 Set h245Address to 218.1.1.158:32781 2005/01/14 18:01:12.756 3 ProxyChannel.cxx(1866) H245 Connected from 60.48.45.64:1026 2005/01/14 18:01:12.990 3 ProxyChannel.cxx(1886) H245(2567) Connect to 216.2.1.2:46230 successful 2005/01/14 18:01:26.029 3 ProxyChannel.cxx(475) Q931d Received: ReleaseComplete CRV=18357 from 216.2.1.2:1720 2005/01/14 18:01:26.031 1 RasTbl.cxx(2441) CDR|1|02 b2 1e 30 8f 06 1b 8f 1a b2 00 01 a8 01 07 de|14|Fri, 14 Jan 2005 18:01:12 +0800|Fri, 14 Jan 2005 18:01:26 +0800|60.48.45.64:1720|2464_endp|216.2.1.2:1720|2463_endp|008613506123028:dialedDigits|2AFXS:h323_ID=273900:dialedDigits|KGGK; 2005/01/14 18:01:26.032 3 gkacct.cxx(994) GKACCT FileAcct logged event 2 for call no. 1 2005/01/14 18:01:26.082 3 gkacct.cxx(994) GKACCT SQLAcct logged event 2 for call no. 1 2005/01/14 18:01:26.082 3 gkacct.cxx(994) GKACCT default logged event 2 for call no. 1 2005/01/14 18:01:26.082 2 gkacct.cxx(1034) GKACCT Successfully logged event 2 for call no. 1 2005/01/14 18:01:26.083 3 ProxyThread.cxx(209) H245d 216.2.1.2:46230 Error(0): (0:0) 2005/01/14 18:01:26.154 3 ProxyThread.cxx(700) Proxy 60.48.45.64:1026 forward blocked 2005/01/14 18:01:26.420 2 RasSrv.cxx(2702) GK Read from 60.48.45.64:1024 2005/01/14 18:01:26.421 3 RasSrv.cxx(2714) GK disengageRequest { requestSeqNum = 27693 endpointIdentifier = 9 characters { 0032 0034 0036 0034 005f 0065 006e 0064 2464_end 0070 p } conferenceID = 16 octets { 02 b2 1e 30 8f 06 1b 8f 1a b3 00 01 a8 01 07 de ...0............ } callReferenceValue = 18357 disengageReason = normalDrop <<null>> callIdentifier = { guid = 16 octets { 02 b2 1e 30 8f 06 1b 8f 1a b2 00 01 a8 01 07 de ...0............ } } gatekeeperIdentifier = 4 characters { 004b 0047 0047 004b KGGK } answeredCall = FALSE } 2005/01/14 18:01:26.421 1 RasSrv.cxx(2097) GK DRQ Received 2005/01/14 18:01:26.421 3 gkauth.h(831) GKAUTH default check ok 2005/01/14 18:01:26.422 3 RasTbl.cxx(2391) GK No CallRec found for DRQ 2005/01/14 18:01:26.422 2 RasSrv.cxx(2147) DCF|60.48.45.64|2464_endp|18357|normalDrop; 2005/01/14 18:01:26.422 3 RasSrv.cxx(2632) GK Send to 60.48.45.64:1024 disengageConfirm { requestSeqNum = 27693 } 2005/01/14 18:01:26.426 3 ProxyThread.cxx(209) H245s 60.48.45.64:1026 Error(0): (0:0) 2005/01/14 18:01:26.426 3 ProxyThread.cxx(675) ProxyH(0) waiting... 2005/01/14 18:01:26.426 3 ProxyThread.cxx(675) ProxyH(0) waiting... 2005/01/14 18:01:49.154 2 RasSrv.cxx(2702) GK Read from 60.48.45.64:1024 2005/01/14 18:01:49.155 3 RasSrv.cxx(2714) GK registrationRequest { requestSeqNum = 27694 protocolIdentifier = 0.0.8.2250.0.4 discoveryComplete = FALSE callSignalAddress = 1 entries { [0]=ipAddress { ip = 4 octets { 3c 30 2d 40 <0-@ } port = 1720 } } rasAddress = 1 entries { [0]=ipAddress { ip = 4 octets { 3c 30 2d 40 <0-@ } port = 1024 } } terminalType = { vendor = { vendor = { t35CountryCode = 0 t35Extension = 0 manufacturerCode = 0 } productId = 5 octets { 32 41 46 58 53 2AFXS } versionId = 3 octets { 32 30 34 204 } } terminal = { } mc = FALSE undefinedNode = FALSE } terminalAlias = 3 entries { [0]=h323_ID 5 characters { 0032 0041 0046 0058 0053 2AFXS } [1]=dialedDigits "273999" [2]=dialedDigits "273900" } gatekeeperIdentifier = 4 characters { 004b 0047 0047 004b KGGK } endpointVendor = { vendor = { t35CountryCode = 0 t35Extension = 0 manufacturerCode = 0 } productId = 5 octets { 32 41 46 58 53 2AFXS } versionId = 3 octets { 32 30 34 204 } } timeToLive = 16384 keepAlive = TRUE endpointIdentifier = 9 characters { 0032 0034 0036 0034 005f 0065 006e 0064 2464_end 0070 p } willSupplyUUIEs = FALSE maintainConnection = FALSE } 2005/01/14 18:01:49.155 1 RasSrv.cxx(1056) GK RRQ Received 2005/01/14 18:01:49.156 3 RasSrv.cxx(2632) GK Send to 60.48.45.64:1024 registrationConfirm { requestSeqNum = 27694 protocolIdentifier = 0.0.8.2250.0.4 callSignalAddress = 1 entries { [0]=ipAddress { ip = 4 octets { da 6f 72 9e .or. } port = 1720 } } gatekeeperIdentifier = 4 characters { 004b 0047 0047 004b KGGK } endpointIdentifier = 9 characters { 0032 0034 0036 0034 005f 0065 006e 0064 2464_end 0070 p } timeToLive = 60 willRespondToIRR = FALSE maintainConnection = FALSE } 2005/01/14 18:01:52.322 1 ProxyThread.cxx(758) ProxyH(0) Close one unused ConnectThread, left 1 2005/01/14 18:01:52.322 2 thread.cxx(35) ProxyConnectThread 2568 closed __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________________ List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/