Can an AAC app start synthesized speech in an auto-answered cellular call while the iPhone is locked?

I am testing a native Swift iPhone app that adds synthesized speech to an existing cellular call using:

  • AVAudioApplication microphone injection permission
  • AVAudioSession.setPreferredMicrophoneInjectionMode(.spokenAudio)
  • AVSpeechSynthesizer
  • CXCallObserver
  • The audio background mode

Device: iPhone 16 Pro Carrier: Vodafone Romania iOS version: [enter exact version]

Both the system “Add Audio in Calls” setting and the app permission are enabled.

Confirmed behavior: With the app in the foreground, the iPhone’s accessibility Auto-Answer Calls feature answers the call, and the remote caller hears the synthesized greeting.

Problem: With the iPhone locked, the phone answers automatically, but the greeting does not start. Logs show ringing, connected, and ended events being processed together when the app returns to the foreground. This suggests the app was suspended.

The app does not record the call or play continuous audio while waiting.

Questions:

  1. Is there a supported public API that lets this app wake or execute when a cellular call connects while the iPhone is locked?
  2. Can microphone injection support this use case without keeping the app in the foreground?
  3. If supported, what audio-session configuration and background execution mechanism should be used?
  4. If unsupported, can you confirm this limitation?

I can provide a minimal sample project and diagnostic logs.

Additional information: the iPhone 16 Pro is running iOS 26.6.2.

A separate question about the intended functionality:

The assistant needs to receive the remote caller’s speech during a cellular call, transcribe the conversation inside the app, and notify the user when a potentially urgent request is detected.

Is there any supported public API that gives a third-party iOS app access to the remote caller’s audio during a native cellular call, with the appropriate user consent?

We understand that microphone injection adds synthesized speech to the call and does not itself provide access to incoming call audio.

If this is unsupported, does implementing this functionality require calls to be handled by our own VoIP service or a carrier-side integration?

Can an AAC app start synthesized speech in an auto-answered cellular call while the iPhone is locked?
 
 
Q