Installing/updating IraDialer 1.3.x using deb package

IMPORTANT

This document explains the process for installing iradialer versions 1.3.x. For instructions on installing 1.4.x and above, please refer the article.


Step 1 : Setup prerequisites

Server with Internet

Download & run the latest version of the deb package ira-apt-config. This will prepare the server to securely download the dependencies required by IraCpa and IraDialer over the internet.


apt install ./ira-apt-config_1.0.0-1.deb


Server without Internet

Since the server does not have internet, comment out the urls to the online repositories in the sources list.


sudo nano /etc/apt/sources.list

Comment out all the lines in the file by prepending each line with a hash (#) character. Save it and exit. The content should now be something like below.

#deb-src http://security.debian.org/debian-security buster/updates main
#deb http://cdn-aws.deb.debian.org/debian buster-updates main
#deb-src http://cdn-aws.deb.debian.org/debian buster-updates main
#deb http://cdn-aws.deb.debian.org/debian buster-backports main
#deb-src http://cdn-aws.deb.debian.org/debian buster-backports main


Download & run the latest version of the deb package ira-create-local-repo. This will create a local repo with all the dependencies which will be installed while installing IraCpa and IraDialer.

sudo apt install ./ira-create-local-repo_1.0.0-1.deb

Step 2 : apt-get update

Make sure to run the command below after installing one of the above deb packages.


sudo apt-get update


Step 3: serverdetails.json

Ensure that the file /AEC/serverdetails.json exists and is of the format shown below.

{
"redis_endpoint": "master.redis-xxxx-xxxx.xxxx.xxxx.cache.amazonaws.com",
"unique_hive_name": "AEC_TEST_1",
"licenses_assigned": [
        { "product": "txhive", "item": "instance", "count": "20", "tenant": "all"},
        { "product": "mod_iradialer", "item": "iradial", "count": "20", "tenant": "acqueon"},
        { "product": "iracpa", "item": "amd", "count": "20", "tenant": "acqueon"}
        ],
"gateways": [
        { "name": "chime", "username": "aecuser", "password": "aec2307", "realm": "xxxx.voiceconnector.chime.aws", "From-user": "+16692004912", "transport": "tls"}
        ]
}


Refer the article below for more details on serverdetails.json:


Step 4: Install iradialer

Download & run the latest version of iradialer deb and follow the prompts.


sudo apt install ./iradialer_1.3.3-1.deb


Note: In case of an update and you want to change from local redis to remote redis and/or change from node locked licensing to cloud licensing, run the command below.

sudo dpkg-reconfigure iradialer