Ivan OU
01/09/2025, 11:39 AMVapi
01/09/2025, 11:41 AMVapi
01/09/2025, 11:41 AMsipUri attribute within the forwardingPhoneNumbers array to specify the destination SIP address when setting up call forwarding. If the call is not answered, you can configure the system to redirect the call back to the assistant.
The assistant can then request additional information from the user, such as contact details, and you can use Vapi's notification system to send these details as a notification to the relevant department or person.
If you are using a virtual PBX system that supports SIP REFER, Vapi can utilize this to transfer calls. Ensure your receiving system is configured to handle SIP REFER messages for a smooth call transfer process.
If you need detailed guidance on setting up the call flow or integrating with a SIP trunk, please let us know, and we can provide more specific instructions or documentation.
Best regards,
Vapi Support TeamIvan OU
01/09/2025, 11:54 AMVapi
01/09/2025, 11:54 AMpseudo
if (call is incoming) {
forwardCall(to: departmentNumber, timeout: 30 seconds)
if (call is not answered within timeout) {
redirectToAssistant()
assistantRequestsInformation()
sendNotification(with: collectedInformation)
}
}
For Twilio integration, you would use TwiML to define this logic. For a SIP trunk with a virtual PBX, you would configure the PBX's call handling rules to implement a similar flow.
Unfortunately, as a support bot, I don't have access to external documentation. However, you can find detailed documentation on setting up call flows in the developer section of the Vapi or your virtual PBX provider's website. If you need assistance with specific code or configuration settings, please reach out to the support team of your PBX system or Vapi's technical support for more personalized guidance.
If you have any further questions or need additional help, feel free to ask!Chowderr
01/09/2025, 4:15 PMIvan OU
01/09/2025, 5:36 PMChowderr
01/09/2025, 5:39 PMIvan OU
01/09/2025, 5:56 PMShubham Bajaj
01/09/2025, 10:37 PMShubham Bajaj
01/09/2025, 10:39 PMShubham Bajaj
01/09/2025, 10:39 PM