永发信息网

如何在Cisco3825路由器上配置语音

答案:2  悬赏:40  手机版
解决时间 2021-03-12 12:13
  • 提问者网友:蓝琪梦莎
  • 2021-03-12 04:55
如何在Cisco3825路由器上配置语音
最佳答案
  • 五星知识达人网友:像个废品
  • 2021-03-12 06:03
需要有Voice的license和Voice需要的PVDM和模拟或者数字的板卡,就可以,可以和CUCM一起2811作为VG,或者2811配置CME(需要CME话机license)

FXO口接模拟线路
E1口接数字线路
配置VG
!
isdn switch-type primary-4ess
!
voice-card 0
dspfarm
!
voice call convert-discpi-to-prog
voice rtp send-recv
!
voice service voip
h323
!
!
voice class codec 1
codec preference 1 g711alaw bytes 160
codec preference 2 g711ulaw bytes 160
codec preference 3 g729br8 bytes 20
codec preference 4 g729r8 bytes 20
!
!
!
voice class h323 1
h225 timeout tcp establish 3
!

!
voice translation-rule 8

controller E1 0/0/0
framing NO-CRC4
pri-group timeslots 1-31 service mgcp
!
controller E1 0/0/1
framing NO-CRC4
pri-group timeslots 1-31 service mgcp
!

!
voice-port 0/0/0:15
cptone CN
!
voice-port 0/1/0

ccm-manager fallback-mgcp
ccm-manager redundant-host xxxx
ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager music-on-hold
ccm-manager config server xxxx
ccm-manager config
!
mgcp
mgcp call-agent xxxx 2427 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band
mgcp rtp unreachable timeout 1000 action notify
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
no mgcp package-capability res-package
no mgcp package-capability fxr-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp rtp payload-type g726r16 static
mgcp bind control source-interface GigabitEthernet0/0
mgcp bind media source-interface GigabitEthernet0/0
!
mgcp profile default
!
!
!
dial-peer voice 1 pots
!
dial-peer voice 2 pots
!
dial-peer voice 90
translation-profile incoming INBOUND
translation-profile outgoing xxxx
destination-pattern 90
call-manager-fallback
secondary-dialtone 9
max-conferences 8 gain -6
transfer-system full-consult
timeouts interdigit 5
timeouts ringing 8
ip source-address xxxx port 2000
max-ephones 200
max-dn 400 dual-line
moh music-on-hold.au
multicast moh xxxx port 16384
!
全部回答
  • 1楼网友:duile
  • 2021-03-12 06:42
我给你个voip配置,你稍微修改下就可以了。 taipei#sh run building configuration... current configuration: ! version 12.0 service timestamps debug uptime(设定debug 跟踪日志显示其时间) service timestamps log uptime(设定看log时显示其时间) no service password-encryption(口令不加密) ! hostname taipei(主机名) ! enable secret 5 $1$r.66$z.bujhnsjcir8kccs9uxg. ! ! ! ! ! voice-card 1(定义语音卡1) ! voice-card 3(定义语音卡3) ! ip subnet-zero no ip domain-lookup ! isdn voice-call-failure 0 ! ! ! ! controller e1 1/0(配置 e1语音卡) framing no-crc4 ds0-group 0 timeslots 1-15,17-31 type e&m-wink-start(定义语音卡的类型为e&m 卡) cas-custom 0 ! controller e1 3/0(配置 e1语音卡) framing no-crc4 ds0-group 0 timeslots 1-15,17-31 type e&m-wink-start(定义语音卡的类型为e&m 卡) cas-custom 0 ! ! ! interface bri0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface fastethernet0/0 no ip address no ip directed-broadcast shutdown duplex auto speed auto ! interface serial0/0 description "link to mainland_shanghai by ncic lease line" ip address 192.168.1.1 255.255.255.252 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface serial0/1 no ip address no ip directed-broadcast shutdown clockrate 2000000 ! ip classless no ip http server ! ! voice-port 1/0:0(配置模拟语音端口) compand-type a-law ! voice-port 3/0:0(配置模拟语音端口) compand-type a-law ! dial-peer voice 1 voip (定义拨号对等体到语音) destination-pattern +445...(为拨号对等体分配电话号码,其中.为通配符) session target ipv4:192.168.1.2(定义voip路由,为对端的ip地址) req-qos guaranteed-delay (语音数据流rvsp 的保证,其中guaranteed-dealy 可用于保证整个网络的延时) ip precedence 5(ip优先级,5为关键) ! dial-peer voice 2 pots(定义拨号对等体到语音物理端口) destination-pattern +3...(定义电话话码以3开头的) port 1/0:0(定义语音端口) ! dial-peer voice 3 pots(定义拨号对等体到语音物理端口) destination-pattern +3...(定义电话话码以3开头的) port 3/0:0(定义语音端口) ! ! line con 0(设定登陆) transport input none line aux 0 line vty 0 4(允许用telnet) password cisco(口令为cisco) login ! end taipei# 希望对你有所帮助,但是最好自己能熟练做到,voip现在很吃香
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