Transfer call does not work (nothing happens after...
# support
m
Seems like transfer call does not work. We trigger transferCall() but nothing happens after that. VAPI receives "Transfer Call" command it is shown in the logs: 23:44:01:340 [LOG] Model called tool: transferCall() (is it OK that logs do not display phone number which is being called?) Call link: https://dashboard.vapi.ai/calls/0f147c66-967b-4a74-b126-f95402572884
s
It is because you are handling the transferCall function from your custom-llm end. It is a functionality provided by Vapi. To perform the transferCall, what you need to do is simply add your forwardingNumber in your assistant -> function section and then pass the tools configuration which you receive from the payload to your custom-llm. Now, process it as a general message, which means that if your custom-llm requests a transferCall, then your custom-llm will send a payload to our server something like this: 
Copy code
json
{
    "role": "assistant",
    "content": "",
    "tool_calls": [
        {
            "type": "function",
            "id": "tool_calls.id",
            "function": {
                "name": "transferCall",
                "arguments": "{}"
            }
        }
    ]
}
And after this, we will handle the transferCall part by sending another call to your server and handling it.