[asterisk-dev] case sensitivity with global variables

Tim Ringenbach tim.ringenbach at gmail.com
Wed Jun 16 19:35:59 CDT 2010

On Tue, Jun 15, 2010 at 1:26 PM, Tilghman Lesher <tlesher at digium.com> wrote:

> 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.
As for as I know, they're both supposed to be case insensitive. I also can't
seem to find anything in the asterisk docs that says one way or another.
But http://www.voip-info.org/wiki/view/Asterisk+variables states so, so
maybe that's where I heard it. I'm pretty sure there exist dialplans that
will break if you change it to be case sensitive.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100616/09a1d625/attachment.htm 

More information about the asterisk-dev mailing list