Re: [asterisk-users] Simple speech recognition for driving IVR - "press or say one".

2017-12-06 Thread Jonathan H
Thanks for your responses - it looks like I have the following options, in order of ease: 1: Modify and recompile app_record.c Change line 471 https://github.com/asterisk/asterisk/blob/master/apps/app_record.c#L471 from status_response = "DTMF"; to status_response = dtmf_integer; Pro:

Re: [asterisk-users] Simple speech recognition for driving IVR - "press or say one".

2017-12-06 Thread Dan Cropp
UniMRCP with one of the various speech recognition providers they support definitely works for this. Specify multiple grammars in the MRCP call. One for text to listen for. Another for the DTMFs to listen for. The results will indicate which grammar and what was detected. The combination of

[asterisk-users] Asterisk BackgroundDetect and the talk extension

2017-12-06 Thread Dan Cropp
I am using AMI to issue a BackgroundDetect on a channel. Everything works great, I receive the result and the variables on the channel. I am running into one issue though. After calling that function on AMI, when I send the next command on AMI for that channel. For example, a Playback. This

Re: [asterisk-users] How can I check backtrace files ?

2017-12-06 Thread Richard Mudgett
On Wed, Dec 6, 2017 at 12:13 PM, Olivier wrote: > > > 2017-12-06 15:52 GMT+01:00 George Joseph : > >> >> >> On Tue, Dec 5, 2017 at 9:20 AM, Olivier wrote: >> >>> Hello, >>> >>> I carefully read [1] which details how backtrace files can

Re: [asterisk-users] How can I check backtrace files ?

2017-12-06 Thread Olivier
2017-12-06 15:52 GMT+01:00 George Joseph : > > > On Tue, Dec 5, 2017 at 9:20 AM, Olivier wrote: > >> Hello, >> >> I carefully read [1] which details how backtrace files can be produced. >> >> Maybe this seems natural to some, but how can I go one step

Re: [asterisk-users] Simple speech recognition for driving IVR - "press or say one".

2017-12-06 Thread Jean Aunis
Hello, Maybe you can do this by mixing your current code with an ARI application. I mean : - just before entering the speech recognition AGI, enter your ARI application - in the application, subscribe to the channel's events, setup DTMF event handlers, and call "continueInDialpan" -

Re: [asterisk-users] Simple speech recognition for driving IVR - "press or say one".

2017-12-06 Thread Jurijs Ivolga
Hi, Please check code of it. It listens for # and it is quite easy to add all other keys 1-9 and etc Then change code accordingly so script returns value of key. As far as I remember it wasn't hard. With kind regards, Jurijs On Wed, Dec 6, 2017 at 4:50 PM, Jonathan H

Re: [asterisk-users] How can I check backtrace files ?

2017-12-06 Thread George Joseph
On Tue, Dec 5, 2017 at 9:20 AM, Olivier wrote: > Hello, > > I carefully read [1] which details how backtrace files can be produced. > > Maybe this seems natural to some, but how can I go one step futher, and > check that produced XXX-thread1.txt, XXX-brief.txt, ... files are

Re: [asterisk-users] Simple speech recognition for driving IVR - "press or say one".

2017-12-06 Thread Jonathan H
Thanks Jurijs, Yes, in fact I'm already using that, and it works fine. The problem here is that I cannot find a way of recording speech AND listening for a DTMF digit being pressed as an alternative. That's where the problem lies. J. --

Re: [asterisk-users] Simple speech recognition for driving IVR - "press or say one".

2017-12-06 Thread Jurijs Ivolga
Hi, I was able to achieve this using: http://zaf.github.io/asterisk-speech-recog/ I needed to change code, so it wasn't working out-of-the-box. I did this couple of years ago and unfortunately I do not have code anymore. But it wasn't too difficult. With kind regards, Jurijs On Wed, Dec 6,

Re: [asterisk-users] Simple speech recognition for driving IVR - "press or say one".

2017-12-06 Thread Jurijs Ivolga
Hi, I was able to achieve this using: Jurijs On Wed, Dec 6, 2017 at 4:33 PM, Jonathan H wrote: > Briefly: I want to be able to have "press or say (number)", with > Asterisk listening for a spoken number, but accepting a DTMF digit, > too. > > I'm posting everything I

[asterisk-users] Simple speech recognition for driving IVR - "press or say one".

2017-12-06 Thread Jonathan H
Briefly: I want to be able to have "press or say (number)", with Asterisk listening for a spoken number, but accepting a DTMF digit, too. I'm posting everything I found so far, here, partly to show working, but also in case anyone else finds it useful. So, moving on This looked hopeful for a