Git Product home page Git Product logo

Comments (5)

kapildadheech avatar kapildadheech commented on July 24, 2024

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.

davehorton avatar davehorton commented on July 24, 2024

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.

davehorton avatar davehorton commented on July 24, 2024

sample ansible playbook to use with above role

from drachtio-freeswitch-modules.

kapildadheech avatar kapildadheech commented on July 24, 2024

Yes compiled from ansible role working well. Thanks

from drachtio-freeswitch-modules.

davehorton avatar davehorton commented on July 24, 2024

great!

from drachtio-freeswitch-modules.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.