warm transfer fallback
I'm using this with my custom LLM. So far, the transfer and all happens well. However, if the number to which the conversation is being transferred declines the call, or doesn't pick up, the fallback does not seem to work. This is what my config looks like when sent to the conversation's control URL
{
"type": "transfer",
"destination": {
"type": "number",
"number": phone_number,
"callerId": '{{phoneNumber.number}}',
"transferPlan": {
"mode": "warm-transfer-experimental",
"holdAudioUrl": "https://file.mp3",
"summaryPlan": {
"enabled": True,
"messages": [
{
"role": "system",
"content": "Please provide a summary of the call."
},
{
"role": "user",
"content": "Here is the transcript:\n\n{{transcript}}\n\n"
}
]
},
"fallbackPlan": {
"message": "It seems the person is currently busy or on another call. Can I take a message?",
"endCallEnabled": False
}
}
}
}
CC: @Prashant Abbi
{
"type": "transfer",
"destination": {
"type": "number",
"number": phone_number,
"callerId": '{{phoneNumber.number}}',
"transferPlan": {
"mode": "warm-transfer-experimental",
"holdAudioUrl": "https://file.mp3",
"summaryPlan": {
"enabled": True,
"messages": [
{
"role": "system",
"content": "Please provide a summary of the call."
},
{
"role": "user",
"content": "Here is the transcript:\n\n{{transcript}}\n\n"
}
]
},
"fallbackPlan": {
"message": "It seems the person is currently busy or on another call. Can I take a message?",
"endCallEnabled": False
}
}
}
}
CC: @Prashant Abbi