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

Kib Eki kibeki at gmx.net
Fri Feb 10 06:08:58 MST 2006


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

More information about the asterisk-dev mailing list