<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 29, 2014 at 2:52 AM, Ben Merrills <span dir="ltr"><<a href="mailto:b.merrills@mersontech.co.uk" target="_blank">b.merrills@mersontech.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Great news!<br>
<br>
Will this go any way towards helping get some general support for UniMRCP via ARI? I know when I first brought this up a few months ago, my main motivation was to try and see if there was a path for getting speech functionality exposed into ARI.<br>
<span class="HOEnZb"></span><br clear="all"></blockquote></div><br></div><div class="gmail_extra">So, in my spare time, I have been playing around with this.<br><br></div><div class="gmail_extra">Putting an ARI wrapper around the res_speech API is pretty easy. I haven't really decided on what the resources would look like, but right now my working theory would be that it would look similar to the playbacks resource - that is, you can start speech detection via some operation on the channels resource, which hands you back a handle to a speech detection control resource. You can then use a speech detection resource to manipulate what is happening.<br><br></div><div class="gmail_extra">That's the theory anyway.<br><br></div><div class="gmail_extra">I've taken a glance at the Asterisk modules that were written by various folks that the UniMRCP project distributes. Unfortunately, it doesn't look like they made use of the res_speech API. As such, they can't just be used directly behind ARI - some substantial rework would have to be done.<br><br></div><div class="gmail_extra">The first step would still be to get ARI able to wrap res_speech. Once that's in place, if Arsen and others are interested, we can discuss how to tweak the UniMRCP Asterisk modules such that they fit into the overall speech architecture in Asterisk.<br><br>Matt<br></div><div class="gmail_extra"><br>-- <br><div dir="ltr"><div>Matthew Jordan<br></div><div>Digium, Inc. | Engineering Manager</div><div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div><div>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></div></div>
</div></div>