Re: [asterisk-users] Streaming for ASR

2016-10-19 Thread Joshua Colp

Matt Riddell wrote:



On 19/10/2016, at 2:32 AM, Luca Pradovera > wrote:

Would UnicastRTP be able to output u-law frames directly? If so, I
think that is all I need.


Joshua Colp did a great writeup that may work for your situation:

http://www.joshua-colp.com/broadcasting-asterisk-conferences/


I did indeed, although I think the options have since changed.

channel originate UnicastRTP/127.0.0.1:5001//c(g722) extension 1000@test

Would be the current.

As well running from git is currently needed as a bug was fixed which 
would cause a crash in UnicastRTP.


--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
 http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Streaming for ASR

2016-10-19 Thread Matt Riddell

> On 19/10/2016, at 2:32 AM, Luca Pradovera  wrote:
> 
> Would UnicastRTP be able to output u-law frames directly? If so, I think that 
> is all I need.

Joshua Colp did a great writeup that may work for your situation:

http://www.joshua-colp.com/broadcasting-asterisk-conferences/ 


I'm still working on mine :-)

--
Cheers,

Matt Riddell
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Streaming for ASR

2016-10-19 Thread Luca Pradovera
Hello,
(sorry for not continuing the thread, I had set the list to digest).

Would UnicastRTP be able to output u-law frames directly? If so, I think
that is all I need.
Does anyone know what the EAGI output is? Raw RTP?

Best regards,

Luca
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Streaming for ASR

2016-10-17 Thread Lefteris Zafiris
On Mon, 17 Oct 2016 18:44:39 -0300
Joshua Colp  wrote:
 
> >>
> >> The UnicastRTP channel driver allows you to send RTP to a specific
> >> target address with media. Combined with Chanspy (or Snoop channels in
> >> ARI) you can duplicate audio from a channel and send it off to where
> >> you want.  
> >
> > So originate a new channel, make one leg a UnicastRTP and the other a
> > chanspy to spy on the channel you're interested in transcribing?  
> 
> Theoretically, yes. Orchestrating stuff could get complicated but that 
> is a way to get media out.
> 

There is also EAGI, not very flexible but still an option.

-- 
Lefteris Zafiris

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Streaming for ASR

2016-10-17 Thread Joshua Colp

Matt Riddell wrote:



On 17/10/2016, at 4:07 PM, Joshua Colp > wrote:

Matt Riddell wrote:



On 17/10/2016, at 3:43 PM, Luca Pradovera 
> wrote:

I have been working on designs for two different projects, where both
of them would need to use the IBM Watson streaming ASR service.

Would it be possible to write out the audio frames as they get
recorded? Watson supports 16 bit signed little endian audio, IIRC, but
there are a few other raw formats available.


That's the main problem I was discussing at AstriDevCon. There's no way
currently to stream the frames to a service.

At the moment I'm saving to a file and then sending that file once
recording has finished.


The UnicastRTP channel driver allows you to send RTP to a specific
target address with media. Combined with Chanspy (or Snoop channels in
ARI) you can duplicate audio from a channel and send it off to where
you want.


So originate a new channel, make one leg a UnicastRTP and the other a
chanspy to spy on the channel you're interested in transcribing?


Theoretically, yes. Orchestrating stuff could get complicated but that 
is a way to get media out.


--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
 http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Streaming for ASR

2016-10-17 Thread Matt Riddell

> On 17/10/2016, at 4:07 PM, Joshua Colp  wrote:
> 
> Matt Riddell wrote:
>> 
>>> On 17/10/2016, at 3:43 PM, Luca Pradovera >> > wrote:
>>> 
>>> I have been working on designs for two different projects, where both
>>> of them would need to use the IBM Watson streaming ASR service.
>>> 
>>> Would it be possible to write out the audio frames as they get
>>> recorded? Watson supports 16 bit signed little endian audio, IIRC, but
>>> there are a few other raw formats available.
>> 
>> That's the main problem I was discussing at AstriDevCon. There's no way
>> currently to stream the frames to a service.
>> 
>> At the moment I'm saving to a file and then sending that file once
>> recording has finished.
> 
> The UnicastRTP channel driver allows you to send RTP to a specific target 
> address with media. Combined with Chanspy (or Snoop channels in ARI) you can 
> duplicate audio from a channel and send it off to where you want.

So originate a new channel, make one leg a UnicastRTP and the other a chanspy 
to spy on the channel you're interested in transcribing?

Cheers,

Matt Riddell
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Streaming for ASR

2016-10-17 Thread Joshua Colp

Matt Riddell wrote:



On 17/10/2016, at 3:43 PM, Luca Pradovera > wrote:

I have been working on designs for two different projects, where both
of them would need to use the IBM Watson streaming ASR service.

Would it be possible to write out the audio frames as they get
recorded? Watson supports 16 bit signed little endian audio, IIRC, but
there are a few other raw formats available.


That's the main problem I was discussing at AstriDevCon. There's no way
currently to stream the frames to a service.

At the moment I'm saving to a file and then sending that file once
recording has finished.


The UnicastRTP channel driver allows you to send RTP to a specific 
target address with media. Combined with Chanspy (or Snoop channels in 
ARI) you can duplicate audio from a channel and send it off to where you 
want.


--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
 http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Streaming for ASR

2016-10-17 Thread Matt Riddell

> On 17/10/2016, at 3:43 PM, Luca Pradovera  wrote:
> 
> I have been working on designs for two different projects, where both of them 
> would need to use the IBM Watson streaming ASR service.
> 
> Would it be possible to write out the audio frames as they get recorded? 
> Watson supports 16 bit signed little endian audio, IIRC, but there are a few 
> other raw formats available.

That's the main problem I was discussing at AstriDevCon.  There's no way 
currently to stream the frames to a service.

At the moment I'm saving to a file and then sending that file once recording 
has finished.

--
Cheers,

Matt Riddell
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Streaming for ASR

2016-10-17 Thread Luca Pradovera
Hello,
I have been working on designs for two different projects, where both of
them would need to use the IBM Watson streaming ASR service.

Based on our discussion at AstriDevCon, I know there is currently no
support for that. However, there may be some workarounds I am not aware of.

Would it be possible to write out the audio frames as they get recorded?
Watson supports 16 bit signed little endian audio, IIRC, but there are a
few other raw formats available.

The goal is to eventually fund the development of a small module to get
something a bit better working, but for now I would be happy with a
solution I can build a prototype on.

Thanks to everybody!

Luca
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users