环境:centos9 last opensips3.2
dnf update -y
dnf install -y gcc make git automake libtool pcre-devel libxml2-devel \
libcurl-devel postgresql-devel \
bzip2-devel zlib-devel ncurses-devel libuuid-devel \
libpcap-devel # 有报错的直接删除
cd /usr/local/src
git clone https://github.com/OpenSIPS/opensips.git
cd opensips
git checkout 3.2
make menuconfig # 会弹出来选项窗口 选择第二个 默认安装
make all
make install
看到上图 标识安装成功
操作系统环境
操作系统下载地址 https://mirrors.aliyun.com/centos-stream/9-stream/BaseOS/x86_64/iso/?spm=a2c6h.25603864.0.0.8d45460dBKuGTE