On Sun, 2007-04-08 at 11:42 -0700, Luki wrote:
> Hi everyone,
>
> for some reason I cannot get even the simplest for loop to work with
> OpenPBX, RC3 or SVN trunk. The same code works fine with Asterisk
> 1.2.X. Any ideas what's wrong? Obviously the variable x is not being
> incremented as expected, but why? I tried a different variable name
> but it makes no difference.
>
> AEL code:
>
> for(x=0; ${x} < 3; x=${x} + 1) {
> NoOp(${x});
> Playback(welcome);
> };
I think you're assuming NoOp() prints something out, which it does not.
In OpenPBX, use Verbose() instead.
> --Luki
Damjan
_______________________________________________
Openpbx-users mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-users