emxsys / callattendant

A python-based automated call attendant, call blocker, and voice messaging system running on a Raspberry Pi. Screens callers and block robocalls and scams with a low-cost Raspberry Pi and modem.
https://emxsys.github.io/callattendant/
MIT License
115 stars 37 forks source link

Telephone number with wildcards #173

Open Erick-HENRY opened 1 year ago

Erick-HENRY commented 1 year ago

Often in France we have slices of the number assigned to the call center. For example, for Oxilog, I would enter 59,994 numbers. Oxilog

I propose to authorize the seizure of the beginning of the number and automatically to treat the complete numbers and at the same time I propose to wedge on the left the incomplete numbers. Formatting Examples Mise en forme Mise en forme bis

Results for a number in 336***** Résultat

Best Regard. Erick

jpherrenknecht commented 8 months ago

to block demarchage in france, you can enter a regex expression in app.cfg with an editor as 'BLOCK_NUMBER_PATTERNS': {'^0162|^0163|^0270|^0271|^0377|^0378|^0424|^0425|^0568|^0569|^0948|^0949': 'Demarchage'} Then you have to start callatendant with callattendant --config=app.cfg