service timestamps debug datetime msec localtime
service timestamps log datetime
no service password-encryption
!
hostname CS4-3845-GW1
!
boot-start-marker
boot system flash c3845-ipvoice-mz.124-19.13.PI8
boot-end-marker
!
card type t1 1 1
card type t1 2 1
card type t1 3 1
logging message-counter syslog
logging buffered 80000000
no logging console
enable secret 5 $1$v/s4$/6h1KJjV7gNfhlGSYTQBG0
enable password ipcc123
!
no aaa new-model
clock timezone EDT -5
clock summer-time EST recurring
network-clock-participate slot 1 
network-clock-participate slot 2 
no network-clock-participate slot 3 
network-clock-participate wic 0 
network-clock-participate wic 1 
!
ip source-route
ip cef
!
ip domain name any.com
ip name-server 10.12.3.67
ip name-server 10.12.6.67
multilink bundle-name authenticated
!
isdn switch-type primary-ni
!
voice-card 0
 no dspfarm
!
voice-card 1
 no dspfarm
!
voice-card 2
 no dspfarm
!
voice-card 3
 no dspfarm
!
!
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 729
 codec preference 1 g729r8
 codec preference 2 g711ulaw
!
voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g729r8
 codec preference 3 g729br8
!
!
http client cache memory pool 15000
http client cache memory file 500
http client cache refresh 864000
http client connection timeout 60
ivr prompt memory 15000
ivr prompt streamed none
ivr asr-server rtsp://asr-en-us/recognizer
ivr tts-server rtsp://tts-en-us/synthesizer
!
application
  service new-call flash:bootstrap.vxml
  paramspace english index 0
  paramspace english language en
  paramspace english location flash
  paramspace english prefix en
  !
  service cvp-survivability flash:survivability.tcl
  paramspace english index 0
  paramspace english language en
  paramspace english location flash
  paramspace english prefix en
  !
  service ringtone flash:ringtone.tcl
  paramspace english index 0
  paramspace english language en
  paramspace english location flash
  paramspace english prefix en
  !
  service cvperror flash:cvperror.tcl
  paramspace english index 0
  paramspace english language en
  paramspace english location flash
  paramspace english prefix en
  !
  service handoff flash:handoff.tcl
  paramspace english index 0
  paramspace english language en
  paramspace english location flash
  paramspace english prefix en
  !
  service bootstrap flash:bootstrap.tcl
  paramspace english language en
  paramspace english index 0
  paramspace english location flash
  paramspace english prefix en
  !
!
mrcp client timeout connect 10
mrcp client timeout message 10
mrcp client anysetup enable
vxml tree memory 1000
!
!
username any privilege 15 secret 5 $1$gdAX$HRSUFJcTyZ/W05Yw3.TbK0
archive
 log config
  hidekeys
!
!
controller T1 0/0/0
 framing esf
 linecode b8zs
 pri-group timeslots 1-24
!
controller T1 0/0/1
 framing esf
 linecode b8zs
 pri-group timeslots 1-24
!
controller T1 0/1/0
 framing esf
 linecode b8zs
 pri-group timeslots 1-24
!
controller T1 0/1/1
 framing esf
 linecode b8zs
 pri-group timeslots 1-24
!
controller T1 1/0
 framing esf
 linecode b8zs
 pri-group timeslots 1-24
!
controller T1 1/1
 framing esf
 linecode b8zs
 pri-group timeslots 1-24
!
controller T1 2/0
 framing esf
 linecode b8zs
 pri-group timeslots 1-24
!
controller T1 2/1
 framing esf
 linecode b8zs
 pri-group timeslots 1-24
!
controller T1 3/0
 framing esf
 linecode b8zs
 pri-group timeslots 1-24
!
controller T1 3/1
 framing esf
 linecode b8zs
 pri-group timeslots 1-24
!
!
interface GigabitEthernet0/0
 ip address 10.12.6.105 255.255.255.240
 duplex full
 speed 100
 media-type rj45
 h323-gateway voip interface
 h323-gateway voip id CS4-CVP-ZONE ipaddr 10.12.6.104 1719
 h323-gateway voip h323-id CS4-3845-GW1
 h323-gateway voip tech-prefix 1#
 h323-gateway voip bind srcaddr 10.12.6.105
