Hi all, i'm trying to connect to a Notel_H323_GateKeeper i'm using asterisk 1.0.9 and the latest mimas path of pwlib and openh323 from http://www.voxgratia.org/downloads.html to let asterisk start i had to add in asterisk the lines noload => pbx_dundi.so noload => app_dumpchan.so noload => app_while.so noload => pbx_loopback.so noload => app_realtime.so noload => pbx_realtime.so noload => app_md5.so noload => app_readfile.so anyway my problem is that from the remote gatekeeper, i can only get a Gatekeeper found but failed to register. the sysadmin said me that my ras request come from 127.0.0.1 and i don't know why in the log i can read ... rasAddress = 1 entries { [0]=ipAddress { ip = 4 octets { 7f 00 00 01 .... } port = 10002 } } and "Starting listener thread on Transport[remote=ip$80.74.178.196:1719 if=ip$127.0.0.1:10001]" why this ? i can't see in the oh323.conf nothing about that the gatekeeper is at 80.74.178.196 my asterisk box is 10.24.2.253 any idea? what i'm missing ? or there's something wrong or missing on the other side? thank you very much Mik i paste the log and the oh323.conf here's the full log ------------------------------------------------------------------------------------------------------ 0:00.032 asterisk-oh323 H323 Created endpoint. 0:00.033 asterisk-oh323 H323 Started listener Listener[ip$10.24.2.253:1720] 0:00.033 asterisk-oh323 H323 Added capability: G.711-ALaw-64k{hw} <1> 0:00.033 asterisk-oh323 H323 Added capability: UserInput/hookflash <2> 0:00.033 asterisk-oh323 H323 Added capability: UserInput/basicString <3> 0:00.033 asterisk-oh323 H323 Added capability: UserInput/dtmf <4> 0:00.033 asterisk-oh323 H323 Added capability: UserInput/RFC2833 <5> 0:00.054 H323 Cleaner H323 Started cleaner thread 0:00.054 H323 Listener:8127630 H323 Awaiting TCP connections on port 1720 0:00.054 H323 Listener:8127630 TCP Waiting on socket accept on ip$10.24.2.253:1720 0:00.054 GKRegThread:08127b98 H323UDP Binding to interface: :::10001 0:00.086 GkMonitor:8129618 RAS Background thread started 0:00.132 GKRegThread:08127b98 RAS Authenticator H235AnnexD_Procedure1<no-pwd> not active during GRQ SetCapability negotiation 0:00.132 GKRegThread:08127b98 RAS Authenticator CAT<no-pwd> not active during GRQ SetCapability negotiation 0:00.132 GKRegThread:08127b98 RAS Authenticator MD5<no-pwd> not active during GRQ SetCapability negotiation 0:00.132 GKRegThread:08127b98 H225 Started gatekeeper discovery of "ip$80.74.178.196" 0:00.133 GKRegThread:08127b98 RAS Searching interfaces: 127.0.0.1 [00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01] <00-00-00-00-00-00> (lo) 10.24.2.253 [fe:80:00:00:00:00:00:00:02:01:02:ff:fe:12:02:92] <00-01-02-12-02-92> (eth0) 0:00.133 GKRegThread:08127b98 RAS Gatekeeper discovery on interface: 10.24.2.253:10002 0:00.133 GKRegThread:08127b98 Trans Sending PDU: gatekeeperRequest { requestSeqNum = 33794 protocolIdentifier = 0.0.8.2250.0.4 rasAddress = ipAddress { ip = 4 octets { 0a 18 02 fd .... } port = 10002 } endpointType = { vendor = { vendor = { t35CountryCode = 9 t35Extension = 0 manufacturerCode = 61 } productId = 61 octets { 69 6e 41 63 63 65 73 73 20 4e 65 74 77 6f 72 6b inAccess Network 73 20 28 77 77 77 2e 69 6e 61 63 63 65 73 73 6e s (www.inaccessn 65 74 77 6f 72 6b 73 2e 63 6f 6d 29 20 61 73 74 etworks.com) ast 65 72 69 73 6b 2d 6f 68 33 32 33 00 00 erisk-oh323.. } versionId = 26 octets { 30 2e 36 2e 37 20 28 4f 70 65 6e 48 33 32 33 20 0.6.7 (OpenH323 76 31 2e 31 35 2e 36 29 00 00 v1.15.6).. } } gateway = { protocol = 1 entries { [0]=voice { supportedPrefixes = 0 entries { } } } } mc = FALSE undefinedNode = FALSE } endpointAlias = 1 entries { [0]=h323_ID 8 characters { 0041 0053 0054 0045 0052 0049 0053 004b ASTERISK } } supportsAltGK = <<null>> } 0:00.171 GKRegThread:08127b98 H225RAS Receiving PDU: gatekeeperConfirm { requestSeqNum = 33794 protocolIdentifier = 0.0.8.2250.0.4 gatekeeperIdentifier = 22 characters { 004e 006f 0072 0074 0065 006c 005f 0048 Nortel_H 0033 0032 0033 005f 0047 0061 0074 0065 323_Gate 006b 0065 0065 0070 0065 0072 keeper } rasAddress = ipAddress { ip = 4 octets { 50 4a b2 c4 PJ.. } port = 1719 } } 0:00.171 GKRegThread:08127b98 RAS Gatekeeper discovery found ip$80.74.178.196:1719 0:00.171 GKRegThread:08127b98 RAS Gatekeeper discovered at: 80.74.178.196:1719 (if=10.24.2.253:10002) 0:00.173 GKRegThread:08127b98 TCP Appending H.225 transport ip$10.24.2.253:1720 using associated transport Transport[remote=ip$80.74.178.196:1719 if=ip$127.0.0.1:10001] 0:00.173 GKRegThread:08127b98 Trans Making request: registrationRequest 0:00.174 GKRegThread:08127b98 Trans Sending PDU: registrationRequest { requestSeqNum = 33795 protocolIdentifier = 0.0.8.2250.0.4 discoveryComplete = TRUE callSignalAddress = 1 entries { [0]=ipAddress { ip = 4 octets { 0a 18 02 fd .... } port = 1720 } } rasAddress = 1 entries { [0]=ipAddress { ip = 4 octets { 7f 00 00 01 .... } port = 10002 } } terminalType = { vendor = { vendor = { t35CountryCode = 9 t35Extension = 0 manufacturerCode = 61 } productId = 61 octets { 69 6e 41 63 63 65 73 73 20 4e 65 74 77 6f 72 6b inAccess Network 73 20 28 77 77 77 2e 69 6e 61 63 63 65 73 73 6e s (www.inaccessn 65 74 77 6f 72 6b 73 2e 63 6f 6d 29 20 61 73 74 etworks.com) ast 65 72 69 73 6b 2d 6f 68 33 32 33 00 00 erisk-oh323.. } versionId = 26 octets { 30 2e 36 2e 37 20 28 4f 70 65 6e 48 33 32 33 20 0.6.7 (OpenH323 76 31 2e 31 35 2e 36 29 00 00 v1.15.6).. } } gateway = { protocol = 1 entries { [0]=voice { supportedPrefixes = 0 entries { } } } } mc = FALSE undefinedNode = FALSE } terminalAlias = 1 entries { [0]=h323_ID 8 characters { 0041 0053 0054 0045 0052 0049 0053 004b ASTERISK } } gatekeeperIdentifier = 22 characters { 004e 006f 0072 0074 0065 006c 005f 0048 Nortel_H 0033 0032 0033 005f 0047 0061 0074 0065 323_Gate 006b 0065 0065 0070 0065 0072 keeper } endpointVendor = { vendor = { t35CountryCode = 9 t35Extension = 0 manufacturerCode = 61 } productId = 61 octets { 69 6e 41 63 63 65 73 73 20 4e 65 74 77 6f 72 6b inAccess Network 73 20 28 77 77 77 2e 69 6e 61 63 63 65 73 73 6e s (www.inaccessn 65 74 77 6f 72 6b 73 2e 63 6f 6d 29 20 61 73 74 etworks.com) ast 65 72 69 73 6b 2d 6f 68 33 32 33 00 00 erisk-oh323.. } versionId = 26 octets { 30 2e 36 2e 37 20 28 4f 70 65 6e 48 33 32 33 20 0.6.7 (OpenH323 76 31 2e 31 35 2e 36 29 00 00 v1.15.6).. } } timeToLive = 600 keepAlive = FALSE willSupplyUUIEs = TRUE maintainConnection = FALSE supportsAltGK = <<null>> usageReportingCapability = { nonStandardUsageTypes = 0 entries { } startTime = <<null>> endTime = <<null>> terminationCause = <<null>> } callCreditCapability = { canEnforceDurationLimit = TRUE } } 0:00.174 GKRegThread:08127b98 Trans Waiting on response to seqnum=33795 for 3.0 seconds 0:00.175 Transactor:8128ad0 Trans Starting listener thread on Transport[remote=ip$80.74.178.196:1719 if=ip$127.0.0.1:10001] 0:00.175 Transactor:8128ad0 Trans Reading PDU 0:03.174 GKRegThread:08127b98 Trans Timeout on request seqnum=33795, try #1 of 2 0:03.174 GKRegThread:08127b98 Trans Sending PDU: registrationRequest { requestSeqNum = 33795 protocolIdentifier = 0.0.8.2250.0.4 discoveryComplete = TRUE callSignalAddress = 1 entries { [0]=ipAddress { ip = 4 octets { 0a 18 02 fd .... } port = 1720 } } rasAddress = 1 entries { [0]=ipAddress { ip = 4 octets { 7f 00 00 01 .... } port = 10002 } } terminalType = { vendor = { vendor = { t35CountryCode = 9 t35Extension = 0 manufacturerCode = 61 } productId = 61 octets { 69 6e 41 63 63 65 73 73 20 4e 65 74 77 6f 72 6b inAccess Network 73 20 28 77 77 77 2e 69 6e 61 63 63 65 73 73 6e s (www.inaccessn 65 74 77 6f 72 6b 73 2e 63 6f 6d 29 20 61 73 74 etworks.com) ast 65 72 69 73 6b 2d 6f 68 33 32 33 00 00 erisk-oh323.. } versionId = 26 octets { 30 2e 36 2e 37 20 28 4f 70 65 6e 48 33 32 33 20 0.6.7 (OpenH323 76 31 2e 31 35 2e 36 29 00 00 v1.15.6).. } } gateway = { protocol = 1 entries { [0]=voice { supportedPrefixes = 0 entries { } } } } mc = FALSE undefinedNode = FALSE } terminalAlias = 1 entries { [0]=h323_ID 8 characters { 0041 0053 0054 0045 0052 0049 0053 004b ASTERISK } } gatekeeperIdentifier = 22 characters { 004e 006f 0072 0074 0065 006c 005f 0048 Nortel_H 0033 0032 0033 005f 0047 0061 0074 0065 323_Gate 006b 0065 0065 0070 0065 0072 keeper } endpointVendor = { vendor = { t35CountryCode = 9 t35Extension = 0 manufacturerCode = 61 } productId = 61 octets { 69 6e 41 63 63 65 73 73 20 4e 65 74 77 6f 72 6b inAccess Network 73 20 28 77 77 77 2e 69 6e 61 63 63 65 73 73 6e s (www.inaccessn 65 74 77 6f 72 6b 73 2e 63 6f 6d 29 20 61 73 74 etworks.com) ast 65 72 69 73 6b 2d 6f 68 33 32 33 00 00 erisk-oh323.. } versionId = 26 octets { 30 2e 36 2e 37 20 28 4f 70 65 6e 48 33 32 33 20 0.6.7 (OpenH323 76 31 2e 31 35 2e 36 29 00 00 v1.15.6).. } } timeToLive = 600 keepAlive = FALSE willSupplyUUIEs = TRUE maintainConnection = FALSE supportsAltGK = <<null>> usageReportingCapability = { nonStandardUsageTypes = 0 entries { } startTime = <<null>> endTime = <<null>> terminationCause = <<null>> } callCreditCapability = { canEnforceDurationLimit = TRUE } } 0:03.175 GKRegThread:08127b98 Trans Waiting on response to seqnum=33795 for 3.0 seconds 0:06.175 GKRegThread:08127b98 Trans Waiting again on response to seqnum=33795 for -0.0 seconds 0:06.175 GKRegThread:08127b98 Trans Timeout on request seqnum=33795, try #2 of 2 0:06.175 GKRegThread:08127b98 RAS Failed registration of with Nortel_H323_Gatekeeper ------------------------------------------------------------------------------------------------------ here's the oh323.conf ; ; Configuration file of OpenH323 channel driver ; ;----------------------------------------- ; General configuration options ; (ports, jitter, GK, ...) ;----------------------------------------- [general] ; ; Address to bind to for incoming connections. ; Default is ALL. ; listenAddress=10.24.2.253 ; ; Port to listen to. ; Default value is 1720. ; listenPort=1720 ; ; Configure the TCP port range to be used by H.323 ; tcpStart=10000 tcpEnd=20000 ; ; Configure the UDP port range to be used by H.323 ; Note: The port range used by RTP are configured from ; "rtp.conf" ; udpStart=10000 udpEnd=20000 ; ; Enable fast start (yes,no). ; fastStart=yes ; ; Enable H.245 tunnelling (yes,no). ; h245Tunnelling=yes ; ; Enable early H.245 messages in call SETUP message. ; h245inSetup=yes ; ; Set jitter buffer (in milliseconds, 20...10000). ; jitterMin=20 jitterMax=100 ; ; Set IP Type-of-Service byte for RTP channels. ; Valid values for this option are: ; lowdelay, throughput, reliability, mincost, none ; Moreover, an integer (in decimal or hex format) may be entered. ; ipTos=none ; ; Set the maximum number of inbound/outbound/simultaneous ; H.323 connections. ; outboundMax=100 inboundMax=100 simultaneousMax=100 ; ; Call Rate Limiter params (ingress direction). When the total number ; of active calls is above 'crlThreshold' then the rate of the incoming ; H.323 calls is restricted in a way where no more than 'crlCallNumber' ; calls are allowed in 'crlCallTime' milliseconds, thus limiting the rate ; of incoming calls to: ; 'crlCallNumber' / ('crlCallTime' / 1000) Calls-per-Sec. ; ;crlCallNumber=20 ;crlCallTime=20000 ;crlThreshold=30 ; ; Set the bandwidth limit for H.323 connections. ; The value is in Kbps. ; ;bandwidthLimit=1024 ; ; Set tracing options for the wrapper library and for the ; OpenH323 library. ; libTraceFile can be 'stdout' or a full path name to the tracefile. ; Only the trace info for OpenH323 is logged in libTraceFile. ; wrapLibTraceLevel=5 libTraceLevel=5 libTraceFile=/var/log/asterisk/oh323.log ; ; Disable gatekeeper or specify a gatekeeper. The gatekeeper's ID is the ; zone name. ; Valid values for this option are: ; DISABLE, ; DISCOVER, ; <gatekeeper's DNS name>, ; <gatekeeper's ip>, ; GKID:<gatekeeper's id> ; <gatekeeper's id>@<gatekeeper's name or address> ; ;gatekeeper=Nortel_H323_Gatekeeper@xxxxxxxxxxxxx gatekeeper=80.74.178.196 ;gatekeeper=ASTERISK@xxxxxxxxxxxxx ;gatekeeper=DISCOVER ; ; Set the gatekeeper password. If used, it enables H.235 access to gatekeeper. ; ;gatekeeperPassword=ASTERISK ; ; Set the gatekeeper registration timeout. Before the expiration of ; the timeout, a re-registration is attempted. ; gatekeeperTTL=600 ; ; Set the mode for sending user-input (DTMF) ; Valid values for this option are: ; Q931 - Q.931 Keypad Information Element ; STRING - H.245 string ; TONE - H.245 tone ; RFC2833 - RFC2833 ; INBAND - ; userInputMode=RFC2833 ; ; AMA flags (default, omit, billing, documentation) ; amaFlags=default ; ; Account code ; ;accountCode=H323 ; ; Default language ; language=en ; ; Default Music-On-Hold class ; musiconhold=default ; ; Set the default context of H.323 calls. ; context=voip-h323 ;----------------------------------------- ; Configure H.323 aliases, prefixes and ; related ASTERISK's contexts ;----------------------------------------- [register] ; ; Aliases/prefixes associated with the default context ; defined in section [general]. ; alias=ASTERISK ;alias=ASTERIX ;alias=123 ; ; Aliases/prefixes routed in "all-aliases" context. ; context=all-aliases alias=ASTERISK ;alias=666 ; ; Aliases/prefixes routed in "more-aliases" context. ; ;context=more-aliases ;alias=665 ; ; Aliases/prefixes routed in "all-prefixes" context. ; ;context=all-prefixes ;gwprefix=00 ;gwprefix=01 ; ; Aliases/prefixes routed in "more-stuff" context. ; ;context=more-stuff ;alias=664 ;gwprefix=02 ;----------------------------------------- ; Specify and configure CODEC related ; options ;----------------------------------------- [codecs] ; ; Define the codec list of the channel driver. ; Every "codec" option may have a "frames" option ; associated with it. ; Valid values for the "codec" option are: ; G711U - G.711 u-Law ; G711A - G.711 A-Law ; G7231 - G.723.1(6.3k) ; G72316K3 - G.723.1(6.3k) ; G72315K3 - G.723.1(5.3k) ; G7231A6K3 - G.723.1A(6.3k) ; G7231A6K3 - G.723.1A(6.3k) ; G726 - G.726(32k) ; G72616K - G.726(16k) ; G72624K - G.726(24k) ; G72632K - G.726(32k) ; G72640K - G.726(40k) ; G728 - G.728 ; G729 - G.729 ; G729A - G.729A ; G729B - G.729B ; G729AB - G.729AB ; GSM0610 - GSM 0610 ; MSGSM - Microsoft GSM Audio Capability ; LPC10 - LPC-10 ; Number of frames in RTP packet (if not specified) is 1. ; codec=G711A frames=20 ;codec=G711U ;frames=20 ;codec=GSM0610 ;frames=4 ;codec=G7231 ;frames=2 ;codec=G729 ;frames=2 ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it ------------------------------------------------------- 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/