Tobias
01/22/2025, 3:37 PMjson
{
"function": {
"name": "transfer_call",
"description": "...",
"parameters": {
"type": "object",
"properties": {
"destination": {
"description": "...",
"type": "string",
"enum": [
"xxxxxx",
...
]
}
},
"required": [
"destination"
]
}
},
"async": false,
"destinations": [
{
"type": "number",
"number": "xxxxxx",
"message": "...",
"description": "...",
"numberE164CheckEnabled": false
},
...
]
}
In the log for such an issue we receive following output:
15:04:23:886
[LOG]
Model output: Moment
15:04:23:901
[LOG]
Model output: bitte
15:04:23:916
[LOG]
Model output: .
15:04:23:929
[LOG]
Model output:
15:04:23:945
[LOG]
Model output: functions
15:04:23:968
[LOG]
Model output: .transfer
15:04:23:974
[LOG]
Model output: _call
15:04:24:019
[LOG]
Model output: ({
15:04:24:032
[LOG]
Model output: destination
15:04:24:048
[LOG]
Model output: :
15:04:24:061
[LOG]
Model output: "+
15:04:24:062
[LOG]
Voice input: Einen Moment bitte. functions.transfercall({ destination:
15:04:24:085
[LOG]
Model output: xxx
15:04:24:091
[LOG]
Model output: xxx
15:04:24:108
[LOG]
Model output: xxx
15:04:24:125
[LOG]
Model output: xxx
15:04:24:136
[LOG]
Model output: "
15:04:24:153
[LOG]
Model output: })
15:04:24:166
[LOG]
Model output: 15:04:24:198
[LOG]
Model request cost (attempt #1, $0.011095, 1955 prompt, 88 completion)
15:04:24:199
[CHECKPOINT]
Model sent end token
Is this a bug on VAPI side or is this something we can resolve?
Thanks
TobiasVapi
01/22/2025, 3:40 PMtransfer_call
function is meant to be executed and not spoken. This might involve adjusting the way the model is triggered or providing additional context that differentiates between spoken output and command execution.
If the issue persists despite these adjustments, it may be a bug on the VAPI side. In that case, please reach out to the VAPI support team with detailed information about the issue, including the logs you've provided, so they can investigate further.
For now, if you need to execute the transfer_call
function, please provide the destination number, and I will assist you with that.
Best regards,
VAPI Support BotVapi
01/22/2025, 3:40 PMVapi
01/22/2025, 3:40 PMTobias
01/22/2025, 3:42 PMtransfer_call
).Tobias
01/24/2025, 7:54 AMTobias
01/29/2025, 2:23 PMmindofman
03/19/2025, 4:53 PMKings Big
03/20/2025, 12:22 AM