#Realtime SIP inbound: webhook + accept 200, then SIP 400 error code 504 and WS call_id_not_found

1 messages · Page 1 of 1 (latest)

rotund gulchBOT
#

Reported by @mild flame

Bug Report: Realtime SIP inbound: webhook + accept 200, then SIP 400 error code 504 and WS call_id_not_found
`Steps to Reproduce`
  1. SIP INVITE reaches OpenAI.
  2. OpenAI dispatches the realtime.call.incoming webhook to our server.
  3. We call /v1/realtime/calls/{call_id}/accept.
  4. The accept request returns HTTP 200.
  5. Immediately after that, connecting to wss://api.openai.com/v1/realtime?call_id={call_id} returns:
`Expected Result`

SIP call connect.

`Actual Result`

{
"error": {
"message": "No session found for the provided call_id",
"type": "invalid_request_error",
"code": "call_id_not_found",
"param": ""
}
}

`Environment`

AWS - Ubuntu server 24.04

#
Additional Information

Please provide relevant details to help resolve the issue, such as:

  • ChatGPT Shared Link (if applicable).
  • Screenshots or videos demonstrating the problem.

-# ➜ Need to contact support? Visit the OpenAI Help Center.