[Asterisk-Users] H323 REGISTRATION PROBLEM: Gatekeeper 'Nortel_H323_Gatekeeper@.. ' found but failed to register

mik sib miksib2000 at yahoo.it
Tue Oct 25 07:41:23 MST 2005


Hi all

First of all excuse me if i make such a big post, hope
also to write in the right place.

I need to connect my linux/asterisk (10.0.0.252) box
to a Nortel PBX (192.168.1.10) with h323
I'd like to allow some phones to register via sip to
asterisk and
with these to the Nortel PBX wich gives me the
connections to the outside world (phone)

after downloading and compiling the latest asterisk
source from cvs
OpenH323 v1.15.6, PWlib v1.8.7 (Mimas version from
Voxgratia)
and oh323-0.7.3 from
http://www.inaccessnetworks.com/projects/asterisk-oh323/download/asterisk-oh323-0.7.3.tar.gz

starting asterisk i get
[4]WrapProcess::Main: Starting...
[1]WrapH323EndPoint::WrapH323EndPoint: Compile-time
libraries OpenH323 v1.15.6, PWlib v1.8.7
[2]WrapperAPI::h323_end_point_create: Endpoint
created.
[3]WrapperAPI::h323_set_options: Setting endpoint
options.
[3]WrapperAPI::h323_set_ports: Setting endpoint port
ranges.
[2]WrapperAPI::h323_removeall_capabilities: Removing
all capabilities.
[3]WrapH323EndPoint::RemoveAllCapabilities: Removing
all capabilities of local endpoint.
[5]WrapH323EndPoint::SetFrames: Setting 20
[5]WrapH323EndPoint::GetFrames: Returning 20
[2]WrapperAPI::h323_set_capability: Inserted
capability G.711-ALaw-64k{hw}
[3]WrapperAPI::h323_set_senduimode: User-input mode
set.
[2]WrapperAPI::h323_set_gk: Configuring gatekeeper.
[3]WrapH323EndPoint::SetGatekeeperTimeToLive:
Gatekeeper registration TTL set at 600 sec
[4]GKRegThread::GKRegThread: Object initialized.
[4]GKRegThread::GKRegThread: Unblock pipe - 20, 21
[3]WrapperAPI::h323_callback_register: Callback
functions installed.
[2]GKRegThread::Main: GK: name [192.168.1.10], zone []
[2]GKRegThread::Main: Failed to register with GK name
[192.168.1.10], zone []
[4]WrapperAPI::h323_get_gk: Checking gatekeeper.
 -- Gatekeeper 'Nortel_H323_Gatekeeper at 192.168.1.10'
found but failed to register

RAS	Failed registration of  with
Nortel_H323_Gatekeeper

i'm wondering three things.

FIRST QUESTION
Am'i right in the idea? is asterisk capable the
realize what i need ?

SECOND QUESTION
the guy working in the telco said me that i can see on
the Nortel pbx the connection attempt
but from 127.0.0.1. By reading the oh323.log i can see
that during the RAS phase my asterisk 
send the loopback address
in the following log i can see

    rasAddress = 1 entries {
      [0]=ipAddress {
        ip =  4 octets {
          7f 00 00 01                                 
      ....
        }
        port = 10002
      }
    }
0:00.145 GKRegThread:0816ac30	TCP	Appending H.225
transport ip$10.0.0.253:1720 using associated
transport Transport[remote=ip$192.168.1.10:1719
if=ip$127.0.0.1:10001]

THIRD QUESTION
why in the string
RAS	Failed registration of  with
Nortel_H323_Gatekeeper
after the word of there's only a blank space?

thank you very much for your patience and for your
precious help (i hope)

 
 in the oh323.log
 
   0:00.007	         asterisk-oh323	H323	Created
endpoint.
  0:00.029	           H323 Cleaner	H323	Started
cleaner thread
  0:00.029	         asterisk-oh323	H323	Started
listener Listener[ip$10.0.0.253:1720]
  0:00.030	         asterisk-oh323	H323	Added
capability: G.711-ALaw-64k{hw} <1>
  0:00.030	         asterisk-oh323	H323	Added
capability: UserInput/hookflash <2>
  0:00.030	         asterisk-oh323	H323	Added
capability: UserInput/basicString <3>
  0:00.030	         asterisk-oh323	H323	Added
capability: UserInput/dtmf <4>
  0:00.030	         asterisk-oh323	H323	Added
capability: UserInput/RFC2833 <5>
  0:00.054	  H323 Listener:816a698	H323	Awaiting TCP
connections on port 1720
  0:00.054	  H323 Listener:816a698	TCP	Waiting on
socket accept on ip$10.0.0.253:1720
  0:00.054	   GKRegThread:0816ac30	H323UDP	Binding to
interface: :::10001
  0:00.056	   GKRegThread:0816ac30	RAS	Authenticator
H235AnnexD_Procedure1<no-pwd> not active during GRQ
SetCapability negotiation
  0:00.056	   GKRegThread:0816ac30	RAS	Authenticator
