wujuntoo 发表于 2012-12-12 10:19:26

哪位好心人帮忙解释一下VOIP相关命令

以前没怎么实施过VOIP,老板现在叫我去调一台设备,参照以前一台设备的命令,命令如下,请帮忙解释一下语音的命令,拜托各位大神


boot-start-marker
boot system flash:c3825c-advipservicesk9-mz.150-1.M7.bin
boot-end-marker
card type e1 0 1   ???????????????????????????????
network-clock-participate wic 1
dot11 syslog
ip source-route
isdn switch-type primary-net5      ???????????????????????????????
voice-card 0                   ???????????????????????????????
dspfarm                     ???????????????????????????????
dsp services dspfarm            ???????????????????????????????
voice call carrier capacity active         ???????????????????????????????
voice service voip                     ???????????????????????????????
no supplementary-service sip moved-temporarily         ???????????????????????????????
sip                                                      ???????????????????????????????
voice class codec 1                                     ???????????????????????????????
codec preference 1 g711ulaw                  ???????????????????????????????
codec preference 2 g711alaw                     ???????????????????????????????
codec preference 3 g729r8                         ???????????????????????????????
voice translation-rule 9                     ???????????????????????????????
rule 1 /^9/ //                              ???????????????????????????????斜杠尖角符号的意思
voice translation-profile OUTGOING_9               ???????????????????????????????
translate called 9                                  ???????????????????????????????
controller E1 0/1/0                            ???????????????????????????????
framing NO-CRC4                            ???????????????????????????????
pri-group timeslots 1-31                           ???????????????????????????????
controller E1 0/1/1
framing NO-CRC4
pri-group timeslots 1-31
interface Serial0/1/0:15                        ???????????????????????????????
no ip address
encapsulation hdlc
isdn switch-type primary-net5                           ???????????????????????????????
isdn overlap-receiving                           ???????????????????????????????
isdn protocol-emulate network                           ???????????????????????????????
isdn incoming-voice voice                           ???????????????????????????????
isdn send-alerting                           ???????????????????????????????
isdn sending-complete                           ???????????????????????????????
no cdp enable
interface Serial0/1/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn overlap-receiving
isdn incoming-voice voice
isdn send-alerting
isdn sending-complete
no cdp enable
ip default-gateway 10.86.175.251
ip forward-protocol nd                           ???????????????????????????????
control-plane
voice-port 0/1/0:15
voice-port 0/1/1:15
dial-peer cor custom
dial-peer voice 9 pots                   ???????????????????????????????
destination-pattern 9T
incoming called-number .
direct-inward-dial
port 0/1/1:15
dial-peer voice 88 pots
destination-pattern 88T
incoming called-number .
direct-inward-dial
port 0/1/0:15
prefix 88
dial-peer voice 2000 voip                ???????????????????????????????
description connect-to-frSIP                ???????????????????????????????
destination-pattern 2000
session protocol sipv2                ???????????????????????????????
session target ipv4:10.86.175.138
incoming called-number .
voice-class codec 1
dtmf-relay rtp-nte
no vad
dial-peer voice 34 voip
description connect-to-frSIP
destination-pattern 34..
session protocol sipv2
session target ipv4:10.86.175.138
incoming called-number .
voice-class codec 1
dtmf-relay rtp-nte
dial-peer voice 37420 voip
description connect-to-frSIP
destination-pattern 37420
session protocol sipv2
session target ipv4:10.86.175.138
incoming called-number .
voice-class codec 1
dtmf-relay rtp-nte h245-alphanumeric h245-signal
no vad


无味矿泉水 发表于 2012-12-13 13:10:17




