<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm running (attempting to) ooh323 with Asterisk
and a Cisco 2621XM router operating as a H.323 GateKeeper, however when I bring
the Asterisk box up it registers successfully with the GateKeeper (exchanges
GRQ/GCF, then RRQ/RCF) it notes the GateKeeper supports keepalive at 300
seconds, when it gets to time to re-register its sends an RRQ again and gets
rejected with RRJ (unspecified reason) and so closes the session.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>At this point the H.323 session is lost and never
retried.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The set up is as follows:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> Asterisk Box: RedHat/Fedora Core
3, Asterisk 1.2.14 (built from source), ooh323 rev 0.8.2 from
Asterisk-Addons-1.2.5</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> Cisco GateKeeper: 2621XM router
with c2600-jsx-mz.123-22.bin</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Config on Asterisk box:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>; Objective System's H323 Configuration example for
Asterisk<BR>; ooh323c driver configuration<BR>;<BR>; [general] section defines
global parameters<BR>;<BR>; This is followed by profiles which can be of three
types - user/peer/friend<BR>; Name of the user profile should match with the
h323id of the user device.<BR>; For peer/friend profiles, host ip address must
be provided as "dynamic" is<BR>; not supported as of now.<BR>;<BR>; Syntax for
specifying a H323 device in extensions.conf is<BR>; For Registered peers/friends
profiles:<BR>; OOH323/name where name
is the name of the peer/friend profile.<BR>;<BR>; For unregistered H.323
phones:<BR>; OOH323/ip[:port] OR if gk
is used OOH323/alias where alias can be any
H323<BR>;
alias<BR>;<BR>; For dialing into another asterisk peer at a specific
exten<BR>; OOH323/exten/peer OR <A
href="">OOH323/exten@ip</A><BR>;<BR>; Domain name resolution is not yet
supported.<BR>;<BR>; When a H.323 user calls into asterisk, his H323ID is
matched with the profile<BR>; name and context is determined to route the
call<BR>;<BR>; The channel driver will register all global aliases and aliases
defined in<BR>; peer profiles with the gatekeeper, if one exists. So, that when
someone<BR>; outside our pbx (non-user) calls an extension, gatekeeper will
route that<BR>; call to our asterisk box, from where it will be routed as per
dial plan.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2>
<DIV><BR>[general]<BR>;Define the asetrisk server h323 endpoint</DIV>
<DIV> </DIV>
<DIV>;The port asterisk should listen for incoming H323 connections.<BR>;Default
- 1720<BR>;port=1720</DIV>
<DIV> </DIV>
<DIV>;The dotted IP address asterisk should listen on for incoming
H323<BR>;connections<BR>;Default - tries to find out local ip address on it's
own<BR>bindaddr=0.0.0.0</DIV>
<DIV> </DIV>
<DIV>;This parameter indicates whether channel driver should register
with<BR>;gatekeeper as a gateway or an endpoint.<BR>;Default -
no<BR>gateway=yes</DIV>
<DIV><BR>;Whether asterisk should use fast-start and tunneling for H323
connections.<BR>;Default - yes<BR>;faststart=no<BR>;h245tunneling=no</DIV>
<DIV> </DIV>
<DIV>;H323-ID to be used for asterisk server<BR>;Default - Asterisk
PBX<BR>;h323id=ObjSysAsterisk</FONT></DIV><FONT face=Arial size=2>
<DIV><BR>h323id=ASTERISK<BR>e164=100</DIV>
<DIV> </DIV>
<DIV>;CallerID to use for calls<BR>;Default - Same as
h323id<BR>callerid=ASTERISK</DIV>
<DIV> </DIV>
<DIV>;Whether this asterisk server will use gatekeeper.<BR>;Default -
DISABLE<BR>;gatekeeper = DISCOVER<BR>gatekeeper = 192.168.1.6<BR>;gatekeeper =
DISABLE</DIV>
<DIV> </DIV>
<DIV>;Location for H323 log file<BR>;Default -
/var/log/asterisk/h323_log<BR>;logfile=/var/log/asterisk/h323_log</DIV>
<DIV><BR>;Following values apply to all users/peers/friends defined below,
unless<BR>;overridden within their client definition</DIV>
<DIV> </DIV>
<DIV>;Sets default context all clients will be placed in.<BR>;Default -
default<BR>context=default</DIV>
<DIV> </DIV>
<DIV>;Sets rtptimeout for all clients, unless overridden<BR>;Default - 60
seconds<BR>;rtptimeout=60 ; Terminate call if 60
seconds of no RTP
activity<BR>
; when we're not on hold</DIV>
<DIV> </DIV>
<DIV>;Type of Service<BR>;Default - none (lowdelay, thoughput, reliability,
mincost, none)<BR>;tos=lowdelay</DIV>
<DIV> </DIV>
<DIV>;amaflags = default</DIV>
<DIV>;The account code used by default for all
clients.<BR>;accountcode=h3230101</DIV>
<DIV> </DIV>
<DIV>;The codecs to be used for all clients.Only ulaw and gsm supported as of
now.</DIV>
<DIV>disallow=all ;Note order of disallow/allow is
important.<BR>allow=alaw<BR>allow=ulaw<BR>allow=gsm</DIV>
<DIV><BR>; dtmf mode to be used by default for all clients. Supports rfc2833,
q931keypad<BR>; h245alphanumeric, h245signal.<BR>;Default - rfc
2833<BR>dtmfmode=rfc2833</DIV>
<DIV><BR>[cisco-gk]<BR>type=peer<BR>ip=192.168.1.6<BR>port=1720<BR>context=from-h323<BR>disallow=all<BR>allow=alaw<BR>allow=ulaw<BR>allow=gsm<BR>rtptimeout=60<BR>dtmfmode=rfc2833<BR>h323id=PABX<BR></DIV>
<DIV> </DIV>
<DIV></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>trace of it disconnecting:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@pabx asterisk]# cat h323_log<BR>---------Date
02/06/07---------<BR>09:53:08:742 Signalling IP address is set to
0.0.0.0<BR>09:53:08:742 Listen port number is set to
1720<BR>09:53:08:742 Using local RAS Ip address
192.168.1.5<BR>09:53:08:742 Gatekeeper Mode -
RasUseSpecificGatekeeper<BR>09:53:08:742 Gatekeeper IP:port set to -
192.168.1.6:1719<BR>09:53:08:742 Enabled RFC2833 DTMF capability for
end-point<BR>09:53:08:742 H323 listener creation -
successful<BR>09:53:08:742 Creating CMD listener at
0.0.0.0:7575<BR>09:53:08:742 CMD listener creation -
successful<BR>09:53:08:742 H.323 Endpoint Configuration is as
follows:<BR>09:53:08:742 Trace File:
/var/log/asterisk/h323_log<BR>09:53:08:742 FastStart -
enabled<BR>09:53:08:742 H245 Tunneling -
enabled<BR>09:53:08:742 MediaWaitForConnect -
disabled<BR>09:53:08:742 AutoAnswer -
disabled<BR>09:53:08:742 Terminal Type -
50<BR>09:53:08:742 T35 CountryCode -
1<BR>09:53:08:742 T35 Extension -
0<BR>09:53:08:742 Manufacturer Code -
71<BR>09:53:08:742 ProductID -
objsys<BR>09:53:08:742 VersionID -
v0.8.2<BR>09:53:08:742 Local signalling IP address -
0.0.0.0<BR>09:53:08:742 H225 ListenPort -
1720<BR>09:53:08:743 CallerID -
ASTERISK<BR>09:53:08:743 Call Establishment Timeout - 60
seconds<BR>09:53:08:743 MasterSlaveDetermination Timeout - 30
seconds<BR>09:53:08:743 TerminalCapabilityExchange Timeout -
30 seconds<BR>09:53:08:743 LogicalChannel Timeout - 30
seconds<BR>09:53:08:743 Session Timeout - 15
seconds<BR>09:53:08:743 Gatekeeper Client
Configuration:<BR>09:53:08:743 Gatekeeper mode -
UseSpecificGatekeeper<BR>09:53:08:743 Gatekeeper To Use -
192.168.1.6:1719<BR>09:53:08:743 H323 RAS channel creation -
successful<BR>09:53:08:743 Sent GRQ message<BR>09:53:08:750
Gatekeeper Confirmed (GCF) message received.<BR>09:53:08:750 Gatekeeper
Confirmed<BR>09:53:08:750 Sent RRQ message<BR>09:53:08:760
Registration Confirm (RCF) message received<BR>09:53:08:760 Gatekeeper
supports KeepAlive, Registration TTL is 300<BR>09:57:48:761 Sent RRQ
message<BR>09:57:48:766 Registration Reject (RRJ) message
received.<BR>09:57:48:766 RRQ Rejected - Undefined
Reason<BR>09:57:48:766 Error: Gatekeeper error. Either Gk not responding
or Gk sending in valid messages<BR>09:57:48:766 Error: Gatekeeper
error detected. Closing GkClient as Gk mode is
UseSpecifcGatekeeper<BR>09:57:48:766 Destroying Gatekeeper
Client<BR>09:57:48:766 Closed RAS channel<BR>[root@pabx
asterisk]#<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any ideas whether this is a bug or a configuration
issue?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Mike</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT></FONT></DIV></BODY></HTML>