I’ve seen many questions about connecting an Asterisk call to OpenAI. @jcolp makes it clear the best way is via ARI and external media streams. I’ve seen his AsteriCon presentation about this and the example on Github.
But I do see that the OpenAI handles WebRTC, as does Asterisk. Now it’s been 15 years since I last installed an Asterisk server so my knowledge has dissipated, but would it be possible to use WebRTC instead of ARI?
Actually now that I think about it, without an application in between Asterisk and OpenAI, it would be impossible to set a system prompt or act upon other events. So I guess even if it may be possible to connect via WebRTC, the functionality would be very limited.