• Stars
    star
    874
  • Rank 52,219 (Top 2 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created over 9 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Google Voice with Receptionist abilities, built on top of Twilio

Betty

Open source Google Voice with Receptionist abilities

Betty (or Ben for the ones who prefer a male receptionist) is your own customizable receptionist, to forward call and messages to your team anywhere in the world. It's particularly useful if your organization is operating in the US, but based in another countries.

Betty is easy to setup and build on top of Twilio and Node.js, it doesn't necessitate a database (stateless). It can be deployed to Heroku or any unix server.

Deploy

What Betty can do?

One phone number for all your organization

Betty is running on top of one or more phone numbers that represent your organization.

Forward call to available team members

When receiving a call, Betty will forward it to an available team member.

Forward text messages to team members

Like calls, when receiving an SMS, Betty will forward it to all of your team members, the first one to answer will start a session with this caller, he can after that stop the conversation by sending betty: stop.

Makes it easy for your employee to pass phone calls from the organization

When a team member is calling Betty, he/she can ask to be put in touch with a specific number, Betty will dial the number and forward the call to you.

This also works for text messages, simply text Betty with betty: Call +140145170479 or betty: Text +140145170479.

Phone directory for your team members

A team member can also contact Betty to get access to the organization directory (using phone call or sms). For example, just text Betty with: betty: What is Aaron's phone number?.

Web Dashboard

Betty is providing a nice dashboard to manage calls, messages and voicemail. You can pass calls and send SMS right from your browser.

Dashboard

The Receptionists Team

Team

Betty can be configured to use another profile (voice, language, sentences, etc.). Change your receptionist by changing the PROFILE environment variable (see below).

ID Name Voice Language
betty Betty woman (alice) en-us
ben Ben man en-us
catherine Catherine woman (alice) fr

Deployment

Deploy Betty on your own machine using:

# Install Betty using NPM
$ npm install betty-cli -g

# Configure it
$ export TEAM=Samy:+140145170479,Aaron:+147145670479
...

# And finally start it
$ betty

Create a TwiML application with the following urls and associated it to a phone number:

* Voice
   * Request URL: {host}/twiml/call
   * Fallback URL: {host}/twiml/call/fallback
* SMS
   * Request URL: {host}/twiml/sms
   * Fallback URL: {host}/twiml/sms/fallback

Configuration

Configuration is set using environment variables:

Name Description
PORT Port for running the application (Default is 3000)
HOST Hostname where the application is accessible
SECRET Password for authentication in the dashboard and api
PROFILE Receptionist profile to use
PHONES List of phone numbers used by Betty separated by commas
ORG_NAME Name of the organization
TEAM Comma separated list of team members in the format name:phone, example TEAM=Samy:+15674895678,Aaron:+15674995678
TWILIO_SID API Application SID for Twilio
TWILIO_TOKEN API Application Token for Twilio
TWILIO_APPID SID of your TwiML application

REST API

Betty provides a REST API with the same features that the dashboard:

Details about Betty and your account (balance, usages)
GET /api/account

List team members:
GET /api/team

List calls:
GET /api/calls

Details about a specific call:
GET /api/calls/<id>

List SMS
GET /api/sms

List Recordings
GET /api/recordings

More Repositories

1

How-to-Make-a-Computer-Operating-System

How to Make a Computer Operating System in C++
C
20,993
star
2

tv.js

Apple TV for Torrent Streaming in JS (Node/Chrome)
JavaScript
1,370
star
3

gitkit-js

Pure javascript implementation of Git (Node.js and Browser)
JavaScript
604
star
4

devos

(Very) basic UNIX-like operating system built when I was younger
C
544
star
5

glass.py

Create python web applications for Google Glass
Python
276
star
6

draft-js-prism

Code highlighting for DraftJS using Prism
JavaScript
274
star
7

draft-js-code

Collection of utilities to make code blocks edition easy in DraftJS
JavaScript
107
star
8

react-mathjax

React component to display math formulas
JavaScript
93
star
9

draft-js-table

Utilities to edit tables in DraftJS
JavaScript
69
star
10

gumroad-api

Node client for the Gumroad API
JavaScript
35
star
11

code2stl

The Revolution is coming, 3D code like you’ve never seen it before!
JavaScript
33
star
12

draft-js-multidecorators

Combine multiple decorators for DraftJS
JavaScript
32
star
13

issues

GitHub Issues manager for Desktop & Browser
JavaScript
31
star
14

octocat.js

Javascript library to access the GitHub API
JavaScript
30
star
15

codemirror-widgets

Utility to write powerful and interactive widgets for CodeMirror
JavaScript
27
star
16

react-combo-keys

React declarative API to bind keyboard shortcuts
TypeScript
25
star
17

react-nps-input

React component to prompt the NPS score
JavaScript
23
star
18

react-electron-menu

React API to controls electron's menu
JavaScript
20
star
19

xml-schema

Node.js library to generate XML from JavaScript schemas
JavaScript
12
star
20

tpl-emails

Generate HTML emails using templating engines
JavaScript
12
star
21

equery

Query builder for elasticsearch (Node.js / Javascript)
JavaScript
11
star
22

blini

Modern ORM for MongoDB based on immutable data structure and promises.
JavaScript
11
star
23

svg-timegraph

Easy to use Node.JS/Browserify library to render time graph into SVG
JavaScript
11
star
24

react-responsive-hoc

Wrapper around react-responsive to work with SSR
JavaScript
11
star
25

nunjucks-i18n

Nunjucks i18n extension
JavaScript
10
star
26

book-heroku-node

Learn how to build and deploy Node.JS applications on Heroku
10
star
27

pmarca-notes

Notes from Marc Andreessen tweetstorms
10
star
28

react-walk-tree

Asynchronously walk a React element tree
JavaScript
8
star
29

passport-gumroad

Gumroad authentication strategy for Passport.
JavaScript
7
star
30

git-push-server

Make it easy to build an HTTP stateless git-push server
JavaScript
7
star
31

nunjucks-do

do block tag for nunjucks
JavaScript
7
star
32

parse-changelog

Javascript ChangeLog parser
JavaScript
6
star
33

github-slugid

Slugify like GitHub
JavaScript
6
star
34

analytics.js-integration-hotjar

Hotjar Analytics.js integration
JavaScript
5
star
35

should-html

HTML testing assertion for should.js
JavaScript
5
star
36

browserify-rfr

Require From project Root tool for browserify
JavaScript
4
star
37

express-statuspage

Get statuspage.io last incidents into express (node.js)
JavaScript
4
star
38

fswrite-stream

Write a stream to a file
JavaScript
4
star
39

segment.js

Segment.com client for the browser and node.js
JavaScript
4
star
40

html2jsx.js

Pure javascript HTML to Jsx parser (works in webworker)
JavaScript
4
star
41

jobworker

WebWorker background jobs worker
JavaScript
3
star
42

aphrodite-to-jss

Aphrodite compatible API on top of JSS.
TypeScript
3
star
43

node-corvisa

Client for the Corvisa REST API
JavaScript
3
star
44

i18n-t

Easy to use i18n utility for node
JavaScript
3
star
45

nunjucks-autoescape

Nunjucks extension that brings a "autoescape" tag
JavaScript
2
star
46

nunjucks-filter

Nunjucks extension that brings a "filter" tag
JavaScript
2
star
47

diff-linetoword

Convert line-diff to word-diff
JavaScript
2
star
48

range-utils

Javascript utilities to work with ranges (offset, length)
JavaScript
2
star
49

suspense-cache

Cache utility to create resources for React suspense
TypeScript
2
star
50

markdown-it-renderer

markdown-it renderer to output markdown
JavaScript
1
star
51

stream-res

Pipe a stream to an HTTP response
JavaScript
1
star
52

algolia-faq

Algolia FAQ as a GitBook
CSS
1
star
53

SamyPesse

1
star