通信人家园

标题: 华为5620语音脚本  [查看完整版帖子] [打印本页]

时间:  2016-9-26 09:42
作者: aoxiang722     标题: 华为5620语音脚本

vlan        3800        smart       
port vlan        3800        0/0  1       
interface vlanif        3800               
ip address         10.25.241.5        255.255.255.0       
                       
quit                       
voip                       
ip address media        10.25.241.5        10.25.241.1       
ip address signaling        10.25.241.5               
quit                       
interface h248 0                       
y                       
digitmap-timer long 10                       
                       
if-h248 attribute mgip        10.25.241.5        mgport 2944 transfer udp        
                       
if-h248 attribute primary-mgc-ip1        10.4.1.8        primary-mgc-port 2944       
                       
if-h248 attribute secondary-mgc-ip1        10.4.1.135        secondary-mgc-port 2944       
                       
if-h248 attribute mg-media-ip1        10.25.241.5               
                       
if-h248 attribute        start-negotiate-version 1               
                       
mg-software parameter 2 2                       
                       
quit                       
esl user                       
mgpstnuser batadd        0/2/1 0/2/16        0 terminalid 0        step 1
                       
quit                       
ip route-static 10.4.0.0        255.255.0.0        10.25.241.1       
                       
ring check enable                       
interface h248 0                       
reset coldstart                       
y                       
quit                       
protocol-8021p-pri 6 vlan        3800               

时间:  2016-9-26 16:24
作者: 毒霸世界

protocol support sip        更改ONU协议  支持SIP协议 默认ONU支持H248协议                display protocol support 查看原有ONU的协议

save

reboot system  重启后生效


vlan 540 smart   创建语音VLAN


port vlan 540 0/0 1            



interface vlanif 540   

ip address 172.17.118.220(语音地址)  255.255.255.224 (掩码)

quit

ip route-static 218.201.120.38 255.255.255.255 172.17.118.193(语音网关)
  


voip               

ip address media 172.17.118.220(语音地址) 172.17.118.193(语音网关)

ip address signaling 172.17.118.220(语音地址)

qui

interface sip 0
y
     
if-sip attribute basic media-ip 172.17.118.220(语音地址)  signal-ip 172.17.118.220(语音地址)  signal-port  5060 home-domain ims.sd.chinamobile.com

if-sip attribute basic primary-proxy-ip1 218.201.120.38 primary-proxy-port 5060 primary-proxy-domain sbc.chinamobile.com

if-sip attribute basic sipprofile-index 0

sipprofile modify syspara 49 1

sipprofile modify syspara 57 0

sipprofile modify syspara 152 1

sipprofile modify syspara 159 1

sipprofile modify syspara 69 1

sipprofile modify syspara 72 2  

quit

esl user
   
sippstnuser add 0/2/1 0 telno 865333051190 (电话号码)

sippstnuser auth set 0/2/1        telno 865333051190(电话号码)         password-mode password
+865333051190(电话号码)
O9Dm4Bt7(密码)
时间:  2017-4-3 19:13
作者: aoxiang722

毒霸世界 发表于 2016-9-26 16:24
protocol support sip        更改ONU协议  支持SIP协议 默认ONU支持H248协议                display protocol support 查看原有 ...

这是啥代码




通信人家园 (https://www.txrjy.com/) Powered by C114