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

2017-12-10 Thread Joshua Colp
On Sun, Dec 10, 2017, at 05:51 PM, Jonathan H wrote: > Hang on, all of the fiddling in this thread seems remarkably > over-complicating what should be an incredibly simple task. > > We know that a DTMF keypress interrupted the recording. We also know > that app_record.c knows which keypress it was

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

2017-12-10 Thread Jonathan H
Hang on, all of the fiddling in this thread seems remarkably over-complicating what should be an incredibly simple task. We know that a DTMF keypress interrupted the recording. We also know that app_record.c knows which keypress it was from * \param dtmf_integer the integer value of the DTMF key

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: Free

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

2017-12-06 Thread Dan Cropp
, 2017 8:44 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Simple speech recognition for driving IVR - "press or say one". Hi, I was able to achieve this using: Jurijs On Wed, Dec 6, 2017 at 4:33 PM, Jonathan H mailto:lardconce...@gmail.c

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" - then

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 wrote: > Thanks Ju

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, 20

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 found so far, here, partl

[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