Nice job Sylvain and wazo team! This is exactly what we were talking about at astricon this year!
On Fri, Jan 25, 2019 at 7:15 AM Sylvain Boily <sylv...@wazo.io> wrote: > Hello, > > On 2018-10-16 3:18 p.m., Sylvain Boily wrote: > > Hello, > > > > On 2018-10-15 3:29 p.m., Matt Fredrickson wrote: > >> On Tue, Oct 9, 2018 at 12:09 PM Seán C. McCord <ule...@gmail.com> > wrote: > >>> Because several people raised the issue at DevCon, I figured it may > >>> be worth mentioning this: app_audiosocket. I haven't submitted it > >>> mainly due to the thought that no one else would fine it > >>> interesting. There exist other, similar ways to get audio out: > >>> app_jack, app_unimrcp, etc. I built this because of some special > >>> needs, and it is very convenient due to its extremely light weight. > >>> > >>> Regardless, should anyone be interested, here it is: > >>> > >>> https://github.com/CyCoreSystems/audiosocket > >>> > >>> The idea is to create a TCP socket to somewhere, pass some extremely > >>> simple metadata (a UUID), and broker audio between the channel and > >>> the socket. It is as simple as possible. > >> For those who aren't aware, getting this pushed out to the -dev list > >> was an AstriDevCon 2018 takeaway action item with regards to interop > >> with web-based speech recognition APIs. I'd love to see more > >> discussion and work on this topic, as I think that there stands much > >> to be improved in Asterisk to better interoperate with some of the > >> major speech recognition vendors. > >> > > > > Will be nice to have this on ARI, like GET /channels/channelId/stream. > > We can help to develop this feature! > > We did a 3 days Wazo hackathon this week and we developed a module to > get audio from a channel_id to a websocket in asterisk. > > Our project has been to get a realtime voice communication, send it to > an STT and with the result to prioritize a call in a mini emergency call > center before someone get the call. The source code of this project is > on my github. [1] > > It works well but it's a proof of concept (no test). I will be nice to > have input, tests and other suggestions to put it on Asterisk in the > future. Actually, the concept is you open a websocket with a subprotocol > channel-stream and a Channel-ID http header with the channel_id of the > channel you want to have the stream. The module use audiohook in > Asterisk, transcode and send it in PCM 16k to the websocket. > > We will also release all source code for this demonstration if someone > want to test. In attachment a screenshot to help you to understand the > result. (in french sorry) > > Thank you for your feedback or suggestions. > Sylvain > > [1] https://github.com/sboily/wazo-hackathon-asterisk-stream-module > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-dev mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-dev
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev