Outbound calls
# support
p
I want to transfer the call but the call ends. Context: I have created a Vapi number (US number), and when I tested it calling from my phone and asked to be transfered using the Forwarding Phone Number function to a mexican sumber the call ends. I added to the system prompt the instruction: if the intention of the user is to... transfer the call using the transfer call function to the number .... I also tried using the transfer call tool. I added the E164 format and all. In the log it appears: [ { "name": "transferCall", "toolCallId": "call_axDPotgfnHm9M9942QBxWmRA", "type": "transferCall", "result": "Transfer initiated." } ]. I also run: import { VapiClient } from "@Vapi-ai/server-sdk"; const client = new VapiClient({ token: "xxx" }); const call = await client.calls.get("xxx"); console.log("End reason:", call.endedReason); and it appears: End reason: assistant-forwarded-call how can i solve it?
c
Hi there 👋 We’ll take a look at your setup as soon as we can. While you wait, you might find these resources helpful: - ⚙ [Configuration guide for assistant-based warm transfers](https://docs.vapi.ai/calls/assistant-based-warm-transfer#configuration) - 📘 [Full documentation for creating or updating a TransferCallTool](https://docs.vapi.ai/api-reference/tools/create#request.body.TransferCallTool) If you’re running into a specific issue, please include your Call ID (if you haven’t already) so we can investigate!
v
Thanks for sharing the details. To help pinpoint the issue, could you let me know which telephony provider (e.g., Twilio, Vonage, Telnyx) you are using for your Vapi number, and if you have checked their call logs for any transfer errors? Source: - [Debug call forwarding drops](https://docs.vapi.ai/phone-calling/transfer-calls/debug-forwarding-drops)
c
Hi pau, You can now programmatically end a call in Vapi by using the new
end-call
message type within a
ClientInboundMessage
. To do this, send a message with the
type
property set to
"end-call"
when you're sending inbound messages to the client. You can find more details in the [January 14, 2025 changelog](https://docs.vapi.ai/changelog/2025/1/14).
3 Views