[Asterisk-Users] Expressions

Tais M. Hansen tmh at comx.as
Thu Dec 18 05:08:35 MST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm having a problem with the following expression examples.

exten => s,1,NoOp($[$[${value} >= 10] & $[${value} < 18]])

exten => s,1,GotoIf($[$[${value} >= 10] & $[${value} < 18]]?3)

${value} is 13 in both examples above. First extension evaluates to 1 while 
second evaluates to 0 even though it's the same expression used in both 
examples. Am I doing something wrong?

- -- 
Regards,
Tais M. Hansen
ComX Networks
Tel: +45-70257474
Fax: +45-70257374
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/4ZjJ2TEAILET3McRAnUIAJwJJTKPDX1iLxcWxdjcqa+b9LvMNACfX5Yj
Cs3L5GjGluSsuBqZhyGn7vs=
=VWAW
-----END PGP SIGNATURE-----




More information about the asterisk-users mailing list