XE200/2000的H.323基本网守路由呼叫的配置
一、组网:
二、问题描述:
一台XE语音服务器同时作为H.323网守和位置服务器,进行H.323路由呼叫。
三、解决方法
说明:
假设语音网关H.323 Gateway 1、语音网关H.323 Gateway 2、语音服务器XE IP PBX之间的路由可达,本例中省略了关于路由方面的配置,请用户根据自己的网络环境进行配置。
1. 配置H.323 Gateway 1
# 配置以太网接口
[VG1] interface ethernet 0
[VG1-Ethernet0] ip address 192.168.10.2 255.255.255.0
[VG1-Ethernet0] quit
# 配置语音实体
[VG1] voice-setup
[VG1-voice] dial-program
[VG1-voice-dial] entity 8888 voip
#配置IP网络侧语音实体8888#
[VG1-voice-dial-entity8888] address ras
#配置动态路由策略,GW和GK SERVER通过交互RAS信令,由GK SERVER 动态返回与被叫号码匹配的对端GW 地址#
[VG1-voice-dial-entity8888] match-template ....
#配置任意四位号码作为语音实体8888被叫号码模板#
[VG1-voice-dial-entity8888] quit
[VG1-voice-dial] entity 8801 pots
#配置本地语音实体8801,映象本地语音设备#
[VG1-voice-dial-entity8801] line 0
[VG1-voice-dial-entity8801] match-template 8801
#配置8801为语音实体8801下LINE 0端口的被叫号码#
[VG1-voice-dial-entity8801] return
# 配置GK-Client
[VG1] voice-setup
[VG1-voice] gk-client
[VG1-voice-gk] gw-id h323gateway1
[VG1-voice-gk] gw-address ip 192.168.10.2
[VG1-voice-gk] gk-id xeippbx gk-addr 192.168.20.10 1719
[VG1-voice-gk] ras-on
#激活 GK-Client#
2. 配置H.323 Gateway 2
# 配置以太网接口
[VG2] interface ethernet 0
[VG2-Ethernet0] ip address 192.168.30.2 255.255.255.0
[VG2-Ethernet0] quit
# 配置语音实体
[VG2] voice-setup
[VG2-voice] dial-program
[VG2-voice-dial] entity 8888 voip
[VG2-voice-dial-entity8888] address ras
[VG2-voice-dial-entity8888] match-template ....
[VG2-voice-dial] entity 8802 pots
[VG2-voice-dial-entity8802] line 0
[VG2-voice-dial-entity8802] match-template 8802
[VG2-voice-dial-entity8802] return
# 配置GK-Client
[VG2] voice-setup
[VG2-voice] gk-client
[VG2-voice-gk] gw-id h323gateway2
[VG2-voice-gk] gw-address ip 192.168.30.2
[VG2-voice-gk] gk-id xeippbx gk-addr 192.168.20.10 1719
[VG2-voice-gk] ras-on #激活GK-Client#
3. 配置H.323网守
# 配置以太网接口
[XE] interface ethernet 0/0
[XE-Ethernet0/0] ip address 192.168.20.10 255.255.255.0
# 配置网守
[XE] process-server
[XE-ps] ps-config xeippbx interface Ethernet 0/0
[XE-ps] heartbeat password xe200
#配置PS的心跳密码#
[XE-ps] ls-mode 0 local
#指定使用本地位置服务器#
[XE-ps] start
[XE-ps] gatekeeper
[XE-ps-gk] start
4. 配置位置服务器
# 配置位置服务器
[XE] location-server
[XE-ls] ls-config interface Ethernet 0/0
[XE-ls] call-mode h323 routed
#设置位置服务器的呼叫模式为路由呼叫#
[XE-ls] start
[XE-ls] process-server xeippbx
[XE-ls-ps-xeippbx] heartbeat password xe200
#配置 LS的心跳密码#
[XE-ls] gateway h323gateway1
[XE-ls-gw-h323gateway1] device-type h323
#配置 h323gatewy1的类型为H323#
[XE-ls-gw-h323gateway1] dynamic-ip enable
#允许网关设备IP地址动态更新#
[XE-ls-gw-h323gateway1] quit
[XE-ls] gateway h323gateway2
[XE-ls-gw-h323gateway2] device-type h323
[XE-ls-gw-h323gateway2] dynamic-ip enable
5. 配置关键点
5.1 配置动态路由策略
[VG1-voice-dial-entity8888] address ras
5.2 配置语音实体
[VG1-voice-dial] entity 8888 voip
5.3 配置被叫号码模板
[VG1-voice-dial-entity8888] match-template ....
5.4 配置LS和PS的心跳密码要保持一致
[XE-ls-ps-xeippbx] heartbeat password xe200
[XE-ps] heartbeat password xe200
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作