On Tuesday 17 June 2003 10:22, Anthony Minessale wrote:
> I just made my first 2 modules for asterisk (The 1st one is
> depriciated already).
>
> I was annoyed that i couldn't get GotoIf to take any expressions
> besides a boolean then i made a module to mimic gotoif and parse a
> few expressions like (${var} > 12) exten => 1,1,gotoif_expr,${var} >
> 12:1|4:1|5

You forgot to read README.variables, didn't you?

GotoIf($[${var} > 12]?1|4:1|5)

-Tilghman

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to