Re: [UniMRCP] DialogFlow CX - Need help on calling a DialogFlow agent from FreeSWITCH

125 views
Skip to first unread message

Arsen Chaloyan

unread,
Sep 2, 2022, 7:29:58 PM9/2/22
to uni...@googlegroups.com
Below is a sample FS app to be used with Dialogflow CX to trigger a welcome intent in particular.


Although there are subtle differences in the use of Dialogflow ES and CX APIs which may not properly be documented for the GDF plugin, these issues can efficiently be clarified with technical support.

On Fri, Aug 12, 2022 at 11:13 AM Nexinteractive Inc <inexus...@gmail.com> wrote:
I'm trying to execute a DialogFlow Agent from freeswitch (via GDF plugin). The DialogFlow Agent I'm trying to run has been working through google's phone gateway without issues.

My issue is that there's no documentation on how to use the GDF plugin with Freeswitch and I'm having issues with the parameters passed to play_and_detect_speech.

This is what I've tried

<action application="play_and_detect_speech" data="silence_stream://50 detect:unimrcp:google-mrcp-cx {speech-language=en,start-input-timers=false,no-input-timeout=50000,recognition-timeout=15000}builtin:intent/Welcome?parameters={'test_name':'John Wayne'};format=json;projectid=inexus-345911;location=global;agent=b0a1b701-2096-4c61-b28d-7ec0fc380f5a;language=en;api=v3"/>

Screen Shot 2022-08-12 at 1.47.05 PM.png

on the freeswitch end I'm seeing the following:

MRCP/2.0 130 RECOGNITION-COMPLETE 1 COMPLETE
Channel-Identifier: ea55ee26283e4494@speechrecog
Completion-Cause: 001 no-match

on the MRCP server logs I see the following:

[WARN]   gRPC Status: com.google.apps.framework.request.BadRequestException: You can not trigger intent 'Welcome' on the current page 'START_PAGE'. <27a1c01ae442463c@gdf>

Please let me know what I'm doing wrong or if you need any other info.

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/59c17eab-3862-4a6c-8ecf-7c304064841en%40googlegroups.com.


--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org
Reply all
Reply to author
Forward
0 new messages