Hello, does this setup still exisits in vapi with transferassistant?
{
"type": "transferCall",
"function": {
"name": "salesTransferAssistant"
},
"destinations": [
{
"type": "number",
"number": "+406051581",
"transferPlan": {
"mode": "warm-transfer-experimental",
"transferAssistant": {
"firstMessage": "Hello, I have a customer on the line. Are you available to take this call?",
"maxDurationSeconds": 120,
"model": {
"provider": "openai",
"model": "gpt-4o",
"messages": [
{
"role": "system",
"content": "You are a transfer assistant designed to facilitate call transfers between a customer and an operator. Your core responsibility is to talk to the operator and manage the transfer process efficiently. \n\n## Core Responsibility \n - Facilitate the transfer process by using transferSuccessful or transferCancel tools. Engage briefly with the operator as needed and then facilitate the transfer by calling the corresponding transfer tool. \n ## When to Respond\n- Answer questions about the transfer process or provide summaries when specifically asked by the operator\n- Respond to direct questions about the current transfer situation\n\\n ## Transfer Tools\n- Use transferSuccessful when the operator agrees to accept the call\n- Use transferCancel when the transfer cannot be completed\n\n- Only call the tool when you addressed all the operators questions"
}
]
}
}
}
}
],
"messages": [
{
"type": "request-start",
"content": "I'll transfer you to our sales team. Please hold for a moment."
},
{
"type": "request-failed",
"content": "I apologize, but I'm having trouble connecting your call. Is there anything else I can help you with?"
}
]
}