• О проекте
  • Контакты
  • Форум
Главное меню
  • На главную
  • Поиск
Разделы
  • SysAdmin
    • Linux
      • Apache
      • Dial-in сервера
      • DNS
      • Gentoo
      • Samba
      • SpamAssassin
      • FTP
      • IPTables
      • LDAP
      • Почтовые системы
      • Программирование под Linux
      • Разное
      • KDE
      • SSH
      • SQL
      • Crypto
    • Microsoft
      • ISA
      • Exchange Server
      • Active Directory
      • Outlook
      • Windows Server
      • Windows XP/Vista/7
    • Citrix
    • Cisco
    • Mikrotik
    • PBX и VoIP
    • Virtual
    • Asterisk
  • Разное интересное
  • tmp
Login Form



  • Забыли пароль?
  • Забыли логин?

PostHeaderIcon Пример конфигурации Cisco 2911 VoIP

Взято и поправлено: http://www.gossamer-threads.com/lists/cisco/voip/153604?do=post_view_threaded

 

Данная конфигурация представлена для работы с встроенным модулем голосовой почты, МОН и конференцией

Прошу учесть что конфиг написан для работы с маршрутизацией мультикаста МОН

 

!
! Last configuration change at 20:05:17 UTC Wed Oct 12 2011
! NVRAM config last updated at 20:05:21 UTC Wed Oct 12 2011
! NVRAM config last updated at 20:05:21 UTC Wed Oct 12 2011
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname MLBCME01
!
boot-start-marker
boot system flash flash:c2900-universalk9-mz.SPA.152-1.T1.bin
boot-end-marker
!
!
card type e1 0 0
enable password cisco
!
no aaa new-model
!
network-clock-participate wic 0 
!
no ipv6 cef
!
!
!
ip multicast-routing 
ip dhcp excluded-address 192.168.102.1 192.168.102.10
ip dhcp excluded-address 192.168.102.76 192.168.102.254
ip dhcp excluded-address 192.168.101.1 192.168.101.20
!
ip dhcp pool VOICE_SCOPE
 network 192.168.102.0 255.255.255.0
 default-router 192.168.102.1 
 option 150 ip 192.168.102.129 
 lease 0 0 1
!
ip dhcp pool DATA_SCOPE
 network 192.168.101.0 255.255.255.0
 default-router 192.168.101.1 
!
!
ip cef
no ip igmp snooping
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-net5
!
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-2571684939
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-2571684939
 revocation-check none
 rsakeypair TP-self-signed-2571684939
!
!
crypto pki certificate chain TP-self-signed-2571684939
 certificate self-signed 01 nvram:IOS-Self-Sig#1.cer
voice-card 0
 dspfarm
 dsp services dspfarm
 no local-bypass
!
!
voice call send-alert
voice call disc-pi-off
voice rtp send-recv
!
voice service voip
 allow-connections h323 to sip
 allow-connections sip to sip
 signaling forward none
 fax protocol t38 nse force version 0 ls-redundancy 0 hs-redundancy 0 fallback none
 h323
 sip
!
voice class codec 100
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 codec preference 4 g729r8
!
voice class codec 101
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 codec preference 4 g729r8
!
!
!
!
!
!
license udi pid CISCO2911/K9 sn FGL15381163
license accept end user agreement
hw-module ism 0
!
hw-module pvdm 0/0
!
hw-module pvdm 0/1
!
hw-module sm 1
!
!
!
file privilege 0
username admin password 0 cisco
!
redundancy
!
!
!
!
!
controller E1 0/0/0
 pri-group timeslots 1-21
!
! 
!
!
!
!
!
!
!
!
interface Loopback0
 ip address 192.168.102.129 255.255.255.192
 ip pim sparse-dense-mode
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/0.101
 description subinterface for Data VLAN
 encapsulation dot1Q 101
 ip address 192.168.101.1 255.255.255.0
 ip pim sparse-dense-mode
!
interface GigabitEthernet0/0.102
 description subinterface for Voice VLAN
 encapsulation dot1Q 102
 ip address 192.168.102.1 255.255.255.128
 ip pim sparse-dense-mode
!
interface GigabitEthernet0/0.103
 description subinterface for Corporate Wireless VLAN
 encapsulation dot1Q 103
 ip address 192.168.103.1 255.255.255.0
 ip pim sparse-dense-mode
!
interface GigabitEthernet0/0.104
 description subinterface for Data Wireless VLAN
 encapsulation dot1Q 104
 ip address 192.168.104.1 255.255.255.0
 ip pim sparse-dense-mode
!
interface ISM0/0
 ip address 192.168.102.193 255.255.255.192
 !Application: Running
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface GigabitEthernet0/2
 ip address 192.168.2.1 255.255.255.0
 duplex auto
 speed auto
!
interface ISM0/1
 description Internal switch interface connected to Internal Service Module
 no ip address
