[asterisk-users] Conditional Dial

Anthony Messina amessina at messinet.com
Sun Jan 6 02:05:35 CST 2008


On Friday 04 January 2008 10:19:07 pm Tilghman Lesher wrote:
> 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)}

are there any advantages/disadvantages/differences of using the above instead 
of the ExecIf application?

-- 
Anthony -  http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080106/75ece162/attachment.pgp 


More information about the asterisk-users mailing list