Stream / Playback using websocket

Hello ,

I am trying to know if we can stream audio using web sockets in asterisk?

Regards
CJ

Probably… not?

The only case of that currently is the AEAP functionality used with the speech dialplan functions, for doing speech recognition.

Is there any example or sample available for AEAP ?
also can we do this by calling an external application running in python or node to achieve the same?

Regards
CJ

https://docs.asterisk.org/Configuration/Interfaces/Asterisk-External-Application-Protocol-AEAP/?h=

@Chetang.Jha
This a working example
asterisk/aeap-speech-to-text: Asterisk external speech to text application (github.com)
It is written in nodejs but I think I have seen one in python somewhere

@egorky,

Thanks but this is for one way audio only right ?
If I want to do bi directional streaming would this be helpful ?
Also I am no good in node js but python would be helpful,

Regards
CJ

Hi,
We had already did realtime bidirectional audio stream.

You can check
experiense.ai

Contact me with direct message because some all things cann’t get as free.

@Chetang.Jha , Well, in fact, I just tested two way streaming with AEAP and found out there is no silence recognition so, you just have to stop the recognition with a timeout. Because I was building a voice bot, AEAP was no good, I had to build it with UniMRCP Home (unimrcp.org) and my bot is fantastic.

@egorky , are you facing any delays in terms of ASR recognition while using UniMRCP ?

Regards
CJ

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