If the contact is not in your contact list (or you added it as "Spam), it will automatically hang up.
Also, it has some user configuration options to allow 1) blocked numbers, 2) a caller through if they call twice within 10 seconds, or 3) A way to look for a subset of a number (e.g. an area code, a number prefix) and let that through.
Let me know what you think of it!
@kop316 this is awesome! does it straight up end the call, or send them to voicemail? An option to do the latter would be helpful for me, since I do receive some legit calls from numbers not in my contacts list (e.g. Dr offices, and so on) and I'm not sure they would call back if there's a hang-up.
It sends them to voicemail (it is just like you pressing the "Hangup" button).
I get legit calls from unknown numbers too, so I wanted to make sure they had an option to either a) call right back (which some do), or b) leave a voicemail.
I basically scripted what I normally do for unknown numbers, and allowed for others to modify the behavior in the settings file if they want to.
@kop316 That was me, a few weeks ago. You're my hero of the day 🙂
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.