[asterisk-dev] Expression GotoIf - bug or personal misunderstanding?

North Antara north at ntbox.com
Fri Feb 10 09:13:19 MST 2006


Kib Eki wrote:

> Hi,
>
> I am using 1.2.4 of asterisk.
>
> From the console:
>
>     -- Executing GotoIf("Zap/29-1", "1 & 0?4:3") in new stack
>     -- Goto (macro-stdexten,s-NOANSWER,4)
>
> In my understanding the expression (1 & 0) should be lead to 0, but in 
> this case
> it leads to 1.
> Can anybody explain this to me?
>
> Much thanks
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev

This is a question for the -users list.

Also, are you using the $[] expression parsing stuff?



More information about the asterisk-dev mailing list