Outbound call failing (use to work)
# support
b
Hi Team, I have had an assistant making outbound calls. It was working two or three weeks ago, and now it doesn't. It makes the call (twilio integration, I reset the integration) but says nothing and hangs off after 5 seconds. I tried to change the voice, added more credit, used one of the template agents, still no voice on the call. The report says the customer did not answer. It works absolutely fine in the testing panel using the "talk to Assistant" button. I am at a loss. Any ideas?
g
Try checking your geo-permission settings your location might’ve been considered high-risk location..
n
@Benoit Alvarez Where are you dialing exactly? what destinations?
b
UK to UK
UK Number in Twilio (region US1) calling my mobile in the UK
n
Can you show me an example of a destination you were unable to call - and also your Twilio phone number
c
Hi Benoit Alvarez, If you're experiencing dropped calls when attempting to forward calls, here’s a concise troubleshooting guide: 1. **Verify Forwarding Initiation**: - Use the Vapi API to check the call's
endedReason
and ensure it's
"assistant-forwarded-call"
. - You can do this with the following TypeScript code snippet:
Copy code
typescript
     import { VapiClient } from "@vapi-ai/server-sdk";
     const client = new VapiClient({ token: process.env.VAPI_API_KEY });
     const call = await client.calls.get("YOUR_CALL_ID");
     console.log("End reason:", call.endedReason);
2. **Check Configuration**: - Ensure your assistant configuration does not include
"phone-call-control"
within
serverMessages
, unless custom logic is implemented. - Set
phoneCallProviderBypassEnabled
to
false
unless managing call control directly. 3. **Telephony Provider Logs**: - Access your telephony provider's dashboard (e.g., Twilio, Vonage, Telnyx) using the
phoneCallProviderId
and check for any transfer-related errors. 4. SIP Packet Analysis (for SIP-Based Calls): - Download the PCAP file from the Vapi API and open it in Wireshark. - Use the filter
sip.Method == "REFER"
to see if the transfer request was sent. For more detailed steps, refer to the [debugging guide](https://docs.vapi.ai/phone-calling/transfer-calls/debug-forwarding-drops). Ensure these steps are followed before considering potential issues with your telephony provider. If the call still drops, your provider's logs may offer additional insights into the failure.
8 Views