[asterisk-dev] case sensitivity with global variables

Olle E. Johansson oej at edvina.net
Wed Jun 16 01:38:45 CDT 2010


15 jun 2010 kl. 20.26 skrev 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.

Agree, but not with the DECPRECATED fact. Did Russell not change the policy to 
"do not deprecate anything unless we have to". I don't think we have to remove those
variables and break a massive amount of dialplans out there.

/O


More information about the asterisk-dev mailing list