!
interface Serial0/0/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 no cdp enable
!
interface Integrated-Service-Engine1/0
 ip unnumbered Loopback0
 service-module ip address 192.168.102.130 255.255.255.192
 !Application: CUE Running on NME
 service-module ip default-gateway 192.168.102.129
 no keepalive
!
interface Vlan1
 no ip address
!
ip forward-protocol nd
!
ip http server
ip http authentication local
ip http secure-server
ip http path flash0:/GUI
!
ip route 192.168.102.130 255.255.255.255 Integrated-Service-Engine1/0
!
!
!
!
!
!
tftp-server flash0:/Phones/6921_6941_6961/Sccp/DSP69xx.0-0-0-8.zz.sgn alias DSP69xx.0-0-0-8.zz.sgn
tftp-server flash0:/Phones/6921_6941_6961/Sccp/BOOT69xx.0-0-0-14.zz.sgn alias BOOT69xx.0-0-0-14.zz.sgn
tftp-server flash0:/Phones/6921_6941_6961/Sccp/SCCP69xx.9-2-1-0.loads alias SCCP69xx.9-2-1-0.loads
tftp-server flash0:/Phones/6921_6941_6961/Sccp/SCCP69xx.9-2-1-0.zz.sgn alias SCCP69xx.9-2-1-0.zz.sgn
tftp-server flash0:/Phones/6921_6941_6961/Sccp/apps37sccp.1-4-4-0.bin alias apps37sccp.1-4-4-0.bin
tftp-server flash:RingList.xml
tftp-server flash:Analog1.raw
tftp-server flash:Bass.raw
tftp-server flash:FilmScore.raw
tftp-server flash:HarpSynth.raw
tftp-server flash:Jamaica.raw
tftp-server flash:KotoEffect.raw
tftp-server flash:MusicBox.raw
tftp-server flash:Piano1.raw
tftp-server flash:Piano2.raw
tftp-server flash:Pop.raw
tftp-server flash:Chime.raw
tftp-server flash:DistinctiveRingList.xml
!
control-plane
!
!
voice-port 0/0/0:15
!
ccm-manager music-on-hold bind Loopback0
!
!
mgcp profile default
!
sccp local Loopback0
sccp ccm 192.168.102.129 identifier 1 version 7.0 
sccp
!
sccp ccm group 1
 bind interface Loopback0
 associate ccm 1 priority 1
 associate profile 1 register CFB_Hardware
!
dspfarm profile 1 conference  
 codec g711ulaw
 codec g711alaw
 codec g729ar8
 codec g729abr8
 codec g729r8
 codec g729br8
 maximum sessions 2
 associate application SCCP
!
dial-peer voice 1001 pots
 description Emergency Calling
 preference 1
 destination-pattern 0000
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1101 pots
 description Satelite Telephones
 preference 1
 destination-pattern 0014.......
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1111 pots
 description Paging
 preference 1
 destination-pattern 0016T
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1121 pots
 description National Modem
 preference 1
 destination-pattern 0019T
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1231 pots
 description Local VIC
 preference 1
 destination-pattern 003........
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1241 pots
 description Mobile
 preference 1
 destination-pattern 004........
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1251 pots
 description Number Mobility
 preference 1
 destination-pattern 005........
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1271 pots
 description STD QLD
 preference 1
 destination-pattern 007........
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1281 pots
 description STD WA, SA & NT
 preference 1
 destination-pattern 008........
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1341 pots
 description Local Region 3
 preference 1
 destination-pattern 03.......
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1361 pots
 description Local Region 6
 preference 1
 destination-pattern 06.......
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1381 pots
 description Local Region 8
 preference 1
 destination-pattern 08.......
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1391 pots
 description Local Region 9
 preference 1
 destination-pattern 09.......
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1401 pots
 description Information Services
 preference 1
 destination-pattern 01100
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1411 pots
 description Information Services
 preference 1
 destination-pattern 0110[1-9]00
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1421 pots
 description Information Services
 preference 1
 destination-pattern 0113...
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1431 pots
 description Information Services
 preference 1
 destination-pattern 01144.
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1441 pots
 description Information Services
 preference 1
 destination-pattern 0114[0-3]....
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1451 pots
 description Information Services
 preference 1
 destination-pattern 0114[5-9]....
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1461 pots
 description Information Services
 preference 1
 destination-pattern 0119.
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1471 pots
 description Information Services
 preference 1
 destination-pattern 012[2-3].
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1481 pots
 description pots Information Services
 preference 1
 destination-pattern 0124..
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1491 pots
 description Information Services
 preference 1
 destination-pattern 0125...
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1501 pots
 description Information Services
 preference 1
 destination-pattern 012722T
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1511 pots
 description Local 13 Services
 preference 1
 destination-pattern 013[1-3]...
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1521 pots
 description Local 13 Services
 preference 1
 destination-pattern 0134[0-4]..
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1531 pots
 description Local 13 Services
 preference 1
 destination-pattern 0134[6-9]..
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1541 pots
 description Local 13 Services
 preference 1
 destination-pattern 013[5-9]...
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1581 pots
 description Freecall 1800 Services
 preference 1
 destination-pattern 0180[2-9]...
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1551 pots
 description Local 13 Services
 preference 1
 destination-pattern 01345....
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1561 pots
 description 1300 Services
 preference 1
 destination-pattern 0130.......
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1571 pots
 description Freecall 1800 Services
 preference 1
 destination-pattern 0180[01]......
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 1591 pots
 description Calling Card Services
 preference 1
 destination-pattern 0189..
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 30 voip
 mailbox-selection orig-called-num
 description "CUE Voicemail Pilot Number"
 destination-pattern 1100
 session protocol sipv2
 session target ipv4:192.168.102.130
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
dial-peer voice 31 voip
 description "Main Number"
 destination-pattern 9999
 session protocol sipv2
 session target ipv4:192.168.102.130
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
!
!
!
gatekeeper
 shutdown
