Comments (5)
Now getting
2019-12-24 19:58:05.496361 [CRIT] switch_loadable_module.c:1522 Error Loading module /usr/local/freeswitch/mod/mod_dialogflow.so
/usr/local/freeswitch/mod/mod_dialogflow.so: undefined symbol: _ZN6google5cloud10dialogflow7v2beta139_Intent_Message_Image_default_instance_E
from drachtio-freeswitch-modules.
I build using this ansible role and have no such issues. In fact I just rebuilt a server using that and verified mod_dialogflow loads fine.
I suggest you use that ansible role, or if you do not use ansible, look carefully at what it does and the various repos and tags/versions that it uses. Its important to get the version of grpc and googleapis that match the mod_dialogflow code. (But its simpler to use ansible, and if that is not in your bag of tricks currently I highly recommend you pick it up)
freeswitch@ip-172-31-39-252> reload mod_dialogflow
2019-12-24 16:13:16.437699 [INFO] switch_stun.c:900 External ip address detected using STUN: 52.207.224.37
2019-12-24 16:13:16.457694 [INFO] switch_stun.c:900 External ip address detected using STUN: 52.207.224.37
2019-12-24 16:13:16.517703 [NOTICE] switch_loadable_module.c:1318 Deleting API Function 'dialogflow_start'
2019-12-24 16:13:16.517703 [NOTICE] switch_loadable_module.c:1318 Deleting API Function 'dialogflow_stop'
2019-12-24 16:13:16.517703 [CONSOLE] switch_loadable_module.c:2398 Stopping: mod_dialogflow
2019-12-24 16:13:16.517703 [INFO] switch_time.c:1433 Timezone reloaded 1750 definitions
2019-12-24 16:13:16.517703 [NOTICE] switch_event.c:463 Subclass reservation deleted for mod_dialogflow.c:dialogflow::intent
2019-12-24 16:13:16.517703 [NOTICE] switch_event.c:463 Subclass reservation deleted for mod_dialogflow.c:dialogflow::transcription
2019-12-24 16:13:16.517703 [NOTICE] switch_event.c:463 Subclass reservation deleted for mod_dialogflow.c:dialogflow::end_of_utterance
2019-12-24 16:13:16.517703 [NOTICE] switch_event.c:463 Subclass reservation deleted for mod_dialogflow.c:dialogflow::audio_provided
2019-12-24 16:13:16.517703 [NOTICE] switch_event.c:463 Subclass reservation deleted for mod_dialogflow.c:dialogflow::error
2019-12-24 16:13:16.517703 [CONSOLE] switch_loadable_module.c:2418 mod_dialogflow unloaded.
2019-12-24 16:13:16.517703 [NOTICE] mod_dialogflow.c:259 Google Dialogflow API loading..
2019-12-24 16:13:16.517703 [NOTICE] google_glue.cpp:283 "GOOGLE_APPLICATION_CREDENTIALS" environment variable is not set; authentication will use "GOOGLE_APPLICATION_CREDENTIALS" channel variable
2019-12-24 16:13:16.517703 [NOTICE] mod_dialogflow.c:265 Google Dialogflow API successfully loaded
2019-12-24 16:13:16.517703 [CONSOLE] switch_loadable_module.c:1804 Successfully Loaded [mod_dialogflow]
2019-12-24 16:13:16.517703 [NOTICE] switch_loadable_module.c:412 Adding API Function 'dialogflow_start'
+OK Reloading XML
+OK module unloaded
+OK module loaded
2019-12-24 16:13:16.517703 [NOTICE] switch_loadable_module.c:412 Adding API Function 'dialogflow_stop'
from drachtio-freeswitch-modules.
sample ansible playbook to use with above role
from drachtio-freeswitch-modules.
Yes compiled from ansible role working well. Thanks
from drachtio-freeswitch-modules.
great!
from drachtio-freeswitch-modules.
Related Issues (20)
- Facing issue with Azure Transcribe module HOT 2
- mod_aws_transcribe locks when calls is destroyed before transcription is stopped HOT 3
- How to play the audio to caller? HOT 1
- How to activate mod_dialogflow in fusionpbx HOT 2
- lws_glue.cpp:185 connection failed: read failed HOT 1
- Smart Formatting on Deepgram HOT 1
- add support for Azure speech segmentation
- add support for google voice activity timeout
- mod_google_transcribe: Feature Request: Support for `google::cloud::speech::v2` HOT 2
- mod_google_transcribe: Feature Request: Make the sample rate in `RecognitionConfig` configurable
- mod_google_transcribe: Bug: Calling transcribe2_function in mod_google_transcribe.c sometimes crashes HOT 2
- mod_google_transcribe: Feature Request: Allow google speech to text endpoint to be configurable
- deepgram websocket connection closed after few seconds of transcription HOT 4
- mod_audio_fork: Do we need to disconnect audio fork connection?
- Executed the last dialplan instruction after use dialogflow_start
- freeswitch restart issue HOT 3
- **/usr/local/freeswitch/mod/mod_audio_fork.so: undefined symbol: fork_session_send_text**
- mod_audio_fork: memory leak in mod audio fork
- Ability to audio_fork callee channel mono to a wss-url
- Deepgram module latency issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drachtio-freeswitch-modules.