muhammad_3216
09/02/2025, 9:28 AMChiranjeet Mishra
09/03/2025, 2:22 PMtransferCancel tool to handle situations where the call isn't successful (e.g., when it's declined or times out). This will ensure the assistant resumes if the call isn't attended.
2. **Prompt Configuration**: In your prompts, specify conditions to detect cases like voicemail or a timeout (maxDurationSeconds). Configure your assistant to use the transferCancel when these are met. This ensures that the call returns to the original assistant and resumes the interaction.
Here's an example transfer configuration snippet:
json
{
"mode": "warm-transfer-experimental",
"transferAssistant": {
"maxDurationSeconds": 90,
"messages": [
{
"role": "system",
"content": "Use the transferCancel if the call is not answered or manually declined."
}
]
}
}
Make sure to test this with your current setup and adjust the prompts and configuration accordingly. You can find more detailed information in the [Assistant-based warm transfer documentation](https://docs.vapi.ai/calls/assistant-based-warm-transfer).