Smartphones

Lanx

<Prior Amod>
76,127
179,702
It is this: Chris Talbot / Phosh Anti-Spam · GitLab

It isn't perfect. If you choose to silence the bad calls, the screen still lights up and you still have the opportunity to answer it.

If you choose to hang up right away, you get about a quarter of a second of ring before the program kicks in and hangs up on them. Neither are ideal.
i asked gemini for an ai agent for linux phone, complicated
While there isn't a single "plug-and-play" app that mimics the Google Pixel's AI call screening exactly on Linux mobile (Phosh), you can achieve a similar workflow by layering a few tools. Since you're already familiar with Phosh Anti-Spam, you know it works by intercepting the DBus signal to gnome-calls.
To go beyond simple hanging up and move into "AI screening," here is the current landscape for 2026:

1. The "Contact App" Approach: GNOME Calls + Plugins​

The primary call handler on Phosh is GNOME Calls. It uses a plugin-based architecture (libpeas).


  • The Status: There is no official "AI Screen" button yet, but the Ubuntu Touch/Lomiri ecosystem and some PostmarketOS community members have been experimenting with Whisper.cpp (for STT) and local LLMs to process incoming call audio.
  • The Hack: Some users are routing calls through a SIP/VoIP provider (like Twilio or JMP.chat) that supports programmable voice. You can set up a "vocal menu" or an AI agent on the provider side that screens the call before it even hits your Linux phone's Phosh Anti-Spam filter.

2. Emerging AI Apps for Linux Mobile​

If you want something that runs locally on your device:
  • Kai 9000: This is a newer open-source AI assistant (available on GitHub) that has a Linux version. It is designed to execute "Tools." While it doesn't hook into the modem directly yet, developers are working on using it as a "Heartbeat" service that can monitor notifications and potentially interface with the audio stream of an active call to transcribe and suggest replies.


  • Phosh Anti-Spam (Advanced Config): You can technically modify the Phosh Anti-Spam script. Instead of just hangup, you can point it to a script that answers the call and plays an audio file (using pacmd or pw-play), then records the response for you to review via a notification.

3. DIY "AI Screener" Workflow​

If you're comfortable with some "mechanical guy" tinkering, this is the most effective setup right now:
  1. Phosh Anti-Spam: Keeps your "Spam" list and "Non-Contacts" blocked or silenced.


  2. JMP.chat / Cheogram: Use a SIP number for public use. These services allow you to bridge your calls to an XMPP bot.
  3. The Bot: You can point that bot to a local or API-based LLM. When a stranger calls, the bot answers, asks "Who is this?", transcribes the answer, and sends you an XMPP message (which shows up as a standard Phosh notification). You then decide whether to "patch through" the call to your actual dialer.

Summary Table​

SolutionEffortFunctionality
Phosh Anti-SpamLowHard block/ignore only.
SIP + AI BotHighTrue AI screening with transcription.
Kai 9000MediumLocal AI assistant (requires manual integration).
GNOME Calls Dev BranchHighExperimental built-in "Answer & Record" features.
Pro-Tip: If you're printing 3D brackets for your tech gear, you might consider a small "desk dock" setup for your phone. Some users are running more powerful AI screening scripts by keeping the phone docked and using the desktop-class CPU power of the PinePhone Pro or Librem 5 to handle the STT/LLM processing without killing the battery.
 
  • 1Like
Reactions: 1 user

Kajiimagi

<Aristocrat╭ರ_•́>
5,126
9,440
Mum's robo calls are getting so bad now that they are calling till 9pm. I've managed to set it up so that if the caller is not in her contacts it goes straight to voicmail (which we have no idea how to configure), but there's still this BEEP BEEP BEEP call ended sound that is almost louder than the ringtone.

So I've got to work on how to get rid of that. Another annoying thing is the filtered calls still go into the recent calls list. I'd rather the phone just didn't respond at all silently but it is better than nothing.

The "recent" calls list is getting super slow now because of all the scamcalls bloating the list up. Going to have to figure out how to clear the list.

Looks like all the phosh stuff is in /usr/share/sounds/phosh/stereo and the offending sound is phone-hangup.oga. Changed that to a 0 length file and problem solved.

Recent call nuke complete! Blast everything in .local/share/calls/ and reboot. I figured closing and reopening "calls" would do it, but there's some systemd thing that handles the calls database of course.
Perhaps I'm missing something, is there a reason you won't just get like a conventional phone? Does everything need to be overly complicated? I used to really get into the android roll your own rom scene but I got tired of fiddling with a phone.

I have an older S22 Ultra, unfortunately it's new enough Samsung keeps pushing AI bullshit on it but I also keep 'do not disturb' on between 10PM and 10:30AM , if you are not my wife or my mother in law you go to VM. Period.

I am also getting robo calls, but they go to VM. I'm guessing the rise in robo calls is the looming mid-terms.