Dmitry Til
01/28/2025, 5:58 PM{
"name": "Outbound phone call",
"model": {
"url": "https://***/webhooks/vapi/custom-llm",
"model": "gpt-4o",
"tools": [
{
"type": "transferCall",
"function": {
"name": "transferCall"
},
"destinations": []
},
{
"type": "endCall",
"function": {
"name": "endCall"
}
}
],
"provider": "custom-llm",
"maxTokens": 250,
"temperature": 0.7,
"urlRequestMetadataEnabled": true
},
"voice": {
"voiceId": "joseph",
"provider": "11labs"
},
"serverMessages": [
"end-of-call-report",
"hang",
"status-update",
"speech-update",
"conversation-update",
"tool-calls",
"transfer-destination-request"
]
}
And here is my response to the 'transfer-destination-request' message:
{
"destination": {
"type": "number",
"number": "+*******",
"message": "",
"caller_id": "{{customer.number}}"
}
}
Atlas
01/28/2025, 5:58 PMVapi
01/28/2025, 6:01 PMVapi
01/28/2025, 6:01 PMVapi
01/28/2025, 6:01 PMShubham Bajaj
01/30/2025, 11:12 AMlogs
šµ 12:07:09:581 Got Tool Messages "request-start". Messages:
[
{
"type": "request-start",
"contents": [],
"content": "Transferring the call now",
"conditions": []
}
]
You have to set the request-start message to empty string else the default message is used for your tool and for the destination you can use either of message type according to your requirement instead of custom-message. Do let me know your usage around custom-message then I can help you better.Shubham Bajaj
02/03/2025, 4:59 AMrawbirth
05/20/2025, 2:27 PM{
"destination": {
"type": "number",
"message": "Connecting you to our support line.",
"number": "+14155552671",
"numberE164CheckEnabled": true,
"callerId": "+14155551234",
"extension": "101"
}
}
Kyle
05/20/2025, 10:58 PM