Kamailio kamcli installation on Centos 7

From Kolmisoft Wiki

Jump to: navigation, search
#! /bin/bash

# Kamailio CLI tool

# https://github.com/kamailio/kamcli/blob/v1.1/README.md

# pip install based on https://www.liquidweb.com/kb/how-to-install-pip-on-centos-7/

# requires loadmodule "jsonrpcs" in /etc/kamailio/kamailio.cfg

yum -y install python
cd /usr/src
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python get-pip.py
mkdir kamclienv
cd kamclienv
pip install click
pip install sqlalchemy
pip install tabulate
pip install pyaml
git clone https://github.com/kamailio/kamcli.git
cd kamcli
pip install --editable .

mkdir /etc/kamcli
cp -fr /usr/src/kamclienv/kamcli/kamcli/kamcli.ini /etc/kamcli
Personal tools

Try MOR

Try M2