You know that opensips -x mi dlg_list will produce a lot of JSON output, what if i want to get only dialogs with state = 4 ? There are beautiful tool like “jq” present in unix. (documentation) For example output from command “opensips-cli -x mi profile_get_size profile=calls”: { “Profile”: { “name”: “calls”, “value”: null, “count”: […]
Tag: opensips-cli
Ansible Part II. Install opensips,opensips-cli,opensips control panel.
You can use this Ansible roles to install full Opensips + Control Panel with one command. For some reason roles to install Opensips from ansible galaxy not working as expected. I have modified some roles to make it works. This will good only for Debian 10 and Centos 7. Most popular systems. Roles will install […]
opensips 3.1 centos 7
Установка Opensips 3.1\opensips-cli\database на centos 7 отключаем в epel пакеты с opensips 1.10 (add to epel.repo: exclude=opensips*) устанавливаем репозиторий для centos 7: yum install epel-release yum install https://yum.opensips.org/3.1/releases/el/7/x86_64/opensips-yum-releases-3.1-5.el7.noarch.rpm устанавливаем все пакеты в репозитории opensips yum repo-pkgs opensips install далее установим opensips-cli, делать это лучше с git-hub: yum install git -y git clone https://github.com/OpenSIPS/opensips-cli.git yum install python36 […]