[asterisk-dev] Expression logic problem

Steve Edwards asterisk.org at sedwards.com
Mon Dec 21 09:42:02 CST 2009


On Mon, 21 Dec 2009, Mueller, Alexander wrote:

> exten => 7058863,n,GotoIf(${LEN(${CALLERID(num)})} = 0?blacklist:ok)

Try:

exten = 7058863,n,gotoif($[${LEN(${CALLERID(num)})} = 0] ?blacklist:ok)

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-dev mailing list