[asterisk-users] Gotoif($[${LEN(${CALLERID(number)})} != 4]?true) doesn't work...

Doug Lytle support at drdos.info
Wed Jul 2 11:07:07 CDT 2014


Positively Optimistic wrote:
> Anyone have any idea why the following would not work?  I'm trying to 
> test for a callerid value that is 4 digits in length.. 

Differences between yours and mine:

Yours:
Gotoif($[${LEN(${CALLERID(number)})} != 4]?true)

Mine:
Gotoif($["${LEN(${get-admin-password})}" < "1"]?2:4)

Doug




More information about the asterisk-users mailing list