Monday, February 1, 2010

Cấu hình kiểm tra module T1 với Callmanager Express

Mô hình gồm Router HQ và Router BR,
  • Cấu hình router HQ như sau:


hq#show run
Building configuration...


Current configuration : 2426 bytes
!
! Last configuration change at 04:49:27 UTC Fri Jan 29 2010
! NVRAM config last updated at 04:19:06 UTC Fri Jan 29 2010
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname hq
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
network-clock-participate wic 0
!
dot11 syslog
ip source-route
!
!
ip cef
ip dhcp excluded-address 177.3.11.1
!
ip dhcp pool voice
network 177.3.11.0 255.255.255.0
default-router 177.3.11.1
option 150 ip 177.3.11.1
!
!
no ipv6 cef
ntp master 1
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-ni
isdn gateway-max-interworking
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
controller T1 0/0/0
clock source internal
cablelength short 133
pri-group timeslots 1-3,24
!
controller T1 0/0/1
!
!
!
!
!
interface Loopback0
ip address 10.10.10.1 255.255.255.255
!
interface FastEthernet0/0
ip address 177.3.11.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn protocol-emulate network
isdn incoming-voice voice
no cdp enable
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
control-plane
!
!
!
voice-port 0/0/0:23
!
!
mgcp fax t38 ecm
!
!
!

!
dial-peer voice 1 pots
destination-pattern 400.
port 0/0/0:23
forward-digits 4
!
!
!
!
telephony-service
max-ephones 4
max-dn 32
ip source-address 10.10.10.1 port 2000
system message CUCME at BR2
time-zone 5
time-format 24
date-format dd-mm-yy
max-conferences 8 gain -6
call-forward pattern .T
web admin system name admin password cisco
dn-webedit
time-webedit
transfer-system full-consult
transfer-pattern .T
secondary-dialtone 9
create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
ephone-dn 1 dual-line
number 3001
label 3001
description 21313001
name hq2Ph1
!
!
ephone-dn 2
number 3005
label 3005
name hq2Ph1
!
!
ephone 1
device-security-mode none
mac-address 000E.3833.9B20
username "hq2ph1" password cisco
button 1:1 2:2
pin 12345
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end


  • Cấu hình trên Router Branch:
br#show run
Building configuration...

Current configuration : 2304 bytes
!
! Last configuration change at 04:04:03 UTC Fri Jan 29 2010
! NVRAM config last updated at 04:04:13 UTC Fri Jan 29 2010
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname br
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
network-clock-participate wic 1
dot11 syslog
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 177.3.21.1
!
ip dhcp pool voice
network 177.3.21.0 255.255.255.0
default-router 177.3.21.1
option 150 ip 177.3.21.1
!
!
multilink bundle-name authenticated
!
isdn switch-type primary-ni
!
voice-card 0
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
log config
hidekeys
!
!
controller T1 0/1/0
framing esf
linecode b8zs
cablelength short 133
pri-group timeslots 1-3,24
!
controller T1 0/1/1
framing esf
linecode b8zs
!
!
!
!
!
interface Loopback0
ip address 11.11.11.1 255.255.255.255
!
interface FastEthernet0/0
ip address 177.3.21.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
isdn outgoing display-ie
no cdp enable
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
!
disable-eadi
!
!
!
control-plane
!
!
!
voice-port 0/1/0:23
!
!
!
!
!
!
dial-peer voice 1 pots
incoming called-number 300.
direct-inward-dial
port 0/1/0:23
!
!
!
telephony-service
max-ephones 4
max-dn 32
ip source-address 11.11.11.1 port 2000
system message CUCME at BR2
time-zone 5
time-format 24
date-format dd-mm-yy
max-conferences 4 gain -6
call-forward pattern .T
web admin system name admin password cisco
dn-webedit
time-webedit
transfer-system full-consult
transfer-pattern .T
secondary-dialtone 9
!
!
ephone-dn 1 dual-line
number 4001
label 4001
description 21314001
name Br2Ph1
!
!
ephone-dn 2
number 4005
label 4005
name Br2Ph1
!
!
ephone 1
mac-address 001F.CAE8.EB69
username "br2ph1" password cisco
button 1:1 2:2
pin 12345
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
ntp master 1
end