Sending Raw Audio Stream over Websockets

Is there any Asterisk feature that can stream raw audio from calls over Websockets? Addition to that, play back an audio stream from a Websocket connection as well. Looking for replacements for Twilio Media Streams

I have come across similar projects on Asterisk but they do not use Websockets for audio communication. Referring to External Media Channel, Audiosocket.

Similar projects to what I have in mind,

I read about AEAP Module and the aeap example app but it seems to be still in dev and not available in any stable release.

1 Like

No, there is no current support for arbitrary raw audio over Websockets. The AEAP module could facilitate it in the future, but it’s for speech to text only at the moment.

Take a look also on Vosk Asterisk plugin:

1 Like

Thanks! That looks great but on a cursory look it seems like Vosk WSS are being sent the audio, however I was looking for bidirectional audio transfer with Websockets.

Hi team ,

Greetings of the day :pray:

I’m new for asterisk so plz guide me from where I have start .

Thanks & Regards


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.