Requirements -
Ira-dependency repo deb
IraVoice deb
IraBase deb
IraCluster deb
Install Ira-dependency repo deb
Download the latest packages of ira-dependency-repo deb from the deb packages link
Install the ira-dependency repo deb using the following command
sudo apt install ./ira-dependency-repo_XXXXX.deb |
Then run perform an
apt-update |
Install irabase deb
Download and Install the ira-dependency repo deb using the following command
sudo apt install ./irabase-XXX.deb |
Generate the nkeys
Create NKeys (required for authentication in NATS)
You need to generate two pairs of nkeys, one for the normal user and one for the system user. The system user is used by iracluster, whereas, rest of the applications use the normal user for authentication.
To generate nkeys, go to this link and download the package that is relevant to your operating system
https://github.com/nats-io/nkeys/releases/tag/v0.4.7
Example,
Go to the above link and download nkeys-v0.4.7-linux-amd64.zip, unpack the zip and you will find the nk binary which you can copy to /usr/local/bin
Then, execute the below command to generate pair of nkeys
nk -gen user -pubout |
We need to execute the above command twice, once for a pair of keys for system user and another for normal user.
The string starting from S is the seed key and starting from U is the public key.
Set one pair for nats_public_key, nats_seed_key and the other pair for sys_nats_public_key and sys_nats_seed_key in the later steps.
For more information on nkeys, check this link https://docs.nats.io/running-a-nats-service/configuration/securing_nats/auth_intro/nkey_auth
Make the common_config.json and iravoice.json
Example of a common_config.json.
{ |
Example of Iravoice.json
{ |
Once these files are ready, Place these files into the /usr/local/epi/conf directory
Install Iravoice deb
Install the iravoice repo deb using the following command
sudo apt install ./iravoice_XXXXX.deb |
Installing IraCluster
Requirements -
Iracluster deb
Irapass.json
License PEM file
Place the license pem file into the /usr/local/epi/conf directory and also prepare the irapass.json file in the same directory.
Example of irapass.json
{ |
Download Iracluster Deb from the packages link
Install the iracluster deb using the following command
sudo apt install ./iraclusterXXXXX.deb |
Verification
Make sure that irapass has received the licences and also make sure that iravoice log file says it is ready to accept calls.
Optional
Installation of Ira-Automate- A signalling application for IraVoice
Requirements
Common_config.json located in /usr/local/epi/conf/ directory
IraBase
You can download and install the Ira-Automate Deb from the link below.