SaiTama
10/27/2025, 11:38 AMVignxt Flow
10/27/2025, 2:16 PMChiranjeet Mishra
10/27/2025, 7:49 PM/inbound_call. Store the call reference and possibly invoke Vapi for initial AI instructions.
2. **Prompt User via Vapi**: Decide if the user wants a specialist. If yes, trigger the /connect endpoint.
3. **Create/Join Conference**: Update the inbound call to join a conference, placing the user on hold.
4. **Dial Specialist**: Create a second call leg to the specialist's phone and use statusCallback to handle no-answer or voicemail.
5. **Handle Unanswered Call**: If Twilio determines a no-answer, use a callback to play a message or send the user back to the AI for scheduling.
6. **Merge Call If Answered**: If the specialist answers, merge calls and join the user and specialist in a conference.
For detailed information, check the [Call Handling with Vapi and Twilio](https://docs.vapi.ai/calls/call-handling-with-vapi-and-twilio) guide. This includes sample code for setting up and managing these calls.
Let me know if you need help with specific steps or have any further questions.SaiTama
10/28/2025, 3:28 AMVignxt Flow
10/28/2025, 9:00 AMSaiTama
10/29/2025, 4:47 AMChiranjeet Mishra
10/29/2025, 10:07 PM