Skip to main content
The First Step
March 16, 2025
Question

Is it possible to receive a call automatically and connect it to a websocket?

Hello,
Is it possible to receive an incoming call automatically and connect to a websocket?
for example I want to connect the incoming call to realtime api of OpenAI to have a conversation with AI.

Thanks in advance

12 replies

ajfahimThe First StepAuthor
The First Step
April 13, 2025

I have managed to make the application work. I just need one little favoure. the application is working on my local computer. but when I host it to the vps. it does not work. 
I wonder is there any thing in ringcentral console that I need to do ?

I just noticed that I am getting a lot of error form the analytics. I am not sure when its happening.

 

 

PhongVu
Community Manager
Community Manager
April 15, 2025

I have managed to make the application work. I just need one little favoure. the application is working on my local computer. but when I host it to the vps. it does not work. 
I wonder is there any thing in ringcentral console that I need to do ?

I just noticed that I am getting a lot of error form the analytics. I am not sure when its happening.

 

 

I can’t help much because it’s about the environment where you deployed your app.

I guess that somehow the websocket gets disconnected too often and the SDK tries to reconnect and it hits the API rate limit (429 error).

Try to use WebHook for the event notification to see if that helps.