Azure OpenAI Realtime SIP /refer endpoint returns 500 Internal Server Error

Elias 0 Zuverlässigkeitspunkte
2026-04-29T13:42:39.4666667+00:00

Hello Microsoft Azure Support,

we are currently testing the Azure OpenAI Realtime API via SIP and are running into a server-side error when trying to transfer an active SIP call using the documented /refer endpoint.

Resource:

  • Endpoint used: https:/<resource>.openai.azure.com/openai/v1/realtime/calls/<call_id>/refer
  • API: Azure OpenAI Realtime API via SIP
  • Operation: Refer / transfer active SIP call

What works:

  • Incoming SIP calls reach Azure OpenAI.
  • We receive a realtime.call.incoming webhook.
  • We use event.data.call_id from the webhook.
  • The call can be accepted and becomes active.

What fails:

When calling the documented Refer endpoint for the active call, Azure returns HTTP 500 Internal Server Error

Response body: Internal Server Error

Example request:

POST https://<resource>.openai.azure.com/openai/v1/realtime/calls/<call_id>/refer

Headers:

api-key: <Azure OpenAI API key>

Content-Type: application/json

Body:

{

"target_uri": "tel:+4915757*2*****"

}

We also tested the request from Postman. The response is consistently 500 Internal Server Error.

According to the documentation, the /refer endpoint should accept a target_uri such as +14155550123 or sip:[email protected] and return 200 OK once the REFER is relayed to the SIP provider.

Could you please investigate whether this is a service-side issue with the Realtime SIP /refer implementation, or whether there are additional restrictions on target_uri formats, SIP URI transfers, or TLS transport parameters that are not documented?

Best regards,

Elias

Foundry Tools
Foundry Tools

Früher bekannt als Azure-KI-Dienste oder Azure Cognitive Services; eine einheitliche Sammlung vordefinierter KI-Funktionen innerhalb der Microsoft Foundry-Plattform


Ihre Antwort

Antworten können von Fragestellenden als „Angenommen“ und von Moderierenden als „Empfohlen“ gekennzeichnet werden, wodurch Benutzende wissen, dass diese Antwort das Problem des Fragestellenden gelöst hat.