CAT<no-pwd> not active during GRQ SetCapability
negotiation
  0:00.056	   GKRegThread:0816ac30	RAS	Authenticator
MD5<no-pwd> not active during GRQ SetCapability
negotiation
  0:00.056	   GKRegThread:0816ac30	H225	Started
gatekeeper discovery of "ip$192.168.1.10"
  0:00.056	   GKRegThread:0816ac30	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.0.0.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.056	   GKRegThread:0816ac30	RAS	Gatekeeper
discovery on interface: 10.0.0.253:10002
  0:00.057	      GkMonitor:816cae0	RAS	Background
thread started
  0:00.086	   GKRegThread:0816ac30	Trans	Sending PDU:
  gatekeeperRequest {
    requestSeqNum = 65022
    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 37 2e 33 20 28 4f  70 65 6e 48 33 32
33 20   0.7.3 (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>>
  }
Raw PDU:
 size=8f pos=7fffffff.0 {
000 02 20 fd fd 06 00 08 91 4a 00 04 00 0a 18 02 fd   
       J       
    27 12 28 c0 09 00 00 3d 3c 69 6e 41 63 63 65 73  
' (    =<inAcces
    73 20 4e 65 74 77 6f 72 6b 73 20 28 77 77 77 2e  
s Networks (www.
    69 6e 61 63 63 65 73 73 6e 65 74 77 6f 72 6b 73  
inaccessnetworks
    2e 63 6f 6d 29 20 61 73 74 65 72 69 73 6b 2d 6f  
.com) asterisk-o
    68 33 32 33 00 00 19 30 2e 37 2e 33 20 28 4f 70  
h323   0.7.3 (Op
    65 6e 48 33 32 33 20 76 31 2e 31 35 2e 36 29 00  
enH323 v1.15.6) 
    00 40 01 3c 05 01 00 00 01 40 07 00 41 00 53 00   
@ <     @  A S 
    54 00 45 00 52 00 49 00 53 00 4b 0e 02 01 00     
T E R I S K    
  }
  0:00.143	   GKRegThread:0816ac30	H225RAS	Receiving
PDU:
  gatekeeperConfirm {
    requestSeqNum = 65022
    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
    }
  }
Raw PDU:
 size=3f pos=3f.0 {
000 04 80 fd fd 06 00 08 91 4a 00 04 2a 00 4e 00 6f   
       J  * N o
    00 72 00 74 00 65 00 6c 00 5f 00 48 00 33 00 32   
r t e l _ H 3 2
    00 33 00 5f 00 47 00 61 00 74 00 65 00 6b 00 65   
3 _ G a t e k e
    00 65 00 70 00 65 00 72 00 50 4a b2 c4 06 b7      
e p e r PJ    
  }
  0:00.143	   GKRegThread:0816ac30	RAS	Gatekeeper
discovery found ip$192.168.1.10:1719
  0:00.144	   GKRegThread:0816ac30	RAS	Gatekeeper
discovered at: 192.168.1.10:1719 (if=10.0.0.253:10002)
  0:00.145	   GKRegThread:0816ac30	TCP	Appending H.225
transport ip$10.0.0.253:1720 using associated
transport Transport[remote=ip$192.168.1.10:1719
if=ip$127.0.0.1:10001]
  0:00.146	     Transactor:81710d8	Trans	Starting
listener thread on
Transport[remote=ip$192.168.1.10:1719
if=ip$127.0.0.1:10001]
  0:00.146	     Transactor:81710d8	Trans	Reading PDU
  0:00.146	   GKRegThread:0816ac30	Trans	Making
