GPON数据配置:[6]华为5620配置语音对接IMS
1、建立语音外层vlan
例如:vlan 2297 smart
vlan attrib 2297 q-in-q
2、上行口放通该VLAN
例如:
port vlan 2297 0/11 0
port vlan 2297 0/12 0
3、建立业务流
例如:
service-port 2297 vlan 1027 gpon 0/2/3 ont 14 gemport 3 multi-service user-vlan 602 tag-transform default
1、vlan与语音ip的建立
vlan 602 sm
port vlan 602 0/0 1
protocol-8021p-pri 6 vlan 602
interface vlanif 602
description "to VOIP"
ip address 10.222.7.57 255.255.255.128
quit
vlan desc 602 description VOIP
voip
ip address media 10.222.8.28 10.222.8.1
ip address signaling 10.222.8.28
2、开启ONU对sip协议的支持
prot sup sip
保存并重启
save
reboot system 重启设备
3、配置SIP接口参数
interface sip 0
if-sip attribute basic media-ip 10.222.8.22 signal-ip 10.222.8.22 signal-port 5060 home-domain ims.gd.chinamobile.com
if-sip attribute basic primary-proxy-ip1 10.222.0.1 primary-proxy-ip2 10.222.0.129 primary-proxy-port 5060 primary-proxy-domain ims.gd.chinamobile.com
if-sip attribute basic secondary-proxy-port 5060 sipprofile-index 0
if-sip attribute basic srvlogic-index 2
fax parameters transmode 1
sipprofile modify syspara 3 3
sipprofile modify syspara 21 0
sipprofile modify syspara 22 1
sipprofile modify syspara 49 1
sipprofile modify syspara 57 0
sipprofile modify syspara 93 1
sipprofile modify syspara 113 3
sipprofile modify syspara 115 3
sipprofile modify syspara 123 1
sipprofile modify syspara 124 1
sipprofile modify syspara 134 1
sipprofile modify syspara 138 1
sipprofile modify syspara 152 1
sipprofile modify syspara 159 1
sipprofile modify syspara 164 2000
sipprofile modify syspara 186 3
sipprofile modify syspara 193 0
sipprofile modify srv-pri 1 2
sipprofile modify srv-pri 2 5
sipprofile modify srv-pri 3 0
sipprofile modify srv-pri 4 3
reset(重启sip接口)
4、配置sip账号
esl user
sippstnuser add 0/2/1 0 telno 866636180000
sippstnuser auth set 0/2/1 telno 866636180000 password-mode password
866636180000@ims.gd.chinamobile.com
123456
5、添加去到ims服务器的路由
ip route-static 10.222.0.0 255.255.255.0 10.222.8.1