Exotel call forwarding and voicebot connection
# support
w
hey i have a exotel connection and voicebot enabled within the applet , i want to attach a voicebot to my number in such a way that it initially do conversation with client but then connect to the phone number depending upon a list that i give him , is that possible , can our ai model transfer the call to another number ? is this possible? or can it return something in exotel workflow so that i can attach a transfer applet if it returns yes and something like that ....i have a list of my registered clients and a human agent dedicated to that client phone number i want that every time the client calls my ai do convsersation with him and then checks my list and transfer the call to the number that is of the assigned human agent to that client is this also possible in vapi
v
Yes, with Vapi you can achieve this by using a dynamic call transfer tool that checks your client list and routes the call to the assigned agent. Here’s a simplified example of how your webhook server might respond to Vapi’s transfer request:
Copy code
js
// Node.js Express example
app.post('/webhook', (req, res) => {
  const clientNumber = req.body.customer.phone;
  const agentNumber = lookupAgentNumber(clientNumber); // your logic here
  res.json({
    destination: {
      type: "number",
      number: agentNumber,
      message: "Connecting you to your dedicated agent."
    }
  });
});
Set up your Vapi assistant to use this webhook for dynamic transfers. The AI will talk to the client, check your list, and transfer the call automatically. For more details, see the [Vapi dynamic call transfers guide](https://docs.vapi.ai/calls/call-dynamic-transfers). Source: - [Dynamic call transfers](https://docs.vapi.ai/calls/call-dynamic-transfers)
w
but i have exotel sip numbers not pstn numbers
n
@WhilpashH An exotel numbers is a SIP number - but you can't connect it to VAPI, as Exotel MUST connect the number to an India based endpoint - which VAPI doesn't have. This limitation is imposed from the Exotel side, in compliance with Indian TRAI regulations.
If you want, I'll be happy to share more information over a DM.
r
@Nir Simionovich (CEO@Cloudonix) Hello Nir, we are looking to implement a voice agent for an inbound phone system in India currently handled by an asterisk server. Is it possible to connect the current phone system to a Vapi voice assistant and allow it to provide the first level of support to callers. If so what are the steps for integration? Any pointers or tips would be very helpful... thanks
n
legally, you are not allowed to do it directly - you can do that via Cloudonix to do the protocol conversions, etc.
2 Views