[Asterisk-Users] New Module app_perl

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Jun 17 09:23:32 MST 2003


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




More information about the asterisk-users mailing list