Kib Eki
2006-Feb-10 01:51 UTC
[Asterisk-Users] Expression GotoIf - bug or personal misunderstanding?
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
Ira
2006-Feb-11 12:02 UTC
[Asterisk-Users] Expression GotoIf - bug or personal misunderstanding?
At 12:51 AM 02/10/2006, you wrote:> -- Executing GotoIf("Zap/29-1", "1 & 0?4:3") in new stack > -- Goto (macro-stdexten,s-NOANSWER,4)Should look like:> GotoIf( $["1 & 0"]?4:3 )Ira -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 267.15.6/257 - Release Date: 02/10/2006