OpenSips configuration: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
(Created page with " <pre> 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 </pre> copy the file from /var/www/html/pbx/protected/opensips.conf to /etc/opensips/ OpenSIPS will listen to port 5067 and connect to Asterisk PJSIP stack on port 5091 Change <IP-SERVER>,<NAT-IP-SERVER...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
<pre>
<pre>
dnf config-manager --set-enabled crb
dnf config-manager --set-enabled crb
dnf install epel-release epel-next-release
dnf -y 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
dnf -y 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
yum -y install opensips opensips-* opensips-cli socat
systemctl enable opensips
systemctl enable opensips
</pre>
</pre>


copy the file from /var/www/html/pbx/protected/opensips.conf to /etc/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
OpenSIPS will listen to port 5067 and connect to Asterisk PJSIP stack on port 5091

Latest revision as of 08:48, 20 September 2024

dnf config-manager --set-enabled crb
dnf -y install epel-release epel-next-release
dnf -y install https://yum.opensips.org/3.4/releases/st/9/x86_64/opensips-yum-releases-3.4-6.el9.noarch.rpm
yum -y 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