/oucXvagrant

OpenUC Vagrant Set-up

Primary LanguageShell

oucXvagrant

This project includes a VM definition using Vagrant to easily start off on a working OpenACD/OpenUC set-up. The VM used is based on a Fedora 16 i386 image.

  • OpenACD
  • sipXopenacd plug-in
  • oucXopenacdWeb

Set-up

  1. Install Virtualbox.
  2. Install Ruby for your system.
  3. Install Vagrant.

sudo gem install vagrant

  1. Install the FC 16 box.

vagrant box add fedora-16 http://TODO/

  1. Check-out the project:

git clone git@github.com:jvliwanag/oucXvagrant.git oucx

  1. Set-up the git repos.

cd oucx ./tools/clone_oacd

  1. Start vagrant

vagrant up # can take several minutes to start and set-up

  1. Dive into ssh

vagrant ssh

Shortcuts

mongoreset - Resets MongoDB with known data
mkoacd - Builds OpenACD and plugins
fs - starts FreeSWITCH
oan - Starts OpenACD
oup - Runs oucXvagrant play

Gotchas

  1. Vagrant 1.0.3 fails in creating a host-only network for the Fedora Core 16.

     The following SSH command responded with a non-zero exit status.
    
     Vagrant assumes that this means the command failed!
    
     /sbin/ifup p7p1 2> /dev/null"
    

See here for workaround.