Hi,
I've been building vapi infastructure for a client that uses aircall.
Sometimes the transfers work fine, other times the tool call shows as succesful but nothing is coming through to aircall.
Here's how my dynamic transfer tool is setup:
{
"model": {
"provider": "openai",
"model": "gpt-4o-mini",
"tools": [
{
"type": "transferCall",
"destinations": [
{
"type": "number",
"number": "+441924601865",
"transferPlan": {
"mode": "warm-transfer-wait-for-operator-to-speak-first-and-then-say-message",
"message": "Hey, it's Charlie the AI assistant. I have {{full_name}} on the phone from {{post_code}} looking for a gas boiler quote."
}
}
],
"function": {
"name": "transferCall",
"description": "Use this function to transfer the call. Use it when you’ve mentioned transferring the call to sales.",
"parameters": {
"type": "object",
"properties": {
"destination": {
"type": "string",
"enum": [
"+441924601865"
],
"description": "The destination to transfer the call to."
}
},
"required": [
"destination"
]
}
},
"messages": [
{
"type": "request-start",
"content": "Thanks for confirming, I'm going to transfer your call to our boiler experts to give you a quote. Please hold for a second.",
"conditions": [
{
"param": "destination",
"operator": "eq",
"value": "+441924601865"
}
]
}
]
}
]
}
}
Here is one of the call logs for a transfer that never appeared in aircall: 6a9003ce-8b1a-4937-8451-7bcf36e55f63