I'm trying to filter calls that don't have a proper ANI. This is what I did:
; only if they a real-looking ANI exten=_1XXXXXX1118/_.N.,1,Newt,1118-config ; Otherwise, send them to the loser partyline exten=_1XXXXXX1118,1,Goto(outtrunk,19096611234,1) This properly deals with null ANIs, but for some reason those with ten zeroes get matched by the first line. I also tried to be a bit more specific, like: exten=_1XXXXXX1118/_.[1-9][1-9].,1,Newt,1118-config but that also matched on all zeroes. Am I doing something wrong or is this a bug? Thanks... _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users