Frequently I get calls that show up as only 9 digit number

1,775 views
Skip to first unread message

David Steele

unread,
Aug 20, 2015, 9:43:55 PM8/20/15
to Automate
I keep getting these 9 digit phone calls.  Google says they are scammers and use something to fake the numbers. Any way I can get automate to reject phone calls that show only 9 digit numbers?

Automate developer

unread,
Aug 20, 2015, 9:48:27 PM8/20/15
to Automate
Try using the Call incoming block to await a call and get the number, an Expression true block to check the number, and then the Call end block to reject it.

David Steele

unread,
Aug 20, 2015, 9:59:25 PM8/20/15
to Automate
I use automate to block call now.  However I want to check calls that begin with my area code, so I let those ring a few times.  these spam numbers all begin with my area code, but I would like to end them immediately.  Can I use expression that tests the numbers by using question marks (pnum=?????????)

Automate developer

unread,
Aug 20, 2015, 10:03:28 PM8/20/15
to Automate
Yes, using the glob function:
http://llamalab.com/automate/doc/function/glob.html

Expression example:
glob(number, "123??????")
Reply all
Reply to author
Forward
0 new messages