Hi All; Is there a command that can let me execute the Dial(.....) if {CALLERIDNUM}= ......? Without using GotoIf? Any help? Regards Bilal ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
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
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