Giter VIP home page Giter VIP logo

telephony-dev-box's Introduction

Telephony Dev Box

Installation

  1. Install virtualbox
  2. Install vagrant
  3. Clone this repository (git clone https://github.com/mojolingo/Telephony-Dev-Box.git) if you have git installed, or download an archive.
  4. Add the vagrant-berkshelf plugin to your Vagrant installation by doing vagrant plugin install vagrant-berkshelf.
  5. Build the VMs: This project ships with configuration for various telephony engines: Asterisk and FreeSWITCH, along with a box with Lumenvox TTS & ASR deployed and a load test box (containing SIPp + Sippy Cup). If you simply type vagrant up then one VM will be created for each engine, as well as a VM containing a working Adhearsion environment. However, this will create five virtual machines! You can easily bring up just the instance(s) you want by typing any combination of the below commands:
  • vagrant up adhearsion
  • vagrant up asterisk
  • vagrant up freeswitch
  • vagrant up lumenvox
  • vagrant up loadtest

One thing to note is that the "adhearsion" VM is especially optional. Most of the Mojo Lingo developers simply run Adhearsion locally. We provided a VM for those users who had a difficult time getting a Ruby build running on their system. If you already have a functional Ruby environment (with RubyGems) then feel free to just gem install adhearsion and keep going.

Usage

Create an Adhearsion app

Configure it to connect to the platform of your choice using one of the following samples:

##
# Use with Rayo (FreeSWITCH)
#
config.punchblock.username = "[email protected]" # Your XMPP JID for use with Rayo
config.punchblock.password = "1" # Your XMPP password
##
# Use with Asterisk
#
config.punchblock.platform = :asterisk # Use Asterisk
config.punchblock.username = "manager" # Your AMI username
config.punchblock.password = "password" # Your AMI password
config.punchblock.host = "asterisk.local-dev.mojolingo.com" # Your AMI host

Test

Boot your Adhearsion app and call in. You can dial usera@[asterisk/freeswitch].local-dev.mojolingo.com, or any number from a registered endpoint.

Register your softphone (optional)

The Asterisk and FreeSWITCH VMs contain preconfigured "usera" and "userb" accounts for softphones. Use the following credentials to register:

  • Username: usera@[asterisk/freeswitch].local-dev.mojolingo.com / Password: usera
  • Username: userb@[asterisk/freeswitch].local-dev.mojolingo.com / Password: userb

Base Boxes

This project includes base box templates for use on Mojo Lingo projects. These base boxes are published at http://ci.mojolingo.com/job/Telephony-Dev-Box-Base-Boxen, and include Chef 11. Ubuntu 12.04 and CentOS 6.4 boxes are available, both 64bit. The main difference between these and other publicly available base boxes is the visibility into their build mechanism and that they never change after they are published - new builds always have a new build number in their URL; this way you can be sure of base box stability.

telephony-dev-box's People

Contributors

benlangfeld avatar bklang avatar wdrexler avatar mwhagedorn avatar lpradovera avatar

Watchers

James Cloos avatar Giorgio Modoni 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.