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

Feature/dialogflow location support #67

Closed davehorton closed 3 years ago

davehorton commented 3 years ago

add support for non-global dialogflow regions. To take advantage of this the project-id in the dialogflow_start api command should be formatted as follows:

project-id:environment:region-id. (explicitly specifies environment and region)

or

project-id:environment (region defaults to 'us')

or

project-id::region-id (environment defaults to 'draft')

or

project-id (environment and region default to 'draft' and 'us' respectively

Note: the following are the valid region-ids:

Note: This requires a build of freeswitch that has releases of grpc and googleapis that support this feature. ansible-role-fsmrf will be updated shortly to build more recent versions of both that support this.

davehorton commented 3 years ago

here is an example shell script showing how to build with the proper versions of grpc and googleapis