Re: PTLIB PASN_BMPString handling changes and endpoint not registered.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you use GnuGk 2.3.1 that should not be a problem. Since the old
PTLib always produced identifiers from strings with a terminating NULL
and the new PTLib always generates them without, GnuGk transforms them
to strings, before it does any comparison.

The problem comes up when endpoints are compiled with new Ptlib
register with an old GnuGk and internally change the identifier with a
NULL to one without when they send it back to GnuGk. They should have
treated it as a binary string and GnuGk pre 2.3.1 was strict about that.

Regards,
Jan


Simon Horne wrote:
> 
> Guys
> 
> I need to make you aware of a change that causes different registration
> endpoint identifier lengths to be generated based on the version of ptlib
> used. 
> 
> GnuGK 2.3.0 (ptlib 2.4.5)
> registrationConfirm {
>     ...
>     endpointIdentifier =  9 characters {
>       0034 0033 0039 0035 005f 0065 006e 0064   4395_end
>       0070                                      p
>     }
> 
> GnuGk 2.3.1 (ptlib cvs)
> registrationConfirm {
>    ...
>     endpointIdentifier =  10 characters {
>       0034 0033 0039 0035 005f 0065 006e 0064   4395_end
>       0070 0000                                 p 
>     }
>  
> While this may not look too much of a problem however if you are registering
> a h323plus endpoint built off a later version of PTLIB (like PacPhone) on a
> GnuGk with an earlier version of PTLIB then your endpoint will register but
> will not be able to make any calls and you will get an error about endpoint
> not registered. This is because the gatekeeper generated a 9 character
> endpointIdentifer while the endpoint will send a 10 digit identifier to the
> gatekeeper. 
> 
> I have patched the latest PacPhone preRelease to resolve the problem
> www.pacphone.com/downloads/PacPhoneSetup230.exe
> 
> I will be applying a fix to the H323plus CVS shortly.
> 
> Simon

-- 
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux