[asterisk-dev] case sensitivity with global variables

Tilghman Lesher tlesher at digium.com
Wed Jun 16 10:13:27 CDT 2010


On Wednesday 16 June 2010 06:18:20 Klaus Darilion wrote:
> Am 15.06.2010 20:26, schrieb Tilghman Lesher:
> > On Tuesday 15 June 2010 12:57:19 Jared Smith wrote:
> >> ----- Original Message -----
> >>
> >>> When using GLOBAL() function it looks like that querying is case
> >>> sensitive, but reading no (as it overwrites the existing variable).
> >>> This is inconsistent with normal channel variables which are always
> >>> case insensitive:
> >>
> >> I was under the impression that Asterisk channel variables were always
> >> case sensitive... Have I missed a change along the way?
> >
> > As far as I know, both global and channel variables are supposed to be
> > case- sensitive, other than a few DEPRECATED builtin variables that have
> > now been largely replaced with dialplan functions.
>
> So, what is the conclusion?
>
> If variables should be case sensitive I will file a bug report.
>
> If the "case sensitivity" policy was introduced with trunk, I can test
> trunk too.

I found the issue you referred to and fixed it in all 3 branches, yesterday.
http://lists.digium.com/pipermail/asterisk-commits/2010-June/043413.html

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list