[Devel] Patch: cpl-c bug fix - case insensitive AOR handling

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Nov 13 18:25:19 CET 2006


Hi John,

indeed, that is correct - the original intention was to use bitmasks, 
but I missed to apply it only for alphabetic chars.

thanks for the patch! It is on CVS on both devel and 1.1.0

regards,
bogdan

John Riordan wrote:

> Hi,
>
>
> Issue:
>
> In CPL, during a location lookup, the lookup fails
> for users with an '_' in the user portion of the AOR.
> For example, if the AOR is user_1 at domain.com, cpl
> registration lookup always fail.
>
> Patch:
>
> Use tolower(c) instead of (0x20)|(c) when building
> the interpreters copy of the AOR.
>
>
> John





More information about the Devel mailing list