一,sipxecs简介

SIPFoundrySIPXECS目的前身pingtel展的sipxpbx目。Sipxecs 主要SIP系统用户可以web界面sipxecscontrol进行userid,devicessystem所有的管应用是 企业sipxecs电话

二,sipxecs高可用部署

1)部署环境


安装

网络

用途

Centos5.5

10.8.19.234

提供DNS,NTP服务

Sipxecs4.4

10.8.19.247sipx01.site1.voip.com

提供sip服务

Sipxecs4.4

10.8.19.248sipx02.site1.voip.com

提供sip服务

GXP280

10.8.17.0/24

IP电话



拓扑下:


Sipxecs高可用性部署_第1张图片

ipGXP280器完DNSNTP新;



sipx01.site1.voip.com为主sip器,sipx02.site1.voip.com为备用sip器;

site1.voip.com时提sipx01sipx02srvrecord,并ntp务。

2)安装DNSNTP

安装CentOS5.5关闭防火bindntpd包。

vi /var/named/chroot/etc/named.conf#置文


options{
directory     "/var/named";
dump-file"/var/named/data/cache_dump.db"; statistics-file"/var/named/data/named_stats.txt";forwarders{
10.8.19.240;
};
};
zone "site1.voip.com"     IN    {
typemaster;
file"site1.voip.com.zone";
allow-update{none;};
};
vi /var/named/chroot/var/named/site1.voip.com.zone#添加zone文件
;WARNING:Zone fileconfiguration isa sipXautomatically generatedfile.
;                       Contentsmay beoverwrittenunlessyousetthenamed.confDNS_MODE.
;
$TTL1800
@                IN            SOA         ns1.site1.voip.com. root.site1.voip.com. (
2011081902; serial#
1800                            ;refresh,seconds
1800                            ;retry,seconds
1800                            ;expire,seconds
1800)                       ;minimumTTL,seconds
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;DNSServersfor'site1.voip.com'
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;NS recordfor site1.voip.com
;         server: sipx01.site1.voip.com
;
site1.voip.com.                           IN            NS            sipx01.site1.voip.com.
;NS recordfor site1.voip.com
;         server: sipx02.site1.voip.com
;
site1.voip.com.                           IN            NS            sipx02.site1.voip.com.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;CallRoutingforSIPdomain'site1.voip.com'
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;NAPTRrecordforSIPTCP site1.voip.com
;           priority:2     weight:0
;           protocol:"SIP+D2T"    regex:""    uri:_sip._tcp.site1.voip.com
;
site1.voip.com.                         IN              NAPTR       20"s""SIP+D2T" ""
_sip._tcp.site1.voip.com.
;NAPTRrecordforSIP UDPsite1.voip.com
;           priority:2     weight:0
;           protocol:"SIP+D2U"    regex:""    uri:_sip._udp.site1.voip.com
;
site1.voip.com.                         IN              NAPTR       20"s""SIP+D2U"""
_sip._udp.site1.voip.com.
; SRV recordfordomain SIPTCP site1.voip.com
;           priority:1     weight:0     port: 5060     server:sipx01.site1.voip.com
;
_sip._tcp.site1.voip.com. IN             SRV           105060sipx01.site1.voip.com.
; SRV recordfordomain SIPUDP site1.voip.com
;           priority:1     weight:0     port: 5060     server:sipx01.site1.voip.com
;
_sip._udp.site1.voip.com.IN              SRV            10 5060sipx01.site1.voip.com.
; SRV recordfordomain SIPTCP site1.voip.com
;           priority:1     weight:0     port: 5060     server:sipx02.site1.voip.com
;
_sip._tcp.site1.voip.com. IN             SRV           105060sipx02.site1.voip.com.
; SRV recordfordomain SIPUDP site1.voip.com
;           priority:1     weight:0     port: 5060     server:sipx02.site1.voip.com
;
_sip._udp.site1.voip.com.IN              SRV            10 5060sipx02.site1.voip.com.
; SRV recordforserviceSIPTCPrr.sipx01.site1.voip.com
;           priority:1     weight:0     port: 5070     server:sipx01.site1.voip.com
;
_sip._tcp.rr.sipx01.site1.voip.com.IN            SRV            1       0 5070sipx01.site1.voip.com.
; SRV recordforservicefailover SIPTCP rr.sipx02.site1.voip.com
;           priority:2     weight: 100     port: 5070     server:sipx02.site1.voip.com
;
_sip._tcp.rr.sipx01.site1.voip.com.IN            SRV            2100 5070sipx02.site1.voip.com.
; SRV recordforserviceSIPTCPrr.sipx02.site1.voip.com
;           priority:1     weight:0     port: 5070     server:sipx02.site1.voip.com
;
_sip._tcp.rr.sipx02.site1.voip.com.IN            SRV            1       0 5070sipx02.site1.voip.com.
; SRV recordforservicefailover SIPTCP rr.sipx01.site1.voip.com
;           priority:2     weight: 100     port: 5070     server:sipx01.site1.voip.com
;
_sip._tcp.rr.sipx02.site1.voip.com.IN            SRV            2100 5070sipx01.site1.voip.com.
; SRV recordforXMPP SERVERTCP site1.voip.com
;           priority:1     weight:0     port: 5269     server:sipx01.site1.voip.com
;
_xmpp-server._tcp.site1.voip.com. IN             SRV            1     05269sipx01.site1.voip.com.
; SRV recordforXMPPCLIENT TCP site1.voip.com
;           priority:1     weight:0     port: 5222     server:sipx01.site1.voip.com
;
_xmpp-client._tcp.site1.voip.com. IN             SRV            1     05222sipx01.site1.voip.com.
; SRV recordforXMPP SERVERCHATROOMTCPsite1.voip.com
;           priority:1     weight:0     port: 5222     server:sipx01.site1.voip.com
;           NOTE: theXMPPclientportisusedhereas thisistheportused
;                         by openfireto servicemulti-userchatrequests.
;
_xmpp-server._tcp.conference.site1.voip.com.IN             SRV            1     05222 sipx01.site1.voip.com.
; SRV recordforXMPPCLIENT CHATROOMTCP site1.voip.com
;           priority:1     weight:0     port: 5222     server:sipx01.site1.voip.com
;
_xmpp-client._tcp.conference.site1.voip.com.IN             SRV            1     0 5222 sipx01.site1.voip.com.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; IPAddresses
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Arecord for sipx01.site1.voip.com
;
sipx01.site1.voip.com.                IN              A                10.8.19.247
;Arecord for sipx02.site1.voip.com
;
sipx02.site1.voip.com.                IN              A                 10.8.19.248
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


3)安装主sip服务器

安装ip10.8.19.247/22,机名sipx01.site1.voip.com,DNSNTP

10.8.19.234


Sipxecs高可用性部署_第2张图片


添加sip务器


Sipxecs高可用性部署_第3张图片

设置sip名,ip地址

4)安装备用sip服务器

安装sipx02.site1.voip.com,ip10.8.19.248,DNSNTP

10.8.19.234,选择第二台sip务器,配置完成reboot

进入webcontroller10.8.19.247



Sipxecs高可用性部署_第4张图片

选择为备sip


Sipxecs高可用性部署_第5张图片

添加别名10.8.19.24710.8.19.248



Sipxecs高可用性部署_第6张图片

重启


Sipxecs高可用性部署_第7张图片


可以sipx02sipx01服务

5)配置IP电话



Sipxecs高可用性部署_第8张图片

填写sipsite1.voip.com并使用DNS SRV


Sipxecs高可用性部署_第9张图片

指定DNS10.8.19.234

6)测试

sipx01.site1.voip.com查看ip电话sip册状打, 正常象。Sipx02.site1.voip.com可以一直保持呼叫控制系统的正常使用,但一些媒体服务像voicemailauto attendant等只运行在主sip服务器上。)