Nemnel
10/22/2025, 9:36 PMVapi Support Bot
10/22/2025, 9:37 PMtransfer-destination-request. Here’s a simple Node.js (Express) example:
js
app.post('/webhook', (req, res) => {
if (req.body.type === 'transfer-destination-request') {
const destination = /* your logic to determine destination */;
console.log('Transferred to:', destination); // Log the destination
res.json({ destination });
}
});
This way, you can always check your server logs to see exactly where each transfer went.
Sources:
- [Dynamic call transfers](https://docs.vapi.ai/calls/call-dynamic-transfers)
- [Server events](https://docs.vapi.ai/server-url/events)EMMANUEL
10/23/2025, 1:25 AMNemnel
10/23/2025, 1:25 AMVapi Support Bot
10/23/2025, 1:26 AMNemnel
10/23/2025, 1:26 AMEMMANUEL
10/23/2025, 1:32 AMChiranjeet Mishra
10/24/2025, 6:34 PM"endedReason": "assistant-forwarded-call". If not, check your assistant's serverMessages configuration.
2. Check Telephony Provider Logs:
- Refer to the phoneCallProviderId from Vapi's response and inspect the logs on your telephony provider's dashboard (e.g., Twilio, Vonage) for any errors related to call transfers.
3. Analyze SIP Signaling (if applicable):
- Download the PCAP file from Vapi and use Wireshark to filter for sip.Method == "REFER". Check for REFER, 202 Accepted, or any error responses.
4. Configuration Check:
- Ensure phoneCallProviderBypassEnabled is set to false unless implementing custom control.
5. Common Solutions:
- Successful forwarding, but call drops: Ensure the destination number is correctly formatted and reachable.
- Transfer not initiated: Modify your serverMessages settings and ensure you aren't overriding Vapi's control with custom logic.
For dynamic transfers, ensure the destinations array is empty in your transferCall tool, and if using a server webhook, it's configured to decide the transfer destination. You can refer to our [dynamic call transfers guide](https://docs.vapi.ai/calls/call-dynamic-transfers) for setup details.
If you continue to experience issues, confirming details like telephony provider logs and replicating the issue outside Vapi can be useful for further analysis.Nemnel
10/29/2025, 9:22 PMChiranjeet Mishra
10/31/2025, 8:55 PM