drachtio / drachtio-freeswitch-modules

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

Executed the last dialplan instruction after use dialogflow_start #157

Open andreslavariega opened 10 months ago

andreslavariega commented 10 months ago

Hello! I need help (I don't know if there is a help forum, please tell me what it is), I have this Dial plan for freeswitch. I installed it with ansible, but I don't know how I can use dialogflow_start in a stable call.

And I receive the call and this is the log, in the log we can see that the api connect to dialogflow, but end the session immediately.

2023-12-05 22:28:16.475388 48.43% [INFO] sofia.c:10459 sofia/drachtio_mrf/5570990001@170.79.125.94 receiving invite from 170.79.125.94:5060 version: 1.10.10-release git 4cb05e7 2023-08-13 16:57:39Z 64bit call-id: 6013595016aad5011352f06406be60fc@170.79.125.94:5060
2023-12-05 22:28:16.475388 48.43% [INFO] mod_dialplan_xml.c:639 Processing 5570990001,523317030866,,35329ef8f0f6,170.79.125.142,8990,false <5570990001>->523317030866 in context mrf
EXECUTE [depth=0] sofia/drachtio_mrf/5570990001@170.79.125.94 answer()
2023-12-05 22:28:16.475388 48.43% [NOTICE] mod_dptools.c:1406 Channel [sofia/drachtio_mrf/5570990001@170.79.125.94] has been answered
EXECUTE [depth=0] sofia/drachtio_mrf/5570990001@170.79.125.94 set(project-id=encuesta-voicebot)
2023-12-05 22:28:16.475388 48.43% [DEBUG] mod_dptools.c:1671 SET sofia/drachtio_mrf/5570990001@170.79.125.94 [project-id]=[encuesta-voicebot]
EXECUTE [depth=0] sofia/drachtio_mrf/5570990001@170.79.125.94 set(lang-code=es)
2023-12-05 22:28:16.475388 48.43% [DEBUG] mod_dptools.c:1671 SET sofia/drachtio_mrf/5570990001@170.79.125.94 [lang-code]=[es]
EXECUTE [depth=0] sofia/drachtio_mrf/5570990001@170.79.125.94 set(event=Welcome)
2023-12-05 22:28:16.475388 48.43% [DEBUG] mod_dptools.c:1671 SET sofia/drachtio_mrf/5570990001@170.79.125.94 [event]=[Welcome]
2023-12-05 22:28:16.475388 48.43% [DEBUG] mod_dialogflow.c:146 command 7ca15de5-c8f5-468c-8887-11d3f9848ff2 encuesta-voicebot es Welcome
2023-12-05 22:28:16.475388 48.43% [DEBUG] google_glue.cpp:125 GStreamer: token 0: 'encuesta-voicebot'
2023-12-05 22:28:16.475388 48.43% [INFO] google_glue.cpp:145 GStreamer dialogflow endpoint is dialogflow.googleapis.com, region is us, project is encuesta-voicebot, environment is draft
2023-12-05 22:28:16.475388 48.43% [INFO] google_glue.cpp:177 GStreamer::startStream session projects/encuesta-voicebot/locations/us/agent/environments/draft/users/-/sessions/7ca15de5-c8f5-468c-8887-11d3f9848ff2, event Welcome, text (null) 0x7f0f6809f570
2023-12-05 22:28:16.475388 48.43% [DEBUG] google_glue.cpp:210 GStreamer::startStream checking OutputAudioConfig custom parameters: speaking rate 0.000000, pitch 0.000000, volume 0.000000, voice name '' gender '', effects ''
2023-12-05 22:28:16.475388 48.43% [INFO] google_glue.cpp:239 GStreamer::startStream no custom parameters for OutputAudioConfig, keeping default
EXECUTE [depth=0] sofia/drachtio_mrf/5570990001@170.79.125.94 set(api_result=+OK Success
)
2023-12-05 22:28:16.535463 48.43% [NOTICE] switch_core_state_machine.c:382 sofia/drachtio_mrf/5570990001@170.79.125.94 has executed the last dialplan instruction, hanging up.