[General Topics] lm8lm8:
android : how to block several or range-based phone callers/numbers

I translated this topic, previously made for fr customers/subscribers, for thos around the world, intestested to filter a bit their incoming communication, especially incoming calls. Where it could be used by expatriates in FR, or just some others persons interested around the world..

In some countries, the law forces the companies to do their commercial/sales calls using a specific range of phone numbers. Here, i worked especially on france one. Depending on the country, it might be adapted regarding associated ranges of phone number, for phone advertisement incoming calls.

there is a possibility of software-based solution. Meanwhile, where 1 mobile service provider in france allows to do some filtering based on specific phone numbers (or phone range, using * caracter) on the service provider side (means it do it before call arrives on your phone), almost all services provider just let subscribers to filter so (if they can) on their phone, by software.

here are the phone ranges, used eg in France (depending on your country, you can adapt and post comment with ranges specified)

for france, here they are (starting all by +33 instead of first 0XXX):

09 48 et 09 49 ;

01 62 et 01 63 ;

02 70 et 02 71 ;

03 77 et 03 78 ;

04 24 et 04 25 ;

05 68 et 05 69.

If you could have a kind of "incoming/outgoing communication filter" on your provider, dont hesitate to tell/share, it's really rare (only 1 in FR), to do so on your subscriber interface.

the advanage : if you change your cellphone, you dont have to worry about ; but if you change of service provider, obviously..

so where almost all service providers let this part being managed on customer's phone by software, here is in few pictures the way to get a sort of incoming calls filter, managed by android software. It doesnt requires to change your phone's app.

for doing so, the fdroid app Yet Another Call Blocker is used here. Download it on fdroid :

Yet Another Call Blocker | F-Droid - Free and Open Source Android App Repository

Block unwanted calls effortlessly

f-droid.org

1. install fdroid, (fdroid.org), you must enable installation of APK from third-part sources

2. open fdroid, use the green button to search : Yet Another Call Blocker

3. install and open it, give it the asked permission

4. basics parameters : let's do as, regarding the following specificities (see pics)

in the top/right menu, open the parameters (settings), then enable :

a. incoming call notifications

b. auto-update database

c. use contacts

d. call-blocking : enable everything

get back to previous/main screen, then in the menu, select "blacklist"

5. blacklist, for incoming calls range numbers being blocked :

you can fill manually that list :

in the top/right menu, open "blacklist"

a. push on the "+" button to add a new phone number/range

a new screen, with filter name and filter field, appears

b/c. fill a name, and in the "pattern" field : the phone number or range in the specified field (eg +445** will block all numbers starting by +445)

also, you can import/export phone numbers to do it for several phone rules list

eg if a pattern starts by +339**, all incoming calls starting by +339XXXXXX will be blocked (in fact, it's ring less than a second)

d. validate by pushing little V in top/right corner

e. do the same for each rule (here in FR, it's 12 ranges numbers, means 12 different rules)

or you can download it

f. within the "blacklist" screen, on the top/right menu you can select "import" to get them all in one

eg for FR the list is :

demarchage.csv - Shared with pCloud

Keep all your documents safe, access them on any device you own and share with just the right people. Create a free pCloud account!

e.pcloud.link

when downloaded, follow the g/ step

you can also create the file to be imported, from the notepad software of a computer, paste this :

ID,name,pattern,creationTimestamp,numberOfCalls,lastCallTimestamp

1,Démarchage01,+33948**,1698437458896,0,

2,Démarchage02,+33949**,1698437474902,0,

4,Démarchage03,+33162**,1698437517657,0,

5,Démarchage04,+33163**,1698437538549,0,

6,Démarchage05,+33270**,1698437565318,0,

7,Démarchage06,+33271**,1698437580824,0,

8,Démarchage07,+33377**,1698437599739,0,

9,Démarchage08,+33378**,1698437637484,0,

10,Démarchage09,+33424**,1698437660675,0,

11,Démarchage10,+33425**,1698437681934,0,

12,Démarchage11,+33568**,1698437756445,0,

13,Démarchage12,+33569**,1698437773081,0,

then, save it, send it to your device (eg in Download directory)

g. when it's done, in the Yet Another Call Blocker app, open the menu > blacklist, then menu > import, browse in your device the list's file, and open it : when imported, the app might show you this:

The specified numbers entered within the app will be blocked (or just ring less than a second) by the phone. You can also block a specified entire phone number, or even an area, or a country itself : +44** blocks entire UK, +1** blocks entire north america, or +2** africa, etc..

for more information about that app, please see :

Yet Another Call Blocker | F-Droid - Free and Open Source Android App Repository

Block unwanted calls effortlessly

f-droid.org

FAQ.md · master · Xynngh / YetAnotherCallBlocker · GitLab

Block unwanted calls effortlessly

gitlab.com