boot-start-marker
boot system flash:c3825c-advipservicesk9-mz.150-1.M7.bin
boot-end-marker
card type e1 0 1   E1线路0/1接口
network-clock-participate wic 1
dot11 syslog
ip source-route
isdn switch-type primary-net5      定义ISDN编码类型 中国为net5
voice-card 0                   语音DSP卡0
dspfarm                     
dsp services dspfarm            为路由器分配DSP资源
voice call carrier capacity active         ???????????????????????????????
voice service voip                     启用IP语音服务
no supplementary-service sip moved-temporarily         ???????????????????????????????
sip                                     启用SIP协议
voice class codec 1                     语音编码组
codec preference 1 g711ulaw             优先级1 为G711U
codec preference 2 g711alaw             优先级2 为G711A
codec preference 3 g729r8               优先级3 为G729R8
voice translation-rule 9                语音转译
rule 1 /^9/ //                        规则正则表达式
voice translation-profile OUTGOING_9    规则OUTGOING_9
translate called 9                      被叫应用规则9
controller E1 0/1/0                     端口E1 0/1/0
framing NO-CRC4                         校验 NO-CRC4
pri-group timeslots 1-31                定义信道
controller E1 0/1/1
framing NO-CRC4
pri-group timeslots 1-31
interface Serial0/1/0:15                建立完信道生成的端口
no ip address
encapsulation hdlc
isdn switch-type primary-net5         定义ISDN编码类型 中国为net5
isdn overlap-receiving                           ???????????????????????????????
isdn protocol-emulate network                           ???????????????????????????????
isdn incoming-voice voice                           ???????????????????????????????
isdn send-alerting                           ???????????????????????????????
isdn sending-complete                           ???????????????????????????????
no cdp enable
interface Serial0/1/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn overlap-receiving
isdn incoming-voice voice
isdn send-alerting
isdn sending-complete
no cdp enable
ip default-gateway 10.86.175.251
ip forward-protocol nd                           ???????????????????????????????
control-plane
voice-port 0/1/0:15
voice-port 0/1/1:15
dial-peer cor custom
dial-peer voice 9 pots                   定义拨号规则
destination-pattern 9T
incoming called-number .
direct-inward-dial
port 0/1/1:15
dial-peer voice 88 pots
destination-pattern 88T
incoming called-number .
direct-inward-dial
port 0/1/0:15
prefix 88
dial-peer voice 2000 voip                定义IP通话拨号规则
description connect-to-frSIP             描述你还问啊
destination-pattern 2000
session protocol sipv2                   定义SIP协议版本2
session target ipv4:10.86.175.138
incoming called-number .
voice-class codec 1
dtmf-relay rtp-nte
no vad
dial-peer voice 34 voip
description connect-to-frSIP
destination-pattern 34..
session protocol sipv2
session target ipv4:10.86.175.138
incoming called-number .
voice-class codec 1
dtmf-relay rtp-nte
dial-peer voice 37420 voip
description connect-to-frSIP
destination-pattern 37420
session protocol sipv2
session target ipv4:10.86.175.138
incoming called-number .
voice-class codec 1
dtmf-relay rtp-nte h245-alphanumeric h245-signal
no vad

marlgean 发表于 2012-12-13 15:11:03

补充:

isdn protocol-emulate network该命令常用于ISP端口的E1线上,类似于DCE/DTE中的DCE。 在lab环境中,如果将两台Router的E1口直连(cross over cable),最好加入该命令,否者有可能E1无法起来。

rule 1 /^9/ //:^为开始符号,我的理解是:制定号码必须以9开头。

isdn incoming-voice voice   用于Incoming Dail-peer,基本是必须要写的,表示进来的为voice,不是data。


还等高人来指点其他的。

encitianfaliuli 发表于 2012-12-20 16:33:16

{:6_267:}{:6_267:}

hiedige8 发表于 2016-1-16 14:38:13

好高大上的样子

hiedige8 发表于 2016-1-16 14:38:19

好高大上的样子

hiedige8 发表于 2016-1-16 14:38:24

好高大上的样子

hiedige8 发表于 2016-1-16 14:38:29

好高大上的样子

hiedige8 发表于 2016-1-16 14:38:34

好高大上的样子

hiedige8 发表于 2016-1-16 14:38:40

好高大上的样子

hiedige8 发表于 2016-1-16 14:38:45

好高大上的样子

hiedige8 发表于 2016-1-16 14:38:53

好高大上的样子

hiedige8 发表于 2016-1-16 14:39:02

好高大上的样子

hiedige8 发表于 2016-1-16 14:39:07

#在这里快速回复#好高大上的样子

hiedige8 发表于 2016-1-16 14:39:25

#在这里快速回复#好高大上的样子
页: [1] 2
查看完整版本: 哪位好心人帮忙解释一下VOIP相关命令