Dynamic Transfer Tool with properties does not work
From what I can tell, whenever a transfer tool includes any properties, the
immediately transfers the call to a default/random SIP destination.
For example:
{
"type": "transferCall",
"function": {
"name": "transfer",
"parameters": {
"type": "object",
"properties": {
"reasonForCalling": {
"description": "The reason the customer is calling. If not sure, use 'other'.",
"type": "string",
"enum": ["parts", "service", "other"],
"default": "other"
}
},
"required": []
},
"description": "Use this tool when transferring a call."
},
"messages": [{ "type": "request-start", "blocking": false }],
"destinations": []
}
Even when configured exactly as shown in your documentation
(see: https://docs.vapi.ai/assistants/examples/support-escalation),
the assistant skips the webhook and tries to transfer directly to
---
Is this expected behavior, or has the
simply not been tested in SIP environments?
transfer-destination-request webhook never fires. Instead, the assistant immediately transfers the call to a default/random SIP destination.
For example:
{
"type": "transferCall",
"function": {
"name": "transfer",
"parameters": {
"type": "object",
"properties": {
"reasonForCalling": {
"description": "The reason the customer is calling. If not sure, use 'other'.",
"type": "string",
"enum": ["parts", "service", "other"],
"default": "other"
}
},
"required": []
},
"description": "Use this tool when transferring a call."
},
"messages": [{ "type": "request-start", "blocking": false }],
"destinations": []
}
Even when configured exactly as shown in your documentation
(see: https://docs.vapi.ai/assistants/examples/support-escalation),
the assistant skips the webhook and tries to transfer directly to
sip:parts@mysipuri.com. ---
Is this expected behavior, or has the
transfer-destination-request webhook simply not been tested in SIP environments?