All,

A couple of weeks ago I posted a problem report regarding ooh323c (used with 
Asterisk) and re-registration with Cisco IOS based Gatekeepers (and possibly 
other Cisco GKs) whereby the initial registration would succeed, but 
re-registration would fail.

After some investigation I found that the problem was that Cisco implement 
(expect) a light-weight re-registration RRQ message that has KeepAlive set and 
has the GateKeeper's end endpoint identifier returned in it - all the other 
parameters are ignored and according to Cisco do not need to be present in a 
re-registration because parameter changes are not permitted.

The attached patch fixes the problem (for me - YMMV) with ooh323c version 0.8.2 
as shipped in Asterisk-addons-1.2.5.tar.gz by modifying the ooGkClient.c module 
so that it determins whether the registration is an initial registration 
(without endpoint identifier) or a re-registration in which case the GK's 
endpoint identifier is added to the H225 RAS RRQ message. All of the other 
parameters are still passed (unchanged).

This has been tested with a Cisco 2621XM router running IOS H.323 GateKeeper 
(router firmware c2600-jsx-mz.123-22.bin) and works fine - it needs testing on 
other H.323 GateKeepers that implement (require) light-weight 
re-registrations...

Enjoy!



Mike Tubby

Attachment: cisco_gk_registration_fix.diff
Description: Binary data

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to