I am building a Python application using the Vapi WebSocket API (vapi.websocket provider). My goal is to have the AI Assistant transfer the call to a PSTN number (e.g., a relative) when triggered by a user command (e.g., "Call my wife"). I am successfully:
1.Connecting to the Vapi API via POST
https://api.vapi.ai/call.
2.Establishing a WebSocket connection to the returned websocketCallUrl.
3.Streaming audio both ways (ASR and TTS are working).
4. Receiving the tool call event from Vapi when I say "Call my wife".