Re: [asterisk-users] undocumented change in expression handling in 1.8 beta

2010-07-25 Thread covici
Tilghman Lesher wrote: > On Saturday 24 July 2010 23:52:39 cov...@ccs.covici.com wrote: > > Hi. I hava a variable and in 1.6 I set the string variable to "" and it > > got the null string. In 1.8, it gets the quotes, I have to set it to > > nothing at all to make it get the null value. > > Ple

Re: [asterisk-users] undocumented change in expression handling in 1.8 beta

2010-07-25 Thread Tilghman Lesher
On Saturday 24 July 2010 23:52:39 cov...@ccs.covici.com wrote: > Hi. I hava a variable and in 1.6 I set the string variable to "" and it > got the null string. In 1.8, it gets the quotes, I have to set it to > nothing at all to make it get the null value. Please read the 6th item in UPGRADE.txt.

Re: [asterisk-users] undocumented change in expression handling in 1.8 beta

2010-07-25 Thread covici
Paul Belanger wrote: > On Sun, Jul 25, 2010 at 11:39 AM, wrote: > > OK, the line actually is: > > exten => s,n(auth),Set(password="") which sets to a null value in 1.6.2 > > but does not in 1.8. > > > It's possible something changed, how are you checking if the > ${password} is null? Post an ex

Re: [asterisk-users] undocumented change in expression handling in 1.8 beta

2010-07-25 Thread Paul Belanger
On Sun, Jul 25, 2010 at 11:39 AM, wrote: > OK, the line actually is: > exten => s,n(auth),Set(password="") which sets to a null value in 1.6.2 > but does not in 1.8. > It's possible something changed, how are you checking if the ${password} is null? Post an example dialplan that works in 1.6.2 an

Re: [asterisk-users] undocumented change in expression handling in 1.8 beta

2010-07-25 Thread covici
Paul Belanger wrote: > On Sun, Jul 25, 2010 at 12:52 AM, wrote: > > Hi.  I hava a variable and in 1.6 I set the string variable to "" and it > > got the null string.  In 1.8, it gets the quotes, I have to set it to > > nothing at all to make it get the null value. > > > Post an example for work

Re: [asterisk-users] undocumented change in expression handling in 1.8 beta

2010-07-25 Thread Paul Belanger
On Sun, Jul 25, 2010 at 12:52 AM, wrote: > Hi.  I hava a variable and in 1.6 I set the string variable to "" and it > got the null string.  In 1.8, it gets the quotes, I have to set it to > nothing at all to make it get the null value. > Post an example for working (1.6) and not working (1.8) --

[asterisk-users] undocumented change in expression handling in 1.8 beta

2010-07-24 Thread covici
Hi. I hava a variable and in 1.6 I set the string variable to "" and it got the null string. In 1.8, it gets the quotes, I have to set it to nothing at all to make it get the null value. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? Joh