[Asterisk-Users] Re: Expressions - solved
Tais M. Hansen
tmh at comx.as
Thu Dec 18 05:16:17 MST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 18 December 2003 13:08, Tais M. Hansen wrote:
> 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?
Answer() apparently changes channels and thus clears variables set prior to
the Answer() call. :(
... Setting variables in spooled calls becomes even more useless.
- --
Regards,
Tais M. Hansen
ComX Networks
Tel: +45-70257474
Fax: +45-70257374
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/4ZqT2TEAILET3McRAm99AKCOiJ2UMgUn3e5HoUzKsCnqUIo1swCdExvK
uSfwYxsrN5N+UyGgFd18T2Q=
=uU4p
-----END PGP SIGNATURE-----
More information about the asterisk-users
mailing list