[asterisk-users] Number Range

Douglas Garstang dgarstang at oneeighty.com
Mon Oct 9 09:59:30 MST 2006


My extensions.conf has:

	exten => _X.,1,GotoIf([${CALLERID(number)} > 5000 & ${CALLERID(number)} < 5999]?true:false)

and the dialplan on execution evaluates it as

    -- vmtest1*CLI>
    -- Executing GotoIf("SIP/3254101-081e2820", "[3254101 > 5000] & [3254101 < 5999]?true:false") in new stack
    -- Goto (btck_CallStart,5551212,2)
    -- Executing NoOp("SIP/3254101-081e2820", "True") in new stack:

Obviously I have something wrong. 3254101 is NOT between 5000 and 5999.

Doug.



 


More information about the asterisk-users mailing list