https://retellai.com/?utm_source=discord&utm_medium=seo logo
Is there any web socket app for Retell to connect ...
# ❓・ai-evy-support
s
@AI Evy Is there any web socket app for Retell to connect to my device directly instead of using VoIP.
a
Thanks for tagging me @salpre_65938. I'll look through relevant sources and get back to you shortly.
### Answer Based on the documentation, Retell AI doesn't provide a direct WebSocket connection for client-to-agent communication [(1) ]() . The WebSocket functionality in Retell AI is specifically designed for LLM integration, where your server connects to Retell's system to provide custom language model responses [(2) ]() [(3) ]() . The LLM WebSocket allows your server to receive live transcripts and send responses back to Retell, but this is for backend LLM integration, not direct device connectivity [(3) ]() . The WebSocket endpoint follows the pattern
{your-server-websocket-endpoint}/{call_id}
and is initiated by Retell when starting a call . For client connectivity, Retell AI supports WebRTC via LiveKit for web calls [(4) ]() and traditional phone calls through various telephony providers [(5) ]() . The WebSocket approach for direct client connections that existed in v1 has been deprecated [(1) ]() . If you need direct device integration, you would need to use the WebRTC implementation for web-based calls or integrate through the telephony options available.
​ To learn more, see the sources I considered: [[1] Interact with an agent over WebSocket?](https://discord.com/channels/1186424376300679209/1326233340457652284) [[2] Setup WebSocket Server](https://docs.retellai.com/integrate-llm/setup-websocket-server) [[3] LLM WebSocket](https://docs.retellai.com/api-references/llm-websocket) [[4] Create Web Call](https://docs.retellai.com/api-references/create-web-call) [[5] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
is there anyone we can connect for depricated websocket calls. We build our own device.