drachtio / drachtio-dialogflow-phone-gateway

An open source telephony gateway for Dialogflow built using drachtio and freeswitch
MIT License
15 stars 6 forks source link

Utterance/transcribe problem - audio becomes utterance #8

Closed andreabat closed 3 years ago

andreabat commented 3 years ago

Hello, Premise: I am not very experienced with neither dialogflow nor drachtio. Dratchio-server and fs are setup with docker (drachtio-freeswitch-mrf and drachtio-server). I have created a very simple dialoglow (es) .

I start a call from a sip client ( twinkle) calling the exposed docker udp port 5063 ("5063:5060/udp"), the welcome intent is detected and initial response is delivered. but , as the response in playing back, it appears as if the playback become the input for the detection of the utterances.

I believe this is happening because the behavior of the dialog is erratic and the dialogflow log seems to confirm my idea ( image )

I am surely missing or misconfiguring something. Can you point me on the right direction ?

BTW. Excellent work

davehorton commented 3 years ago

are you saying the transcriptions you are receiving from dialogflow are of the audio file that is being played? Then I would say you have an echo problem in your setup

andreabat commented 3 years ago

Thanks for pointing me out in the right direction. It turns out that I had altered some fs configuration. Excellent.