OpenSips configuration

From MiRTA PBX documentation
Revision as of 08:45, 20 September 2024 by Admin (talk | contribs)
Jump to navigation Jump to search
dnf config-manager --set-enabled crb
dnf install epel-release epel-next-release
dnf install https://yum.opensips.org/3.4/releases/st/9/x86_64/opensips-yum-releases-3.4-6.el9.noarch.rpm
yum install opensips opensips-* opensips-cli socat
systemctl enable opensips


copy the file from /var/www/html/pbx/protected/opensips.cfg to /etc/opensips/

OpenSIPS will listen to port 5067 and connect to Asterisk PJSIP stack on port 5091

Change <IP-SERVER>,<NAT-IP-SERVER>,<IP-ASTERISK>, <DOMAIN-ASTERISK> to your data

<IP-SERVER> - ip address your VM

<NAT-IP-SERVER> - if used NAT, set real ip. If not, set same as <IP-SERVER>

<IP-ASTERISK> - ip address for the asterisk server

<DOMAIN-ASTERISK> - FQDN for the asterisk server