思科语音网关3662语音命令对应的msr翻译
在语音网关的测试和割接中经常遇到我司设备替换思科的语音网关设备,先把常用的3662的语音命令翻译为msr的配置。
1. voice class codec 88
codec preference 1 g729r8 bytes 30 //G729编解码,打包时长30ms
codec preference 5 g723ar53 //MSR不支持这个编解码
codec preference 6 g723ar63 bytes 144 //MSR不支持这个编解码
codec preference 7 g723r53
codec preference 8 g723r63 bytes 120 //G723r63编解码,打包时长120ms
这个对应的是MSR的语音编解码命令的全局配置和打包时长的配置:
[H3C-voice-dial]default entity compression 1 ?
g711alaw G.711 A Law 64000 bps
g711ulaw G.711 U Law 64000 bps
g723r53 G.723.1 5300 bps
g723r63 G.723.1 6300 bps
g726r16 G.726 16000 bps
g726r24 G.726 24000 bps
g726r32 G.726 32000 bps
g726r40 G.726 40000 bps
g729a G.729 ANNEX-A 8000 bps
g729r8 G.729 8000 bps
[H3C-voice-dial]default entity payload-size g729 30
[H3C-voice-dial]default entity payload-size g723 120
2. voice translation-rule 10
rule 1 /\(....\)/ /043185635041\1/
!
voice translation-profile zhuanhuan
translate calling 10 //这两条的作用应该是将所有的号码前加上043185635041,这个转换规则的名字叫“zhuanhuan”。
对应的MSR配置为dial-program视图下:
number-substitute 10
rule 1 .... 043185635041
3. controller E1 1/0
clock source internal
pri-group timeslots 1-31
对应的MSR命令为:
controller E1 1/0
pri-group timeslots 1-31
tdm-clock internal
4. translation-rule 95588
Rule 2 ^2 4312
!
translation-rule 1
Rule 1 043185635041 3000
Rule 2 043185635042 3000
Rule 3 043185635043 3000
Rule 4 043185635044 3000
Rule 5 043185635045 3000
对应的MSR配置为dial-program视图下:
number-substitute 95588
rule 2 ^2 4312
number-substitute 1
Rule 1 043185635041 3000
Rule 2 043185635042 3000
Rule 3 043185635043 3000
Rule 4 043185635044 3000
Rule 5 043185635045 3000
5. interface FastEthernet0/1
ip address 91.5.60.3 255.255.255.0
h323-gateway voip interface
h323-gateway voip id ***.*** ipaddr 91.5.60.1 1719 priority 10
h323-gateway voip id ***.*** ipaddr 91.5.60.2 1719 priority 20
h323-gateway voip h323-id shenghangzxGW@***.***
h323-gateway voip tech-prefix 1#
对应的MSR配置为GK视图下的相关配置:
[H3C-voice-gk]di th
#
gk-client
area-id 1#
gk-id ***.*** gk-addr 91.5.60.1 1719
gk-2nd-id ***.*** gk-addr 91.5.60.2 1719
gw-address 91.5.60.3 //这个就是gw的接口地址
gw-id shenghangzxGW@***.***
6. interface Serial1/0:15
no ip address
no logging event link-status
isdn switch-type primary-net5
isdn protocol-emulate network
isdn incoming-voice voice
isdn sending-complete
no isdn outgoing display-ie
no cdp enable
对应的MSR串口配置为:
[H3C-Serial1/0:15]isdn protocol-mode network
[H3C-Serial1/0:15]isdn protocol-type dss1
7. dial-peer voice 100 pots 对应MSR:entity 100 pots
destination-pattern 043120T match-template 043120T
port 1/0:15 line 1/0:15
forward-digits 4 send-number 4
!
dial-peer voice 150 voip 对应MSR:entity 150 voip
destination-pattern T match-template T
session target ras address ras
dtmf-relay rtp-nte outband nte
!
dial-peer voice 101 pots 对应:entity 101 pots
destination-pattern 0431856350.. match-template 0431856350..
translate-outgoing called 1 substitute called 1
port 1/0:15
forward-digits 4
!
dial-peer voice 10001 voip
description Beijing 对应:description Beijing
destination-pattern 010........
session target ras
dtmf-relay h245-alphanumeric outband h245
8. num-exp 432.... 0432....
如在dial-program视图下:
#
number-substitute 100
rule 1 ^432.... ^0432....
substitute outgoing-call called 100
9. 在interface Serial接口视图下isdn guard-timer 3000
在interface Serial接口视图下
isdn l3-timer t303 3
10. voice-port 1/0:15 //subscriber-line 1/0:15
cptone CN
connection plar +95588 //private-line 95588
//hunt-group enable
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作