
CS5-3845-GW1#sh run
Building configuration...

Current configuration : 9407 bytes
!
! Last configuration change at 12:08:20 EST Fri Mar 12 2010
! NVRAM config last updated at 17:47:17 EST Tue Mar 9 2010
!
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CS5-3845-GW1
!
boot-start-marker
boot system flash flash:c3845-ipvoice-mz.151-0.24.T
boot-end-marker
!
card type t1 1 1
card type t1 2 1
card type t1 3 1
card type t1 4 1
logging buffered 10000000
no logging console
enable password ipcc123
!
aaa new-model
!
!
aaa group server radius acs
 server 10.14.2.15 auth-port 1812 acct-port 1813
!
aaa authentication login h323 group acs
aaa authorization exec h323 group acs 
aaa accounting connection h323 start-stop group acs
!
!
!
aaa session-id common
clock timezone EST -5
clock summer-time EDT recurring
network-clock-participate slot 1 
network-clock-participate slot 2 
network-clock-participate slot 3 
no network-clock-participate slot 4 
network-clock-participate wic 0 
network-clock-participate wic 1 
network-clock-participate wic 2 
network-clock-participate wic 3 
!
ip source-route
ip cef
!
!
!
!
ip domain name blr.com
ip host zs0-fs2 10.14.2.20
ip name-server 10.12.7.45
ipv6 unicast-routing
ipv6 cef
multilink bundle-name authenticated
!
!
!
isdn switch-type primary-ni
!
voice-card 0
!
voice-card 1
!
voice-card 2
!
voice-card 3
!
voice-card 4
!
!
voice call carrier capacity active
!
voice service voip
 allow-connections sip to sip
 signaling forward unconditional
 h323
 sip
  rel1xx disable
  min-se 360 
  header-passing
!
voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g729r8
!
!
!
!
!
controller T1 0/0/0
 pri-group timeslots 1-24
!
controller T1 0/0/1
 pri-group timeslots 1-24
!
controller T1 0/1/0
 pri-group timeslots 1-24
!
controller T1 0/1/1
 pri-group timeslots 1-24
!
controller T1 0/2/0
 pri-group timeslots 1-24
!
controller T1 0/2/1
 pri-group timeslots 1-24
!
controller T1 0/3/0
 pri-group timeslots 1-24
!
controller T1 0/3/1
 pri-group timeslots 1-24
!
controller T1 1/0
!
controller T1 1/1
!
controller T1 2/0
!
controller T1 2/1
!
controller T1 3/0
!
controller T1 3/1
!
controller T1 4/0
 pri-group timeslots 1-24
!
controller T1 4/1
 pri-group timeslots 1-24
!
!
translation-rule 905150
 Rule 0 ^1905150.... 150
!
gw-accounting aaa
!
!
!
!
!
!
interface GigabitEthernet0/0
 description to CS5-SW1 port 15
 ip address 10.12.7.122 255.255.255.240
 duplex full
 speed 1000
 media-type rj45
 ipv6 address 2008:10:12:771::122/64
 ipv6 enable
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
 media-type rj45
!
interface Serial0/0/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/0/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/1/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/1/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/2/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/2/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/3/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/3/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial4/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial4/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
router ospf 5
 log-adjacency-changes