!
!
credentials
!
!
telephony-service
 sdspfarm units 1
 sdspfarm tag 1 CFB_Hardware
 conference hardware
 moh-file-buffer 10000
 no auto-reg-ephone
 authentication credential cisco cisco
 max-ephones 48
 max-dn 100
 ip source-address 192.168.102.129 port 2000
 timeouts interdigit 5
 timeouts busy 20
 timeouts ringing 20
 url directories http://192.168.102.129/localdirectory
 url services http://192.168.102.130/voiceview/common/login.do 
 url authentication http://192.168.102.129/CCMCIP/authenticate.asp  
 load 7937 apps37sccp.1-4-4-0
 load 6921 SCCP69xx.9-2-1-0
 load 6941 SCCP69xx.9-2-1-0
 time-zone 47
 date-format dd-mm-yy
 voicemail 1100
 max-conferences 8 gain -6
 call-forward pattern .T
 moh "flash0:/music-on-hold.au"
 multicast moh 239.1.1.1 port 16384 route 192.168.102.129 192.168.102.1
 web admin system name cisco password cisco
 dn-webedit 
 time-webedit 
 transfer-system full-consult
 transfer-pattern .T
 secondary-dialtone 0
 create cnf-files version-stamp 7960 Oct 12 2011 01:17:14
!
!
ephone-template  1
 service phone settingAccess 1
 service phone webAccess 0
 softkeys hold  Resume Newcall Select Join
 softkeys idle  Redial Newcall Cfwdall Gpickup
 softkeys seized  Redial Endcall Cfwdall Gpickup
 softkeys alerting  Endcall
 softkeys connected  Hold Endcall Trnsfer Confrn ConfList Select Join Park
 softkeys ringing  Answer Dnd
!
!
ephone-dn  1  dual-line
 number 9901 secondary 92679901 no-reg
 description 92679901
 call-forward busy 1100
 call-forward noan 1100 timeout 20
!
!
ephone-dn  2  dual-line
 number 9902 secondary 92679902 no-reg
 description 92679902
 call-forward busy 1100
 call-forward noan 1100 timeout 20
!
!
ephone-dn  50
 number 1500
!
!
ephone-dn  80  octo-line
 number C00
 conference ad-hoc
 no huntstop
!
!
ephone-dn  81  octo-line
 number C01
 conference ad-hoc
 no huntstop
!
!
ephone-dn  82  octo-line
 number C02
 conference ad-hoc
 no huntstop
!
!
ephone-dn  83  octo-line
 number C03
 conference ad-hoc
 no huntstop
!
!
ephone-dn  90
 number A101....
 mwi on
!
!
ephone-dn  91
 number A102....
 mwi off
!
!
ephone-dn  92
 number 1122 no-reg primary
 park-slot
!
!
ephone-dn  93
 number 1123 no-reg primary
 park-slot
!
!
ephone-dn  94
 number 1124 no-reg primary
 park-slot
!
!
ephone-dn  95
 number 1125 no-reg primary
 park-slot
!
!
ephone  1
 device-security-mode none
 mac-address 44D3.CAD4.5FD7
 ephone-template 1
 max-calls-per-button 2
 type 6941
 button  1:1
!
!
!
ephone  2
 device-security-mode none
 mac-address 44D3.CA59.32CB
 ephone-template 1
 max-calls-per-button 2
 type 6921
 button  1:2
!
!
!
ephone  50
 device-security-mode none
 mac-address 0004.F2ED.FA3C
 button  1:50
!
!
!
!
line con 0
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line 67
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
line 131
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 4
 exec-timeout 0 0
 privilege level 15
 password cisco
 login local
 transport input all
!
scheduler allocate 20000 1000
end

 

 

Copyright © 2010 MiaNet.RU.
All Rights Reserved.

Designed by tim.