An ordinary Android app cannot hear or speak into a phone call. The call's audio never passes through the part of the phone that apps can reach, and the one permission that would expose it is reserved for the system. To put an AI agent on a real call you need one of three routes: hardware that the phone treats as a headset, root access, or a number in the cloud.
During a cellular call the voice travels between the modem and the phone's audio chip. The application processor, where apps run, mostly sets the call up and gets out of the way. That is why a call keeps working when an app freezes, and it is also why an app that asks for the microphone during a call gets silence or its own side only.
Android does have a way to record call audio: the CAPTURE_AUDIO_OUTPUT permission and the voice-call audio sources. They are granted only to apps signed by the phone's maker or installed as part of the system. A phone app chosen as the default dialer can answer, hold and hang up, but it still does not receive the audio stream.
Android will happily send a call's audio to a wired or USB headset, because that is what headsets are for. Pocket Link is a small USB-C adapter that the phone sees as a headset. The call's audio goes to it, and a second channel on the same plug hands that audio to the Pocket app, which passes it to the agent. Nothing is rooted and no system permission is involved. The phone's own SIM makes and takes the call.
With root, an app can be given the system permission it lacks. Pocket's root mode hears the call directly and speaks into it through a small helper that runs as root, because on the phone we tested, audio played into the call by an ordinary app arrived at the far end as noise. It needs no hardware, but rooting is not for everyone and phones differ in how they route call audio.
A number rented from a provider such as Twilio lives in the cloud, where the audio is an ordinary internet stream an agent can read. This is how most voice-agent platforms work. You get many calls at once and no hardware; you also get a new number, a provider account and a per-minute bill.
Which to pick. Keep your own number on an unrooted phone: the adapter. Already rooted: root mode. Need many calls at once or a number abroad: a cloud number. The three compared.
iOS gives apps even less of a call than Android does, and has no equivalent of the headset route that hands audio back to an app. Pocket is Android only for that reason.
Originally published on the Pocket blog.