在centos 7使用opensips+freeswitch搭建集群环境-正确安装opensips(一)

1.搭建两台freeswitch用pgsql数据库

1.首先参考https://blog.csdn.net/penker_zhao/article/details/110004084搭建单机版freeswitch

2.将搭建新的freeswitch,修改

2.然后虚拟一台设备,也是使用freeswitch搭建,只是都是连同一个pgsql

3.修改sip_profiles/internal.xml和external.xml的 配置项:ext-sip-ip和ext-rtp-ip

4.两台分别重启freeswitch

2.搭建opensips

#>yum update

#>yum install g++ bison lynx subversion flex git libxml2-dev ncurses-dev libcurl4-gnutls-dev libcurl4-penssl-dev libcurl4-nss-dev libxml2-dev libxslt1-dev python-dev libxml2-devlibxml2-dev libexpat1-dev perl libdbi-perl unixODBC unixODBC-dev libterm-readline-gnu-perl libncurses5-dev libdbd-pg-perl libfrontier-rpc-perl libberkeleydb-perl

#>cd /usr/local/src

#>git clone https://gitee.com/astra_zhao/opensips.git -b 2.4 opensips_2_4

#>cd opensips_2_4

#>make

猜你喜欢

转载自blog.csdn.net/penker_zhao/article/details/112263395