Has anyone successfully handled the iOS call scree...
# agents
p
Has anyone successfully handled the iOS call screening in their prompt? it seems to mess up my agent, when i answer the phone.
b
If you are using a stt llm tts pipeline and the IOS screening always use the same message, you can identify it literally by that message in the transcript and give the agent instructions on what to do. I'd suggest to make the turn detection manual until that section is dealt with. Though all that is a bit of a hassle, it is way more reliable than prompts in my experience. I use something like that for voicemail detection.
p
Yes that was my idea. But it seems that when the human pick up the phone it messes the flow. So I guess yes i should do 2 agents? or as you mentionned do manual answering.
b
To do the manual turn part you can do it based on this part of the docs For the identification part I literally send the whole conversation to a new llm saying that it should output a json with data including if it is a human, voicemail or uncertain. Something like:
Untitled
Then I use that result to call something like a "handle_voicemail" or "handle_human" according to the classification