We’ve developed a voice application powered by gpt-realtime. We connect callers with the model via SIP Trunking with a twilio number. The setup has been working well so far, but from mid-December, some calls started to fail. Recently, the number of failed calls has been increasing, to the point that we’re getting more failed calls than successful ones now.
We don’t have any SIP header records for the failed calls because the OpenAI webhook is not even sending the realtime.call.incoming event. We can only see this in Twilio:
- Status: failed
- Last SIP Response: 400 Bad Request
For testing purposes, we disconnected the SIP trunk on Twilio and forwarded incoming calls to a local webhook URL instead, to see if they reached it. All did, which seems to indicate that there’s some issue with the SIP connection between Twilio and OpenAI.
As mentioned, this issue is intermittent and completely unpredictable. We have no way to reproduce it more than calling many times until it starts failing. We can have 3 failing calls in a row; then one works; then the next two fail again; etc. All without changing anything on Twilio, OpenAI or our app.
Is anyone else experiencing this?
@Sean-Der , would you be able to help? I’m tagging you as per your request in this post, reporting a similar issue: Receiving SIP 400 Bad Request when sending an INVITE from Twilio to OpenAI
Thank you ![]()