Call Transfer not working https://api.openai.com/v1/realtime/calls/$CALL_ID/refer,

Hi, my code is correct. the payload is correct, but the transfer logic is failing and giving 500 Server error, what could be the reason? 500 usually indicates server side general error?

Has someone implemented this routing? or due to new release, this endpoint has still issues?

I call on a number, it route the request to openai realtime gpt via sip, which hits a webhook. the agent respond. web socket session starts.Agent talk as well. When you say, route to human agent, when it hit the
https://api.openai.com/v1/realtime/calls/$CALL_ID/refer

i get the error? kindly, help me. its urgent?

2 Likes

anybody??/ who can assist or confirm that this works?

tagging @juberti I believe he can help.

others have reported that they are able to use this successfully. if you provide a call_id we can see what caused the 500. it would also be helpful to see your request body.

Is see no attempt to signal a transfer even though it says it is going to transfer
“call_id”: “rtc_u1_25eeec28559d45808fbe52a54cacf5da”,

thanks, I’ll take a look today

Any update on this issue? I have been trying to refer using the JS SDK (openaiClient.realtime.calls.refer) and nothing happens, not even an error.

My call was rtc_u0_70f3ebf419b74bc3b5675107059fc05f

Hey @Joe_Tannen

Sorry about the delay! I will get this into our internal tracker, so much going on it is hard to track where things are at.

What SIP provider are you using? Did you get any HTTP response back?

Sorry for the misunderstanding, I just needed to enable SIP REFER and openaiClient.realtime.calls.refer started working!

2 Likes