Nomadiction
03/21/2025, 12:33 AM{
"type": "transferCall",
"async": false,
"function": {
"name": "TransferToStore",
"strict": true,
"parameters": {
"type": "object",
"required": [
"reason"
],
"properties": {
"reason": {
"type": "string",
"description": "The reason for transferring the call to the store"
}
},
"additionalProperties": false
},
"description": "Transfers the call to the store. This tool should only be called when the caller's request explicitly matches one of the predefined instructions in the system prompt."
},
"messages": [
{
"type": "request-start",
"content": ""
}
]
}
And this is the event I receive:
{
"message": {
"timestamp": 1742515519284,
"type": "phone-call-control",
"request": "forward",
"forwarding_phone_number": "The caller wants to be transferred to the store.",
"destination": {
"type": "number",
"number": "The caller wants to be transferred to the store."
},
And the call just drops, even if I don't try to transfer. On Twilio I see a failed outgoing dial request with a weird number (I assume it's the "reason" data trying to be converted to numbers.)
Twilio Call SID: CA7570c942a019b84f07313ff2b823db59
Vapi call ID: ea416855-7493-4828-bafc-de0759634f01Vapi
03/22/2025, 7:11 AMNomadiction
03/24/2025, 5:11 PMNomadiction
03/24/2025, 5:12 PMNomadiction
03/24/2025, 5:12 PMVapi
03/27/2025, 10:17 PM