URGENT !!!! outbound call assistant speak first me...
# support
k
Hi, Can you please help me with two things 1) Add "answeronbridge"=true for my API when dialing Twilio ------------- Communication received from twilio Team For your reference ///// Here is the corrected TwiML: (This is a reference and values might need to be replaced. ///// _____________________ 2) disable the Twilio AMD, i am now using Vapi- having both causes huge latency like 6 seconds. -------------------------- Communication received from twilio Team For your reference //// If you wish to disable AMD, please remove all of the following parameters from your API request, Please contact to your application account developer. MachineDetection AsyncAmd Any parameters starting with MachineDetection* (e.g., MachineDetectionTimeout, MachineDetectionSilenceTimeout, etc.) AsyncAmdStatusCallback Once these are removed, Twilio will no longer run Answering Machine Detection on your calls. ///// ------ I already talked with Twilio team and they cannot help me and they said only Vapi team can help me. Please don't direct me to them again - i want this to be resolved super fast. Let me know what details you need from my side to make it happen. Keurba
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
v
To add
answerOnBridge="true"
when dialing Twilio, update your TwiML generation to include this attribute in the
<Connect>
element. Here’s a sample Express.js endpoint that returns the correct TwiML:
Copy code
js
app.post("/twiml", (req, res) => {
  const VoiceResponse = require('twilio').twiml.VoiceResponse;
  const twiml = new VoiceResponse();
  const connect = twiml.connect({ answerOnBridge: true });
  connect.stream({ url: "wss://your-vapi-stream-url" });
  res.type("text/xml").send(twiml.toString());
});
Replace the stream URL as needed. This ensures Twilio bridges the call only when the other party answers, reducing early media issues. For more details, see the [Vapi-Twilio call handling documentation](https://docs.vapi.ai/calls/call-handling-with-vapi-and-twilio). Source: - [Call Handling with Vapi and Twilio](https://docs.vapi.ai/calls/call-handling-with-vapi-and-twilio)
t
Hey @Keruba I can help you enable answerOnBridge="true" in your TwiML and fully remove every AMD parameter so Twilio stops running detection and the 6-second delay disappears. I just need your current outbound call request or TwiML snippet to apply the fixes correctly. Quick check—are you still experiencing the delay on all calls or only some?