-
Notifications
You must be signed in to change notification settings - Fork 215
Restcomm OSX native installation
Antonis Tsakiridis edited this page May 9, 2017
·
10 revisions
- Install ipcalc and tmux (I'm using brew, but feel free to use any method)
$ brew install ipcalc
$ brew install tmux
- Navigate to bin directory
cd RESTCOMM/bin/restcomm
- Setup your networking at
restcomm.conf. For me it is:
# Network configuration
NET_INTERFACE='en4'
PRIVATE_IP='192.168.2.2'
SUBNET_MASK='225.255.255.0'
NETWORK='192.168.2.0'
BROADCAST_ADDRESS='192.168.2.255'
- Add VOICERSS key in restcomm.conf (to get text to speech functionality)
VOICERSS_KEY=<your key>
- Make sure you have Java 1.7 so that JBoss AS 7.2.0 can run (not 1.8). Check it with:
$ java -version
- Make sure JAVA_HOME env variable is there and points to the correct java home. For me it is:
$ export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home
- Enable encrypted communications with self-signed certificate (notice this is just for testing purposes, NOT be used in production) by editing
advanced.conflike so:
#! /bin/bash
...
SECURESSL=SELF
...
-
Install gsed (i.e.
$ brew install gnu-sed) and executeRESTCOMM/bin/restcomm/gsed_macos.shthat will replace all occurrences of sed with gsed so that scripts work properly on OSX. -
Start Restcomm Connect as usual:
./start-restcomm.sh