!
ip forward-protocol nd
!
!
ip http server
ip http access-class 23
ip http authentication local
ip http timeout-policy idle 600 life 86400 requests 10000
ip route 0.0.0.0 0.0.0.0 10.12.7.113
!
logging trap errors
logging 10.12.4.249
access-list 23 permit 10.10.10.0 0.0.0.7
ipv6 route ::/0 2008:10:12:771::113
!
snmp-server community private RW
snmp-server community public RO
snmp-server system-shutdown
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps vrrp
snmp-server enable traps tty
snmp-server enable traps ospf state-change
snmp-server enable traps ospf errors
snmp-server enable traps ospf retransmit
snmp-server enable traps ospf lsa
snmp-server enable traps ospf cisco-specific state-change nssa-trans-change
snmp-server enable traps ospf cisco-specific state-change shamlink interface
snmp-server enable traps ospf cisco-specific state-change shamlink neighbor
snmp-server enable traps ospf cisco-specific errors
snmp-server enable traps ospf cisco-specific retransmit
snmp-server enable traps ospf cisco-specific lsa
snmp-server enable traps xgcp
snmp-server enable traps flash insertion removal
snmp-server enable traps envmon
snmp-server enable traps icsudsu
snmp-server enable traps isdn call-information
snmp-server enable traps isdn layer2
snmp-server enable traps isdn chan-not-avail
snmp-server enable traps isdn ietf
snmp-server enable traps ds0-busyout
snmp-server enable traps ds1-loopback
snmp-server enable traps atm subif
snmp-server enable traps cnpd
snmp-server enable traps config-copy
snmp-server enable traps config
snmp-server enable traps dial
snmp-server enable traps dsp card-status
snmp-server enable traps entity
snmp-server enable traps frame-relay multilink bundle-mismatch
snmp-server enable traps frame-relay
snmp-server enable traps frame-relay subif
snmp-server enable traps hsrp
snmp-server enable traps ipmulticast
snmp-server enable traps pim neighbor-change rp-mapping-change invalid-pim-message
snmp-server enable traps pppoe
snmp-server enable traps cpu threshold
snmp-server enable traps rsvp
snmp-server enable traps ipsla
snmp-server enable traps syslog
snmp-server enable traps l2tun session
snmp-server enable traps vtp
snmp-server enable traps voice poor-qov
snmp-server enable traps dnis
snmp-server host 10.12.6.70 public 
!
radius-server host 10.14.2.15 auth-port 1812 acct-port 1813
radius-server key cisco
radius-server vsa send accounting
radius-server vsa send authentication
!
control-plane
!
!
voice-port 0/0/0:23
!
voice-port 0/1/0:23
!
voice-port 0/2/0:23
!
voice-port 0/3/0:23
!
voice-port 0/0/1:23
!
voice-port 0/1/1:23
!
voice-port 0/2/1:23
!
voice-port 0/3/1:23
!
voice-port 4/0:23
!
voice-port 4/1:23
!
!
mgcp fax t38 ecm
!
!
dial-peer cor custom
!
!
dial-peer voice 1001 voip
 destination-pattern 3021500602
 session protocol sipv2
 session target ipv4:10.12.7.43
 session transport tcp
 voice-class codec 1
 max-redirects 10
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 2001 pots
 incoming called-number 302.......
 no digit-strip
 direct-inward-dial
 port 4/0:23
!
dial-peer voice 6001 voip
 destination-pattern 3021506602
 session protocol sipv2
 session target ipv6:[2008:10:12:741::43]
 session transport tcp
 dtmf-relay rtp-nte
 codec g711ulaw
 no vad
!
dial-peer voice 2002 pots
 incoming called-number 302.......
 no digit-strip
 direct-inward-dial
 port 0/0/1:23
!
dial-peer voice 2003 pots
 incoming called-number 302.......
 no digit-strip
 direct-inward-dial
 port 0/1/0:23
!
dial-peer voice 2004 pots
 incoming called-number 302.......
 no digit-strip
 direct-inward-dial
 port 0/1/1:23
!
dial-peer voice 2005 pots
 incoming called-number 302.......
 no digit-strip
 direct-inward-dial
 port 0/2/0:23
!
dial-peer voice 2006 pots
 incoming called-number 302.......
 no digit-strip
 direct-inward-dial
 port 0/2/1:23
!
dial-peer voice 2007 pots
 incoming called-number 302.......
 no digit-strip
 direct-inward-dial
 port 0/3/0:23
!
dial-peer voice 2008 pots
 incoming called-number 302.......
 no digit-strip
 direct-inward-dial
 port 0/3/1:23
!
dial-peer voice 905150 voip
 description To CS5-CMR1
 destination-pattern 1905150....
 translate-outgoing called 905150
 session protocol sipv2
 session target ipv4:10.12.7.43
 voice-class codec 1
 dtmf-relay rtp-nte
!
dial-peer voice 2009 pots
 description In coming call from CS8-3825-gw1
 preference 1
 incoming called-number 1905150....
 no digit-strip
 direct-inward-dial
 port 4/1:23
!
dial-peer voice 1002 voip
 preference 1
 incoming called-number 1908180....
 voice-class codec 1
!
dial-peer voice 2010 pots
 description to CS8-3825-gw1 over t1
 preference 1
 destination-pattern 1908180....
 no digit-strip
 direct-inward-dial
 port 4/1:23
!
dial-peer voice 908180 voip
 description to CS8-3825-gw1 
 destination-pattern 1908180....
 session protocol sipv2
 session target ipv4:10.12.9.122
 voice-class codec 1
 dtmf-relay xyz-nte
!
!
gateway 
 timer receive-xyz 1200
!
sip-ua 
 protocol mode dual-stack
!
privilege exec all level 0 show logging
privilege exec level 0 show
!
line con 0
 password xxxx
line aux 0
line vty 0 4
 password xxxx
 transport input all
line vty 5 15
 password xxxx
 transport input all
!
exception data-corruption buffer truncate
scheduler allocate 20000 1000
ntp server 10.12.7.98
end

CS5-3845-GW1#

