drachtio/drachtio-freeswitch-modules

Upgrade mod_dialogflow module

Opened this issue · 6 comments

Hi Dave,

We (My friend and i) are trying to upgrade mod_dialogflow from v2beta1 into v3beta1 that used for google dialogflow cx api. Currently we are having issue and anomaly, sometime we can get the audio and send it into google and sometimes we can not. But, we can recieve response from google dialogflow cx even we send without audio input.

Would you like to review our code? we will really appreciate it

Thank you

Yes, I would be interested to look at your code.

Thank you, i sent you an email. i'm looking forward to your feedback..

Hi Denial,
Can you publish your code
Since i also face the same issue.
Thanks

Bellow is my observation while working with CX v3beta1.

My config:

audioConfig->set_audio_encoding(AudioEncoding::AUDIO_ENCODING_LINEAR_16);
audioConfig->set_sample_rate_hertz(16000);
  1. Try to use PCMU as a code,
  2. You can use set_single_utterance false and wait for is_final.

Hi, I'm wondering whether you succeeded with new API interface and CX, maybe to share the ongoing diff for that.

Makefile.am.v3beta1.zip

Hi, this is my last custom code.
currently i am not working in this case at the moment