<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">this would have to be implemented as a module, similar to mod_unimrcp or mod_pocketsphix, that implements these protocols<div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 15, 2016, at 12:14 PM, Leonardo Lima Ribeiro <<a href="mailto:llribeiro90@gmail.com" class="">llribeiro90@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Michael, thank you for the response!</div><div class=""><br class=""></div><div class="">Actually I was thinking about copy the function “recordFile” but instead of save a file in the system etc, just the streams to my STT service…</div><div class=""><br class=""></div><div class="">Example of usage in LUA:</div><div class="">text = session:asrApi(“IBM_WATSON”, max_len_secs, silent_threshold, silence_secs, keywords)</div><div class=""><br class=""></div><div class="">Which “IBM_WATSON” points me to a XML conf file (eg. conf/asrapi/IBM_WATSON.xml) which have all the settings needed to stream to that API like auth token, endpoints urls, supported protocols (initially web sockets and gRPC) etc.</div><div class="">max_len_secs, silent_threshold, silence_secs - exactly like the current recordFile function params.</div><div class="">keywords - optional field, some of these apis can use a list of words to improve the accuracy and speed of recognition...</div><div class=""><br class=""></div><div class="">For now, if my approach is correct, I found the following functions, to have an idea on how to start:</div><div class="">switch_ivr_play_say.c - switch_ivr_record_file</div><div class="">switch_cpp.cpp - CoreSession::recordFile</div><div class=""><br class=""></div><div class="">So yeah, I've setup already a development environment for me, following the instructions on (Creating New Modules - Confluence page).</div><div class="">To be honest it’s my first time developing on C, so if you have good sources to improve my learning curve on “how to create a module in FreeSWITCH” would be awesome!</div><div class=""><br class=""></div><div class="">Can you give me a feedback on my approach and also the directions/instructions in what modules/functions should I use to do that?</div><div class=""><br class=""></div>Thank you,<div class="">Leo</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Aug 15, 2016, at 11:33 AM, <a href="mailto:freeswitch-users-request@lists.freeswitch.org" class="">freeswitch-users-request@lists.freeswitch.org</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">we would welcome for review someone submitting an module to support these.. it should not require a new module format, we already have those for speech recognition.. it would require a module that implemented the interfaces.</span><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""></div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Aug 14, 2016, at 5:47 AM, Leonardo Lima Ribeiro <<a href="mailto:llribeiro90@gmail.com" class="" style="color: purple; text-decoration: underline;">llribeiro90@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="" style="font-size: 14px;">Hello guys!</span><br class=""><br class=""><span class="" style="font-size: 14px;">Is there any modules that we can use to make ASR using IBM Bluemix Watson Speech To Text (which accepts web sockets for streaming recognition) or Google Speech to Text API (which uses gRPC for streaming recognition)?</span><br class=""><br class=""><span class="" style="font-size: 14px;">If there are none, do you think it’s worth it to build them (like in a new module format)? I know the current standard way is to use unimrcp, but unfortunately I could not get good results for my business cases using Sphinx, and the good services appears to be pricey… Said that, I was thinking about build modules that allows us to easily integrate to Google STT and IBM Watson STT Apis, which are the most popular and accessible services... </span><br class=""><br class=""><span class="" style="font-size: 14px;">Thank you,</span></div></div></blockquote></div></div><br class="Apple-interchange-newline"></div></blockquote></div><br class=""></div></div>_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>