haumacher / phoneblock

Der Spam-Filter für die Fritz!Box
https://phoneblock.net
GNU General Public License v3.0
161 stars 15 forks source link

Report to api opt in option #64

Closed hduelme closed 6 months ago

hduelme commented 8 months ago

I added an opt in option to report spam calls from a local instance to the phoneblock API. To prevent wrong reports with bad configs I added a validation for --min-votes. Now only numbers with a rating greater than zero are accepted. In addition I also check that no number with rating A_LEGITIMATE could be treated as a Spam call.

Let me know what you think.