!
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 Serial1/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial1/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial2/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial2/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial3/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Serial3/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.12.6.97
!
!
ip http server
ip http access-class 23
ip http authentication local
ip http timeout-policy idle 600 life 86400 requests 10000
!
logging trap errors
logging 10.12.4.249
snmp-server community public RO
snmp-server community private RW
snmp-server system-shutdown
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps vrrp
snmp-server enable traps ds1
snmp-server enable traps tty
snmp-server enable traps eigrp
snmp-server enable traps xgcp
snmp-server enable traps flash insertion
snmp-server enable traps flash removal
snmp-server enable traps ds3
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 msdp
snmp-server enable traps mvpn
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 any-specific state-change nssa-trans-change
snmp-server enable traps ospf any-specific state-change shamlink interface-old
snmp-server enable traps ospf any-specific state-change shamlink neighbor
snmp-server enable traps ospf any-specific errors
snmp-server enable traps ospf any-specific retransmit
snmp-server enable traps ospf any-specific lsa
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 event-manager
snmp-server enable traps voice fallback poor-qov
snmp-server enable traps dnis
snmp-server host 10.12.6.70 public 
!
control-plane
!
voice-port 0/0/0:23
!
voice-port 0/1/0:23
!
voice-port 0/0/1:23
!
voice-port 0/1/1:23
!
voice-port 1/0:23
!
voice-port 1/1:23
!
voice-port 2/0:23
!
voice-port 2/1:23
!
voice-port 3/0:23
!
voice-port 3/1:23
!
!
dial-peer cor custom
!
dial-peer voice 2000 pots
 incoming called-number 2494..
 no digit-strip
 direct-inward-dial
!
dial-peer voice 2001 pots
 incoming called-number 2494..
 no digit-strip
 direct-inward-dial
!
dial-peer voice 2002 pots
 incoming called-number 2494..
 no digit-strip
 direct-inward-dial
!
dial-peer voice 2003 pots
 incoming called-number 2494..
 no digit-strip
 direct-inward-dial
!
dial-peer voice 1000 voip
 service bootstrap
 session transport tcp
 incoming called-number 4444444444.T
 dtmf-relay h245-alphanumeric h245-signal any-nte
 codec g711ulaw
 no vad
!
dial-peer voice 1001 voip
 destination-pattern 2494..
 voice-class codec 1
 max-redirects 10
 session target ras
 session transport tcp
 tech-prefix 2#
 dtmf-relay any-nte h245-alphanumeric h245-signal
 no vad
!
dial-peer voice 9191 voip
 service ringtone
 voice-class codec 1
 voice-class sip rel1xx disable
 session protocol sipv2
 session transport tcp
 incoming called-number 91919191
 dtmf-relay any-nte
 no vad
!
dial-peer voice 9292 voip
 service cvperror
 voice-class codec 1
 voice-class sip rel1xx disable
 session protocol sipv2
 session transport tcp
 incoming called-number 92929292
 dtmf-relay any-nte
 no vad
!
dial-peer voice 3000 pots
 incoming called-number 2494..
 no digit-strip
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3001 pots
 incoming called-number 2494..
 no digit-strip
 direct-inward-dial
 port 0/0/1:23
!
dial-peer voice 3002 pots
 incoming called-number 2494..
 no digit-strip
 direct-inward-dial
 port 0/1/0:23
!
dial-peer voice 3003 pots
 incoming called-number 2494..
 no digit-strip
 direct-inward-dial
 port 0/1/1:23
!
dial-peer voice 3004 pots
 incoming called-number 2494..
 no digit-strip
 direct-inward-dial
 port 1/0:23
!
dial-peer voice 3005 pots
 incoming called-number 2494..
 no digit-strip
 direct-inward-dial
 port 1/1:23
!
dial-peer voice 3006 pots
 incoming called-number 2494..
 no digit-strip
 direct-inward-dial
 port 2/0:23
!
dial-peer voice 3007 pots
 incoming called-number 2494..
 no digit-strip
 direct-inward-dial
 port 2/1:23
!
dial-peer voice 3008 pots
 incoming called-number 2494..
 no digit-strip
 direct-inward-dial
 port 3/0:23
!
!
gateway 
 timer receive-any 1200
!
sip-ua 
 timers trying 300
!
!
line con 0
 exec-timeout 0 0
 privilege level 15
 login local
line aux 0
line vty 0 4
 exec-timeout 0 0
 privilege level 15
 password ipcc123
 login
line vty 5 15
 access-class 23 in
 privilege level 15
 no login
line vty 16 99
 no login
!
exception data-corruption buffer truncate
scheduler allocate 20000 1000
ntp server 10.12.3.98
end
