A quick and easy FreeSWITCH box for playing/hacking on.
This uses Vagrant to spin up a local virtual machine and will install FreeSWITCH for you automatically on the vm.
- Virtual Box - a cross platform virtual machine program by Oracle
- Vagrant - a virtual machine provisioner making it easier than ever to automate virtual machine setups
-
Check out/download the code...
-
In your terminal, go to the code directory and type:
vagrant up
. This will download your Ubuntu virtual machine and install FreeSWITCH on it from packages. -
When it finishes, type
vagrant ssh
to get to the terminal of your new virtual machine -
Copy the vanilla config into the FreeSWITCH configuration folder:
sudo cp -a /usr/share/freeswitch/conf/vanilla /etc/freeswitch
-
Type
sudo service freeswitch start
-
Party on!!!
- Shutdown the vm for later using
vagrant halt
(to boot back up simply usevagrant up
again) - Pause the vm in its current stat using
vagrant suspend
(to resume the vm usevagrant resume
)