Paul Belanger <paul.belan...@polybeacon.com> wrote: > On Sun, Jul 25, 2010 at 11:39 AM, <cov...@ccs.covici.com> 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 and > does not in 1.8. > Well, when I executed the line exten => s,n,SET(password=${password}${digit});add a digit and when I wanted to test the variable exten => s,n(pswd_done),GotoIf($[x${password}=x14036]?custom-conf8200,s,1) I got the following error in 1.8: [Jul 25 00:36:14] WARNING[7242] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected '<token>', expecting $end; Input: x""14036=x14036 ^
After the "" was gone in the set, it works in 1.8, have not tried in 1.6. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users