GithubHelp home page GithubHelp logo

ccoreilly / drachtio-freeswitch-modules Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drachtio/drachtio-freeswitch-modules

0.0 2.0 0.0 417 KB

A collection of open-sourced freeswitch modules that I use in various drachtio applications

License: MIT License

Makefile 1.48% C++ 66.18% C 32.34%

drachtio-freeswitch-modules's Introduction

drachtio-freeswitch-modules

An open-source collection of freeswitch modules, primarily built for for use with drachtio applications utilizing drachtio-fsrmf, but generally usable and useful with generic freeswitch applications. These modules have beeen tested with Freeswitch version 1.8.

A Freeswitch module that attaches a bug to a media server endpoint and streams L16 audio via websockets to a remote server. The audio is never stored to disk locally on the media server, making it ideal for "no data at rest" type of applications. This module also supports receiving media from the server to play back to the caller, enabling the creation of full-fledged IVR or dialog-type applications.

A tts provider module that integrates with Google Cloud Text-to-Speech API and integrates into freeswitch's TTS framework (i.e., usable with the mod_dptools 'speak' application)

Adds a Freeswitch API call to start (or stop) real-time transcription on a Freeswitch channel using Google Cloud Speech-to-Text API.

Adds a Freeswitch API to start a Google Dialogflow agent on a Freeswitch channel.

Adds Freeswitch APIs call to integrate with aws lex v2 apis.

Adds a Freeswitch API call to start (or stop) real-time transcription on a Freeswitch channel using AWS streaming transcription (HTTP/2 based).

Installation

These modules have dependencies that require a custom version of freeswitch to be built that has support for grpc (if any of the google modules are built) and libwebsockets. Specifically, mod_google_tts, mod_google_transcribe and mod_dialogflow require grpc, and mod_audio_fork requires libwebsockets.

Building from source

This ansible role can be used to build a freeswitch 1.8 with support for these modules. Even if you don't want to use ansible for some reason, the task files, and the patchfiles should let you work out how to build it yourself manually or through your preferred automation (but why not just use ansible!)

Note: that ansible role assumes you are building on Debian 9 (stretch).

Using docker

docker pull drachtio/drachtio-freeswitch-mrf:v1.10.1-full to get a docker image containing all of the above modules with the exception of mod_aws_transcribe.

Configuring

The three modules that access google services (mod_google_tts, mod_google_transcribe, and mod_dialogflow) require a JSON service key file to be installed on the Freeswitch server, and the environment variable named "GOOGLE_APPLICATION_CREDENTIALS" must point to that file location.

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.