MaxKnox
05/14/2024, 3:47 PMVapi Support
05/14/2024, 3:47 PMVapi Support
05/14/2024, 3:47 PMtransferCall function. When a forwardingPhoneNumber is present on an assistant, the assistant will have the capability to transfer the call to this number [(1)]() .
Here's a basic example of how to set up the transferCall function:
json
{
"model": {
"provider": "openai",
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": "You are an assistant at a law firm. When the user asks to be transferred, use the transferCall function."
}
]
},
"forwardingPhoneNumber": "+16054440129"
}Vapi Support
05/14/2024, 3:48 PMVapi Support
05/14/2024, 4:19 PM