Vramir
04/27/2024, 5:59 PMVapi Support
04/27/2024, 5:59 PMVapi Support
04/27/2024, 5:59 PMforwardingPhoneNumber
in the assistant configuration, Vapi also supports the use of multiple forwardingPhoneNumbers
. This allows you to specify an array of phone numbers to which the calls can be forwarded dynamically. When defining your assistant, you can instruct it on when to use each of these numbers within the system prompt [(1)]() .
For dynamically triggering the forwarding function with a specific phone number during the conversation, you can make use of the transferCall
function. This function can be used to transfer the call to a number specified at runtime based on the conversation's context or certain conditions being met [(2)]() .
Please note, when implementing dynamic call forwarding or transfer, ensure that your logic for decision-making (e.g., choosing the destination number based on the user's language preference) is clearly defined within the assistant's setup or the associated server logic. This way, you can effectively manage the call routing to different numbers or assistants as needed.Vapi Support
04/27/2024, 5:59 PMVapi Support
04/27/2024, 6:02 PM