Hi, out of curiosity, I'm trying to see if I can use application record + mod_httapi (https://freeswitch.org/confluence/display/FREESWITCH/mod_httapi) to connect with Google Speech Recognition service (via a proxy app that will handle HTTP to gRCP convertion). Just as a test, I'm trying to see if using an inbound event socket I can inject a DETECTED_SPEECH event in a channel. I tried something like this and got an +OK from FS: T 192.168.88.78:60380 -> 192.168.88.74:8021 [AP] sendevent DETECTED_SPEECH Unique-ID: a03486b8-781d-430a-ab26-5815485401a8 Call-UUID: a03486b8-781d-430a-ab26-5815485401a8 call_uuid: a03486b8-781d-430a-ab26-5815485401a8 uuid: a03486b8-781d-430a-ab26-5815485401a8 Channel-UUID: a03486b8-781d-430a-ab26-5815485401a8 Speech-Type: begin-speaking T 192.168.88.74:8021 -> 192.168.88.78:60380 [AP] Content-Type: command/reply Reply-Text: +OK 64bdd4aa-9476-4db8-b56c-36a62f6a2238 but nothing got notified to the channel (and no logs about it from FS running in debug level) Would this be actually possible?
Probably you are already aware of this, but just in case, there is in fact a ModUniMRCP plugin for GSR: - http://unimrcp.org/solutions/google-speech-recognition It works well, but it is non-free. On Sun, May 24, 2020 at 6:44 AM mayamatakeshi <mayamatakeshi@gmail.com> wrote:
Hi, out of curiosity, I'm trying to see if I can use application record + mod_httapi ( https://freeswitch.org/confluence/display/FREESWITCH/mod_httapi) to connect with Google Speech Recognition service (via a proxy app that will handle HTTP to gRCP convertion). Just as a test, I'm trying to see if using an inbound event socket I can inject a DETECTED_SPEECH event in a channel. I tried something like this and got an +OK from FS:
T 192.168.88.78:60380 -> 192.168.88.74:8021 [AP] sendevent DETECTED_SPEECH Unique-ID: a03486b8-781d-430a-ab26-5815485401a8 Call-UUID: a03486b8-781d-430a-ab26-5815485401a8 call_uuid: a03486b8-781d-430a-ab26-5815485401a8 uuid: a03486b8-781d-430a-ab26-5815485401a8 Channel-UUID: a03486b8-781d-430a-ab26-5815485401a8 Speech-Type: begin-speaking
T 192.168.88.74:8021 -> 192.168.88.78:60380 [AP] Content-Type: command/reply Reply-Text: +OK 64bdd4aa-9476-4db8-b56c-36a62f6a2238
but nothing got notified to the channel (and no logs about it from FS running in debug level)
Would this be actually possible?
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
Also FWIW I have open sourced a freeswitch module that integrates with google transcription: https://github.com/davehorton/drachtio-freeswitch-modules/tree/master/module... <https://github.com/davehorton/drachtio-freeswitch-modules/tree/master/modules/mod_google_transcribe> It requires building a version of freeswitch that links with GRPC libs On May 24, 2020, at 12:54 PM, . <joes.mailing.lists@gmail.com> wrote: Probably you are already aware of this, but just in case, there is in fact a ModUniMRCP plugin for GSR: http://unimrcp.org/solutions/google-speech-recognition <http://unimrcp.org/solutions/google-speech-recognition> It works well, but it is non-free. On Sun, May 24, 2020 at 6:44 AM mayamatakeshi <mayamatakeshi@gmail.com <mailto:mayamatakeshi@gmail.com>> wrote: Hi, out of curiosity, I'm trying to see if I can use application record + mod_httapi (https://freeswitch.org/confluence/display/FREESWITCH/mod_httapi <https://freeswitch.org/confluence/display/FREESWITCH/mod_httapi>) to connect with Google Speech Recognition service (via a proxy app that will handle HTTP to gRCP convertion). Just as a test, I'm trying to see if using an inbound event socket I can inject a DETECTED_SPEECH event in a channel. I tried something like this and got an +OK from FS: T 192.168.88.78:60380 <http://192.168.88.78:60380/> -> 192.168.88.74:8021 <http://192.168.88.74:8021/> [AP] sendevent DETECTED_SPEECH Unique-ID: a03486b8-781d-430a-ab26-5815485401a8 Call-UUID: a03486b8-781d-430a-ab26-5815485401a8 call_uuid: a03486b8-781d-430a-ab26-5815485401a8 uuid: a03486b8-781d-430a-ab26-5815485401a8 Channel-UUID: a03486b8-781d-430a-ab26-5815485401a8 Speech-Type: begin-speaking T 192.168.88.74:8021 <http://192.168.88.74:8021/> -> 192.168.88.78:60380 <http://192.168.88.78:60380/> [AP] Content-Type: command/reply Reply-Text: +OK 64bdd4aa-9476-4db8-b56c-36a62f6a2238 but nothing got notified to the channel (and no logs about it from FS running in debug level) Would this be actually possible? _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com <https://signalwire.com/> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community <https://signalwire.community/> Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com <https://freeswitch.com/> Official FreeSWITCH Sites https://freeswitch.com/oss <https://freeswitch.com/oss> https://freeswitch.org/confluence <https://freeswitch.org/confluence> https://cluecon.com <https://cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> https://freeswitch.com <https://freeswitch.com/>_________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
Wow! Nice!! Thanks Dave! On Sun, 24 May 2020 at 18:59, David Horton <daveh@drachtio.org> wrote:
Also FWIW I have open sourced a freeswitch module that integrates with google transcription:
https://github.com/davehorton/drachtio-freeswitch-modules/tree/master/module...
It requires building a version of freeswitch that links with GRPC libs
On May 24, 2020, at 12:54 PM, . <joes.mailing.lists@gmail.com> wrote:
Probably you are already aware of this, but just in case, there is in fact a ModUniMRCP plugin for GSR:
- http://unimrcp.org/solutions/google-speech-recognition
It works well, but it is non-free.
On Sun, May 24, 2020 at 6:44 AM mayamatakeshi <mayamatakeshi@gmail.com> wrote:
Hi, out of curiosity, I'm trying to see if I can use application record + mod_httapi ( https://freeswitch.org/confluence/display/FREESWITCH/mod_httapi) to connect with Google Speech Recognition service (via a proxy app that will handle HTTP to gRCP convertion). Just as a test, I'm trying to see if using an inbound event socket I can inject a DETECTED_SPEECH event in a channel. I tried something like this and got an +OK from FS:
T 192.168.88.78:60380 -> 192.168.88.74:8021 [AP] sendevent DETECTED_SPEECH Unique-ID: a03486b8-781d-430a-ab26-5815485401a8 Call-UUID: a03486b8-781d-430a-ab26-5815485401a8 call_uuid: a03486b8-781d-430a-ab26-5815485401a8 uuid: a03486b8-781d-430a-ab26-5815485401a8 Channel-UUID: a03486b8-781d-430a-ab26-5815485401a8 Speech-Type: begin-speaking
T 192.168.88.74:8021 -> 192.168.88.78:60380 [AP] Content-Type: command/reply Reply-Text: +OK 64bdd4aa-9476-4db8-b56c-36a62f6a2238
but nothing got notified to the channel (and no logs about it from FS running in debug level)
Would this be actually possible?
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
On Mon, May 25, 2020 at 3:04 AM David Horton <daveh@drachtio.org> wrote:
Also FWIW I have open sourced a freeswitch module that integrates with google transcription:
https://github.com/davehorton/drachtio-freeswitch-modules/tree/master/module...
It requires building a version of freeswitch that links with GRPC libs
Thanks. I have looked into it some time ago. I'm just experimenting with some alternative ways to make this integration (just for fun, no money involved).
Nice work David. Thank you very much. -- To save our tigers, save their habitat. Think before you print this email. < www.saveourtigers.com> On Sun, May 24, 2020 at 11:31 PM David Horton <daveh@drachtio.org> wrote:
Also FWIW I have open sourced a freeswitch module that integrates with google transcription:
https://github.com/davehorton/drachtio-freeswitch-modules/tree/master/module...
It requires building a version of freeswitch that links with GRPC libs
On May 24, 2020, at 12:54 PM, . <joes.mailing.lists@gmail.com> wrote:
Probably you are already aware of this, but just in case, there is in fact a ModUniMRCP plugin for GSR:
- http://unimrcp.org/solutions/google-speech-recognition
It works well, but it is non-free.
On Sun, May 24, 2020 at 6:44 AM mayamatakeshi <mayamatakeshi@gmail.com> wrote:
Hi, out of curiosity, I'm trying to see if I can use application record + mod_httapi ( https://freeswitch.org/confluence/display/FREESWITCH/mod_httapi) to connect with Google Speech Recognition service (via a proxy app that will handle HTTP to gRCP convertion). Just as a test, I'm trying to see if using an inbound event socket I can inject a DETECTED_SPEECH event in a channel. I tried something like this and got an +OK from FS:
T 192.168.88.78:60380 -> 192.168.88.74:8021 [AP] sendevent DETECTED_SPEECH Unique-ID: a03486b8-781d-430a-ab26-5815485401a8 Call-UUID: a03486b8-781d-430a-ab26-5815485401a8 call_uuid: a03486b8-781d-430a-ab26-5815485401a8 uuid: a03486b8-781d-430a-ab26-5815485401a8 Channel-UUID: a03486b8-781d-430a-ab26-5815485401a8 Speech-Type: begin-speaking
T 192.168.88.74:8021 -> 192.168.88.78:60380 [AP] Content-Type: command/reply Reply-Text: +OK 64bdd4aa-9476-4db8-b56c-36a62f6a2238
but nothing got notified to the channel (and no logs about it from FS running in debug level)
Would this be actually possible?
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
On Mon, May 25, 2020 at 1:56 AM . <joes.mailing.lists@gmail.com> wrote:
Probably you are already aware of this, but just in case, there is in fact a ModUniMRCP plugin for GSR:
- http://unimrcp.org/solutions/google-speech-recognition
It works well, but it is non-free.
Thanks. Yes, I'm aware of it. I actually studied it a little when working on a mrcp server written in node.js: https://github.com/MayamaTakeshi/mrcp_server
participants (5)
-
.
-
David Horton
-
David Villasmil
-
mayamatakeshi
-
Prashant Lamba