[asterisk-users] Conditional Dial

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri Jan 4 22:19:07 CST 2008


On Friday 04 January 2008 17:52:52 bilal ghayyad wrote:
> Is there a command that can let me execute the
> Dial(.....) if {CALLERIDNUM}= ......? Without using
> GotoIf?

Exec(${IF($["${CALLERID(num)}" = "12345"]?Dial(foo):NoOp)}

-- 
Tilghman



More information about the asterisk-users mailing list