drachtio / drachtio-freeswitch-modules

A collection of open-sourced freeswitch modules that I use in various drachtio applications
MIT License
171 stars 119 forks source link

Upgrade mod_dialogflow module #79

Open denialhaq opened 2 years ago

denialhaq commented 2 years ago

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

davehorton commented 2 years ago

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

denialhaq commented 2 years ago

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

vdharashive commented 2 years ago

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

rtcexpert commented 2 years ago

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.

jalsot commented 9 months ago

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

denialhaq commented 9 months ago

Makefile.am.v3beta1.zip

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