Hello to All.

We are trying to register our Asterisk to a Cisco GK on a Cisco 7200 series router.

What follows is the h323_log:

[general]
;Define the asetrisk server h323 endpoint

;The port asterisk should listen for incoming H323 connections.
;Default - 1720
port=1720

;The dotted IP address asterisk should listen on for incoming H323
;connections
;Default - tries to find out local ip address on it's own
bindaddr=213.209.217.69

;This parameter indicates whether channel driver should register with
;gatekeeper as a gateway or an endpoint.
;Default - no
;gateway=no

;Whether asterisk should use fast-start and tunneling for H323 connections.
;Default - yes
;faststart=yes
h245tunneling=yes


;H323-ID to be used for asterisk server
;Default - Asterisk PBX
h323id=ObjSysAsterisk
e164=0542269XXX

;CallerID to use for calls
;Default - Same as h323id
callerid=asterisk

;Whether this asterisk server will use gatekeeper.
;Default - DISABLE
;gatekeeper = DISCOVER
gatekeeper = 10.174.173.52
;gatekeeper = DISABLE

;Location for H323 log file
;Default - /var/log/asterisk/h323_log
;logfile=/var/log/asterisk/h323_log


;Following values apply to all users/peers/friends defined below, unless
;overridden within their client definition

;Sets default context all clients will be placed in.
;Default - default
context=default

;Sets rtptimeout for all clients, unless overridden
;Default - 60 seconds
;rtptimeout=60      ; Terminate call if 60 seconds of no RTP activity
; when we're not on hold

;Type of Service
;Default - none (lowdelay, thoughput, reliability, mincost, none)
;tos=lowdelay

;amaflags = default

;The account code used by default for all clients.
;accountcode=h3230101

;The codecs to be used for all clients.Only ulaw and gsm supported as of now.
;Default - ulaw
; ONLY ulaw, gsm, g729 and g7231 supported as of now
disallow=all     ;Note order of disallow/allow is important.
allow=gsm
allow=ulaw

; dtmf mode to be used by default for all clients. Supports rfc2833, q931keypad
; h245alphanumeric, h245signal.
;Default - rfc 2833
dtmfmode=rfc2833



My ooh323.conf is as follows:

---------Date 02/06/06---------
17:49:56:712  Signalling IP address is set to 213.209.217.69
17:49:56:712  Listen port number is set to 1720
17:49:56:712  Gatekeeper Mode - RasUseSpecificGatekeeper
17:49:56:712  Gatekeeper IP:port set to - 10.174.173.52:1719
17:49:56:713  Enabled RFC2833 DTMF capability for end-point
17:49:56:713  H323 listener creation - successful
17:49:56:713  Creating CMD listener at 213.209.217.69:7575
17:49:56:713  CMD listener creation - successful
17:49:56:916  H.323 Endpoint Configuration is as follows:
17:49:56:916    Trace File: /var/log/asterisk/h323_log
17:49:56:916    FastStart - enabled
17:49:56:916    H245 Tunneling - enabled
17:49:56:916    AutoAnswer - disabled
17:49:56:916    Terminal Type - 50
17:49:56:916    T35 CountryCode - 1
17:49:56:916    T35 Extension - 0
17:49:56:916    Manufacturer Code - 71
17:49:56:916    ProductID - objsys
17:49:56:916    VersionID - v0.8
17:49:56:916    Local signalling IP address - 213.209.217.69
17:49:56:917    H225 ListenPort - 1720
17:49:56:917    CallerID - asterisk
17:49:56:917    Call Establishment Timeout - 60 seconds
17:49:56:917    MasterSlaveDetermination Timeout - 30 seconds
17:49:56:917    TerminalCapabilityExchange Timeout - 30 seconds
17:49:56:917    LogicalChannel  Timeout - 30 seconds
17:49:56:917    Session Timeout - 15 seconds
17:49:56:917  Gatekeeper Client Configuration:
17:49:56:917    Gatekeeper mode - UseSpecificGatekeeper
17:49:56:917    Gatekeeper To Use - 10.174.173.52:1719
17:49:56:917  H323 RAS channel creation - successful
17:49:56:917  Error: RAS message encoding failed
17:49:56:917  Error: Failed to send GRQ message
17:49:56:917  Error:Failed to send GRQ message
17:49:56:917  Error:Failed to start Gatekeeper client
17:49:56:917  Destroying Gatekeeper Client
17:49:56:918  Closed RAS channel


We think the problem is that we do not specify the Zone Name for the gatekeeper. We cannot find where we have to specify the Zone Name in the ooh323.conf file. The parameter we need to configure is the "Zone Name" we find in the GateKeeper. In other word we need the parameter where place the value 'B002-DB-G01-0021-IN'
into the ooh323.conf file.

If I'll register correcly I'll see the following output into the gatekeeper:

gk#sh gatekeeper endpoints

                  GATEKEEPER ENDPOINT REGISTRATION
                  ================================
CallSignalAddr  Port  RASSignalAddr   Port  Zone Name         Type    Flags
--------------- ----- --------------- ----- ---------         ----    -----
213.209.217.69 1720 213.209.217.69 13030 B002-DB-G01-0021-IN UNKN-GW
  H323-ID: ObjSysAsterisk
  E164-ID: 1234567

Total number of active registrations = 1



Anyone can help?
Many THanks in advance.

Stefano.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
ooh323c-devel mailing list
ooh323c-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ooh323c-devel

Reply via email to