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`
- SIP INVITE reaches OpenAI.
- OpenAI dispatches the
realtime.call.incomingwebhook to our server. - We call
/v1/realtime/calls/{call_id}/accept. - The accept request returns HTTP 200.
- 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