request: registrationRequest
  0:00.147	   GKRegThread:0816ac30	Trans	Sending PDU:
  registrationRequest {
    requestSeqNum = 65023
    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 37 2e 33 20 28 4f  70 65 6e 48 33 32
33 20   0.7.3 (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 37 2e 33 20 28 4f  70 65 6e 48 33 32 33
20   0.7.3 (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
    }
  }
Raw PDU:
 size=134 pos=7fffffff.0 {
000 0e c0 fd fe 06 00 08 91 4a 00 04 80 01 00 0a 18   
       J       
    02 fd 06 b8 01 00 7f 00 00 01 27 12 28 c0 09 00   
         ' (   
    00 3d 3c 69 6e 41 63 63 65 73 73 20 4e 65 74 77   
=<inAccess Netw
    6f 72 6b 73 20 28 77 77 77 2e 69 6e 61 63 63 65  
orks (www.inacce
    73 73 6e 65 74 77 6f 72 6b 73 2e 63 6f 6d 29 20  
ssnetworks.com) 
    61 73 74 65 72 69 73 6b 2d 6f 68 33 32 33 00 00  
asterisk-oh323  
    19 30 2e 37 2e 33 20 28 4f 70 65 6e 48 33 32 33   
0.7.3 (OpenH323
    20 76 31 2e 31 35 2e 36 29 00 00 40 01 3c 05 01   
v1.15.6)  @ <  
    00 00 01 40 07 00 41 00 53 00 54 00 45 00 52 00   
  @  A S T E R 
    49 00 53 00 4b 2a 00 4e 00 6f 00 72 00 74 00 65  
I S K* N o r t e
    00 6c 00 5f 00 48 00 33 00 32 00 33 00 5f 00 47   
l _ H 3 2 3 _ G
    00 61 00 74 00 65 00 6b 00 65 00 65 00 70 00 65   
a t e k e e p e
    00 72 60 09 00 00 3d 3c 69 6e 41 63 63 65 73 73   
r`   =<inAccess
    20 4e 65 74 77 6f 72 6b 73 20 28 77 77 77 2e 69   
Networks (www.i
    6e 61 63 63 65 73 73 6e 65 74 77 6f 72 6b 73 2e  
naccessnetworks.
    63 6f 6d 29 20 61 73 74 65 72 69 73 6b 2d 6f 68  
com) asterisk-oh
    33 32 33 00 00 19 30 2e 37 2e 33 20 28 4f 70 65  
323   0.7.3 (Ope
    6e 48 33 32 33 20 76 31 2e 31 35 2e 36 29 00 00  
nH323 v1.15.6)  
    20 8b 19 03 40 02 57 01 00 01 80 01 00 01 00 02   
   @ W         
    70 00 01 30                                      
p  0
  }
  0:00.147	   GKRegThread:0816ac30	Trans	Waiting on
response to seqnum=65023 for 3.0 seconds
  0:03.147	   GKRegThread:0816ac30	Trans	Timeout on
request seqnum=65023, try #1 of 2
  0:03.147	   GKRegThread:0816ac30	Trans	Sending PDU:
  registrationRequest {
    requestSeqNum = 65023
    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 37 2e 33 20 28 4f  70 65 6e 48 33 32
33 20   0.7.3 (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 37 2e 33 20 28 4f  70 65 6e 48 33 32 33
20   0.7.3 (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
    }
  }
Raw PDU:
 size=134 pos=7fffffff.0 {
000 0e c0 fd fe 06 00 08 91 4a 00 04 80 01 00 0a 18   
       J       
    02 fd 06 b8 01 00 7f 00 00 01 27 12 28 c0 09 00   
         ' (   
    00 3d 3c 69 6e 41 63 63 65 73 73 20 4e 65 74 77   
=<inAccess Netw
    6f 72 6b 73 20 28 77 77 77 2e 69 6e 61 63 63 65  
orks (www.inacce
    73 73 6e 65 74 77 6f 72 6b 73 2e 63 6f 6d 29 20  
ssnetworks.com) 
    61 73 74 65 72 69 73 6b 2d 6f 68 33 32 33 00 00  
asterisk-oh323  
    19 30 2e 37 2e 33 20 28 4f 70 65 6e 48 33 32 33   
0.7.3 (OpenH323
    20 76 31 2e 31 35 2e 36 29 00 00 40 01 3c 05 01   
v1.15.6)  @ <  
    00 00 01 40 07 00 41 00 53 00 54 00 45 00 52 00   
  @  A S T E R 
    49 00 53 00 4b 2a 00 4e 00 6f 00 72 00 74 00 65  
I S K* N o r t e
    00 6c 00 5f 00 48 00 33 00 32 00 33 00 5f 00 47   
l _ H 3 2 3 _ G
    00 61 00 74 00 65 00 6b 00 65 00 65 00 70 00 65   
a t e k e e p e
    00 72 60 09 00 00 3d 3c 69 6e 41 63 63 65 73 73   
r`   =<inAccess
    20 4e 65 74 77 6f 72 6b 73 20 28 77 77 77 2e 69   
Networks (www.i
    6e 61 63 63 65 73 73 6e 65 74 77 6f 72 6b 73 2e  
naccessnetworks.
    63 6f 6d 29 20 61 73 74 65 72 69 73 6b 2d 6f 68  
com) asterisk-oh
    33 32 33 00 00 19 30 2e 37 2e 33 20 28 4f 70 65  
323   0.7.3 (Ope
    6e 48 33 32 33 20 76 31 2e 31 35 2e 36 29 00 00  
nH323 v1.15.6)  
    20 8b 19 03 40 02 57 01 00 01 80 01 00 01 00 02   
   @ W         
    70 00 01 30                                      
p  0
  }
  0:03.148	   GKRegThread:0816ac30	Trans	Waiting on
response to seqnum=65023 for 3.0 seconds
  0:06.149	   GKRegThread:0816ac30	Trans	Waiting again
on response to seqnum=65023 for -0.0 seconds
  0:06.149	   GKRegThread:0816ac30	Trans	Timeout on
request seqnum=65023, try #2 of 2
  0:06.149	   GKRegThread:0816ac30	RAS	Failed
registration of  with Nortel_H323_Gatekeeper


	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



More information about the asterisk-users mailing list