nimbleape / dana-tsg-ari-bridge

An ARI Bridge that enables spying on individual participants for STT purposes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dana TSG ARI Bridge

This application creates a bare bones ARI Confbridge with SFU capabilities. It literally takes calls into an extension and bridges them together using the SFU capabilites inside of Asterisk. The added bit is the ability to snoop on every single participant in a bridge and send their audio to Google's Speech To Text service using Asterisk's new External Media capability from 16.6 onwards

Requirements

Install

yarn

Run

Set your config settings in config/default.js (or config/production.js if you're running with NODE_ENV=production)

yarn start

Logging

This project uses Pino as it's logging library which outputs JSON to the console. You can make this easier ot read using pino-pretty or just use the yarn start-pretty command.

Dockerfile

The included Dockerfile is very opinionated. It uses multi stage builds and then uses a "distroless" Node.js image from Google. there's no point exec'ing into it because there's no bash terminal available etc. Use it as Docker should be used :)

About

An ARI Bridge that enables spying on individual participants for STT purposes

License:MIT License


Languages

Language:JavaScript 97.0%Language:Dockerfile 3.0%