[h323plus] Registering with the GnuGK - continued
Claude Le Berre
claude.le.berre at ip-media.fr
Wed Sep 3 09:31:43 EDT 2008
David,
You should check the gatekeeper logs. If you use gnugk, you shall
activate some logs using 'gnugk -tt', logs go to /var/log/gnugk/ (if you
are on linux). Maybe your gatekeeper configuration is wrong ?
Claude
Amnon David a écrit :
> Hard coding the authenticator.Enable (as shown bellow) solves the
> registration problem. Obviously this is not good - any ideas why
> authenticator.IsCapability returns the wrong result in the "simple"
> sample application ?
>
> BOOL H323Gatekeeper::OnReceiveGatekeeperConfirm(const
> H225_GatekeeperConfirm & gcf)
> {
> if (!H225_RAS::OnReceiveGatekeeperConfirm(gcf))
> return FALSE;
>
> PINDEX i;
>
> for (i = 0; i < authenticators.GetSize(); i++) {
> H235Authenticator & authenticator = authenticators[i];
> if (authenticator.UseGkAndEpIdentifiers())
> authenticator.SetRemoteId(gatekeeperIdentifier);
> }
>
> if (gcf.HasOptionalField(H225_GatekeeperConfirm::e_authenticationMode) &&
> gcf.HasOptionalField(H225_GatekeeperConfirm::e_algorithmOID)) {
> for (i = 0; i < authenticators.GetSize(); i++) {
> H235Authenticator & authenticator = authenticators[i];
> authenticator.Enable( TRUE
> /*authenticator.IsCapability(gcf.m_authenticationMode, // <<<< This
> makes it work
>
> gcf.m_algorithmOID)*/);
> PTRACE(4,"RAS\tAuthenticator " << authenticator.GetName()
> << (authenticator.IsActive() ? " ACTIVATED" : "
> disabled"));
> }
> }
>
--
Claude Le Berre
Directeur technique
Web : http://www.ip-media.fr
Adresse :
IP Media
89a route des romains
67200 Koenigshoffen
tel : 03 69 09 22 02
-------------- next part --------------
A non-text attachment was scrubbed...
Name: claude.le.berre.vcf
Type: text/x-vcard
Size: 275 bytes
Desc: not available
URL: <https://lists.packetizer.com/pipermail/h323plus/attachments/20080903/52b8c152/attachment-0004.vcf>
More information about the h323plus
mailing list