Cannot end call during dialing
# support
n
When I am dialling a number and the recipient has not picked up the phone, when I try to send the end-call signal to Vapi's controlUrl, it just processes for a while and eventually I get a timeout, the call does not get ended either. Example call - https://dashboard.vapi.ai/calls/019acf1b-8f39-7cc1-a5a8-58c4e5a3b190 FYI I am using a Twilio integration. Maybe there is another way to end calls?
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
v
To end a call during the dialing phase, the recommended approach is to send a POST request to the call's
controlUrl
with the following payload:
Copy code
bash
curl -X POST 'https://aws-us-west-2-production1-phone-call-websocket.vapi.ai/<call-id>/control' \
  -H 'content-type: application/json' \
  --data-raw '{"type": "end-call"}'
Replace
<call-id>
with your actual call ID.
This is the standard method for ending calls, including when using Twilio integration. If this still results in a timeout, it may be a provider-side limitation during the dialing phase, and further troubleshooting with Twilio may be required. Reference: [Vapi Call Features Documentation](https://docs.vapi.ai/calls/call-features) Source: - [Vapi Call Features Documentation](https://docs.vapi.ai/calls/call-features)
c
Hi, I am sorry for the delayed response. Thank you for providing the call details. I have reviewed the call logs and I found out that the system was unable to respond to your end-call request because it was handling another error simultaneously. This was related to OpenAI's server returning errors. I have reviewed the related outage, and it appears to have been a one-off incident. Could you please try placing another call and let us know if the issue persists? Thank you