[asterisk-users] dialplan syntax error: need new eyes

Barry Miller asterisk-users at notanet.net
Fri May 23 18:12:32 CDT 2008


On Fri, May 23, 2008 at 05:08:28PM -0400, sean darcy wrote:
> 
> This doesn't work:
> 
> exten =>_1NXXNXXXXXX,n,Set( CALLERID(num) = ${IF ( $[${CALLERID(num)} > 
> 140] ? ${MAINSTUB}${CALLERID(num)} : ${MAINNUMBER} )})

Change "IF (" to "IF(".



More information about the asterisk-users mailing list