the-modem-distro / pinephone_modem_sdk

Pinephone Modem SDK: Tools to build your own bootloader, kernel and rootfs
GNU General Public License v3.0
590 stars 63 forks source link

FEATURE - Block or Reject a SMS/MMS/Call by specific number #198

Open mikeshenson opened 1 year ago

mikeshenson commented 1 year ago

Thank you for all your effort in this project!

Problem: My phone number got on a spam list. I would like to block a specific phone number.

Chatty (the messaging app) can "block" conversions. Chatty just hides them. With chatty, the phone still wakes up and looks like I will get a message, but I never do because the message is hidden. I would like to have the modem never send the message to chatty. Can the modem just send the SMS OR MMS (anything from a number) to NULL? Added bonus: What about also blocking phone calls from this number?

Device: PinePhone OS: DanctNIX Arch Linux Arm with Phosh Firmware: Version 0.7.2

User interface: Send "block add NUM" to the modem to add a number to the block list. Send "block show" to the modem to see the list of blocked numbers. Send "block remvoe NUM" to the modem to remove a number from the block list.

Idcrafter commented 1 year ago

i saw such kind of settings inside of the plasma mobile dilar application with a bit more function for call blocking, maybe gnome-calls can do the same?