Giter VIP home page Giter VIP logo

snippets-voicemail-transcription's Introduction

Snippets Voicemail Transcription

This snippet will show you how to implement transcribing a recorded voicemail message.

About Voicemail Transcription

Easily create a quick transcription service that will email the contents of the voice mail.

Getting Started

You will need a machine with Python installed, the SignalWire SDK, a provisioned SignalWire phone number, and optionally Docker if you decide to run it in a container.

For this demo we will be using Python, but more languages may become available.

  • Python
  • SignalWire SDK
  • SignalWire Phone Number
  • Docker (Optional)

Running Voicemail Transcription - How It Works

We are going to build off of our Simple IVR Menu, and add ring groups

Methods and Endpoints

Endpoint: /voice_entry
Methods: GET OR POST
Handles incoming voice requests
Endpoint: /transcribe_webhook
Methods: GET OR POST
Processes the transcription actions, i.e Sending Email.
Endpoint: /recording_webhook
Methods: GET OR POST
Provided for informational purposes, if you would like to see the recording status information.
Endpoint: /hangup
Methods: GET OR POST
Handles voice hangup.

Setup Your Enviroment File

  1. Copy from 'example.env' and fill in your values
  2. Save new file called '.env'

Your file should look something like this

## This is the full name of your SignalWire Space. e.g.: example.signalwire.com
MAILGUN_DOMAIN=
MAILGUN_API_TOKEN=
EMAIL_FROM=
EMAIL_TO=
EMAIL_SUBJECT=Voicemail Transcription

Build and Run on Docker

Lets get started!

  1. Use our pre-built image from Docker Hub
For Python:
docker pull signalwire/snippets-voicemail-transcription:latest

(or build your own image)

  1. Build your image
docker build -t snippets-voicemail-transcription .
  1. Run your image
docker run --publish 5000:5000 --env-file .env snippets-voicemail-transcription
  1. The application will run on port 5000

Build and Run Natively

For Python

1. Replace environment variables
2. From command line run, python3 app.py

More Documentation

You can find more documentation on LaML, Relay, and all Signalwire APIs at:

Support

If you have any issues or want to engage further about this Signal, please open an issue on this repo or join our fantastic Slack community and chat with others in the SignalWire community!

If you need assistance or support with your SignalWire services please file a support ticket from your Dashboard.

snippets-voicemail-transcription's People

Contributors

kevingarabedian2 avatar

Stargazers

Philipp Huth avatar Nikolay Kolev avatar

Watchers

Sergio Tulentsev avatar Ryan Williams avatar Anthony Minessale avatar Evan McGee avatar James Cloos avatar Andrey Volk avatar Chris Clement avatar  avatar Philipp Huth avatar

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.