[asterisk-dev] Expression logic problem

Mueller, Alexander am at a-m-i.de
Mon Dec 21 09:58:12 CST 2009


Thank, Steve, that helped


-----Ursprüngliche Nachricht-----
Von: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-bounces at lists.digium.com] Im Auftrag von Steve Edwards
Gesendet: Montag, 21. Dezember 2009 16:42
An: Asterisk Developers Mailing List
Betreff: Re: [asterisk-dev] Expression logic problem

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

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list