optimistic-gold•14mo ago
How do we use the transferCall tool/function for inbound calls?
Hey guys I would like to know how we can setup multiple forwarding options for our inbound call assistant. I can see that there's documentation for the outbound but is there a way we could do the same for inbound?
https://docs.vapi.ai/call-forwarding
Quick note: we're aware of the Forwarding Phone Number field but we have multiple phone numbers that the bot can forward the call, depending on their enquiry.
Thanks
13 Replies
@CF Team
Absolutely, for handling multiple forwarding options for inbound calls, you can utilize the
forwardingPhoneNumbers
array attribute. This allows you to route calls to different destinations based on the caller's request or other criteria you define.
Here's a brief overview of how you can set it up:
1. Define the forwardingPhoneNumbers
array with the different phone numbers you want to forward calls to.
2. Implement logic in your call assistant to determine the appropriate forwarding number based on the caller's enquiry.
3. Use the selected forwarding number from the array to route the call accordingly.
If you need more detailed guidance or have specific criteria for call routing, please let me know, and I can assist you further!
You can continue this conversation by mentioning me in the message.
Got it. Tagging @Vapi Team for additional help.fascinating-indigo•14mo ago
1. use transistent assistant or dynamic variables and pass the numbers bot can forward call to, before the start of the call
2. during the call using using call transfer function ask bot to transfer the call to the number randomly
3. if number is busy it won't connect back to the assistant
optimistic-goldOP•14mo ago
Hi, thanks but how can we do this for inbound calls?
currently, we can only add the transfer call type of tool if we will be doing outbound, just need some confirmation from the support if this is still an upcoming feature for the VAPI UI under Tools.
optimistic-goldOP•14mo ago

fascinating-indigo•14mo ago
enable the transfer tool, and it will work.
it's an vapi provided tool, I didn't understood you completly.
blank-aquamarine•14mo ago
@CF Team You have to set up an assistant configuration on your own webhook, configure the multiple numbers there, then on the phone number leave the Inbound assistant blank and add your webhook URL as the server URL in your account settings. Are you familiar with Make.com?
fascinating-indigo•14mo ago
so he wanted to use transient assistant for inbound calls.
blank-aquamarine•14mo ago
He wanted to be able to transfer to multiple numbers, while in the UI you can only add one number, which is why you have to use a transient assistant for multiple numbers. Is that right?
fascinating-indigo•14mo ago
both are different in his you have to just pass list of numbers as dynamic variables and during the call ask the assistant to transfer the call to any of the number randomly or based on some logiv
blank-aquamarine•14mo ago
So the 'forwarding number' field on the assistant UI is not relevant since you can just add numbers in the prompt?
fascinating-indigo•14mo ago
it's relevant but you can trigger the tool with your own numbers as well.
blank-aquamarine•14mo ago
Oh okay, that makes sense
Just for the record though, can I leave it blank then?
optimistic-goldOP•14mo ago
Thanks guys I'll try it