Hi Avin,

that code doesn't seem to be executed when Asterisk is shut down with
"stop now" or "stop gracefully". I'm running Asterisk 1.2.7.1 and I only
see the URQ when I manually unload ooh323. Maybe it also needs to be
called via ast_register_atexit() if Asterisk doesn't unload all modules
when it shuts down.

I'll attach my h323_log but it doesn't show much.

Regards,
Jan


Avin Patel wrote:
> Hi Jan,
> 
> > a.) When Asterisk is shut down, ooh323c doesn't send a URQ to the
> > gatekeeper (it only sends one when the config is reloaded). One can
> > avoid sending calls to a dead gateway by setting a low TTL for
> > registrations in GnuGk, but it would be nice if ooh323c would
unregister
> > properly.
> 
> I can see it is sending URQ message in
>
unload_module()->ooH323EpDestroy()->ooGkClientDestroy()->ooGkClientSend
URQ()
> .
> 
> Can you provide debug log for this situtation, we can check for
possible
> missing point.
> 
> 
> Regards,
> Avin Patel
> Objective Systems, Inc.
> 
> 
> 
> > -----Original Message-----
> > From: Jan Willamowius [mailto:[EMAIL PROTECTED]
> > Sent: Friday, June 09, 2006 9:16 AM
> > To: ooh323c-devel@lists.sourceforge.net
> > Subject: [ooh323c-devel] Gatekeeper registration
> >
> >
> > Hi,
> >
> > I played around with ooh323c as a gateway for GnuGk and noticed two
> > things it doesn't do when registering with a gatekeeper:
> >
> > a.) When Asterisk is shut down, ooh323c doesn't send a URQ to the
> > gatekeeper (it only sends one when the config is reloaded). One can
> > avoid sending calls to a dead gateway by setting a low TTL for
> > registrations in GnuGk, but it would be nice if ooh323c would
unregister
> > properly.
> >
> > b.) When the gatekeeper registration fails, ooh323c should wait a
few
> > seconds and try again (the same if it looses the registration for
some
> > reason). This makes the system much more fault tolerant.
> >
> > Regards,
> > Jan
> >
> > --
> > Jan Willamowius, [EMAIL PROTECTED], http://www.gnugk.org/
> >
> >
> > _______________________________________________
> > ooh323c-devel mailing list
> > ooh323c-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ooh323c-devel
> 
> 
> 
> _______________________________________________
> ooh323c-devel mailing list
> ooh323c-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ooh323c-devel
> 


-- 
Jan Willamowius, [EMAIL PROTECTED], http://www.willamowius.de/
---------Date 06/13/06---------
01:06:58:794  Signalling IP address is set to 192.168.6.188
01:06:58:794  Listen port number is set to 1720
01:06:58:794  Gatekeeper Mode - RasUseSpecificGatekeeper
01:06:58:794  Gatekeeper IP:port set to - 192.168.6.188:1719
01:06:58:794  Enabled RFC2833 DTMF capability for end-point
01:06:58:794  H323 listener creation - successful
01:06:58:794  Creating CMD listener at 192.168.6.188:7575
01:06:58:794  CMD listener creation - successful
01:06:58:795  H.323 Endpoint Configuration is as follows:
01:06:58:795    Trace File: /var/log/asterisk/h323_log
01:06:58:795    FastStart - enabled
01:06:58:795    H245 Tunneling - enabled
01:06:58:795    AutoAnswer - disabled
01:06:58:795    Terminal Type - 50
01:06:58:795    T35 CountryCode - 1
01:06:58:795    T35 Extension - 0
01:06:58:795    Manufacturer Code - 71
01:06:58:795    ProductID - objsys
01:06:58:795    VersionID - v0.8.1
01:06:58:795    Local signalling IP address - 192.168.6.188
01:06:58:795    H225 ListenPort - 1720
01:06:58:795    CallerID - Asterisk PBX
01:06:58:795    Call Establishment Timeout - 60 seconds
01:06:58:795    MasterSlaveDetermination Timeout - 30 seconds
01:06:58:795    TerminalCapabilityExchange Timeout - 30 seconds
01:06:58:795    LogicalChannel  Timeout - 30 seconds
01:06:58:795    Session Timeout - 15 seconds
01:06:58:795  Gatekeeper Client Configuration:
01:06:58:795    Gatekeeper mode - UseSpecificGatekeeper
01:06:58:795    Gatekeeper To Use - 192.168.6.188:1719
01:06:58:795  H323 RAS channel creation - successful
01:06:58:802  Sent GRQ message
01:06:58:802  Gatekeeper Confirmed (GCF) message received.
01:06:58:802  Gatekeeper Confirmed
01:06:58:824  Sent RRQ message 
01:06:58:824  Registration Confirm (RCF) message received
01:06:58:824  Gatekeeper supports KeepAlive, Registration TTL is 60
01:07:38:825  Sent RRQ message 
01:07:38:832  Registration Confirm (RCF) message received
01:07:38:832  Gatekeeper supports KeepAlive, Registration TTL is 60
01:08:18:833  Sent RRQ message 
01:08:18:842  Registration Confirm (RCF) message received
01:08:18:842  Gatekeeper supports KeepAlive, Registration TTL is 60
01:08:58:843  Sent RRQ message 
01:08:58:852  Registration Confirm (RCF) message received
01:08:58:852  Gatekeeper supports KeepAlive, Registration TTL is 60
01:09:38:853  Sent RRQ message 
01:09:38:860  Registration Confirm (RCF) message received
01:09:38:860  Gatekeeper supports KeepAlive, Registration TTL is 60
01:10:18:861  Sent RRQ message 
01:10:18:869  Registration Confirm (RCF) message received
01:10:18:869  Gatekeeper supports KeepAlive, Registration TTL is 60
01:10:58:870  Sent RRQ message 
01:10:58:878  Registration Confirm (RCF) message received
01:10:58:878  Gatekeeper supports KeepAlive, Registration TTL is 60
01:11:38:879  Sent RRQ message 
01:11:38:886  Registration Confirm (RCF) message received
01:11:38:886  Gatekeeper supports KeepAlive, Registration TTL is 60
_______________________________________________
ooh323c-devel mailing list
ooh323c-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ooh323c-devel

Reply via email to