
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CS1-3845-GW12
!
boot-start-marker
boot system flash:c3845-ipvoice_ivs-mz.124-24.6.11.PIA12
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 aaa new-model
network-clock-participate slot 1 
network-clock-participate slot 2 
network-clock-participate slot 3 
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 
!
no ip source-route
ip cef
!
!
!
!
ip domain name rtp.com
ip name-server 10.12.3.67
ip name-server 10.12.6.67
no ipv6 cef
multilink bundle-name authenticated
!
!
!
isdn switch-type primary-ni
!
voice-card 0
 dspfarm
!
voice-card 1
 dspfarm
!
voice-card 2
 dspfarm
!
voice-card 3
 dspfarm
!
voice-card 4
 dspfarm
!
!
voice call send-alert
voice call carrier capacity active
voice rtp send-recv
!
voice service voip
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 signaling forward unconditional
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
 h323
 sip
  rel1xx disable
  min-se 180 
  header-passing 
!
voice class codec 729
 codec preference 1 g729r8
 codec preference 2 g711ulaw
!
voice class codec 711
 codec preference 1 g711ulaw
 codec preference 2 g729r8
!
!
!
!
!
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 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 rtpsetup enable
vxml tree memory 1000
!
!
!
!
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
 pri-group timeslots 1-24
!
controller T1 1/1
 pri-group timeslots 1-24
!
controller T1 2/0
 pri-group timeslots 1-24
!
controller T1 2/1
 pri-group timeslots 1-24
!
controller T1 3/0
 pri-group timeslots 1-24
!
controller T1 3/1
 pri-group timeslots 1-24
!
controller T1 4/0
 pri-group timeslots 1-24
!
controller T1 4/1
 pri-group timeslots 1-24
!
ip tcp path-mtu-discovery
!
!
!
!
!
interface GigabitEthernet0/0
 description to CS1-SW1
 ip address 10.12.3.116 255.255.255.240
 duplex auto
 speed auto
 media-type rj45
!
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 protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/0/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 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 protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/2/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/3/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/3/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
interface Serial1/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
interface Serial1/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
interface Serial2/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
interface Serial2/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
interface Serial3/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
interface Serial3/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
interface Serial4/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
interface Serial4/1: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
!
!
ip http server
ip http authentication local
ip http timeout-policy idle 60 life 86400 requests 10000
ip route 0.0.0.0 0.0.0.0 10.12.3.113
!
!
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 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-old
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 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 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 dsp oper-state
snmp-server enable traps entity
snmp-server enable traps resource-policy
snmp-server enable traps event-manager
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 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 l2tun pseudowire status
snmp-server enable traps ccme
snmp-server enable traps srst
snmp-server enable traps voice
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/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 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
!
voice-port 4/0:23
!
voice-port 4/1:23
!
!
mgcp fax t38 ecm
mgcp behavior g729-variants static-pt
!
!
dial-peer voice 101 pots
 incoming called-number 3021......
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 102 pots
 incoming called-number 3021......
 direct-inward-dial
 port 0/0/1:23
!
dial-peer voice 103 pots
 incoming called-number 3021......
 direct-inward-dial
 port 0/1/0:23
!
dial-peer voice 104 pots
 incoming called-number 3021......
 direct-inward-dial
 port 0/1/1:23
!
dial-peer voice 105 pots
 incoming called-number 3021......
 direct-inward-dial
 port 0/2/0:23
!
dial-peer voice 106 pots
 incoming called-number 3021......
 direct-inward-dial
 port 0/2/1:23
!
dial-peer voice 107 pots
 incoming called-number 3021......
 direct-inward-dial
 port 0/3/0:23
!
dial-peer voice 108 pots
 incoming called-number 3021......
 direct-inward-dial
 port 0/3/1:23
!
dial-peer voice 109 pots
 incoming called-number 3021......
 direct-inward-dial
 port 1/0:23
!
dial-peer voice 110 pots
 incoming called-number 3021......
 direct-inward-dial
 port 1/1:23
!
dial-peer voice 112 pots
 incoming called-number 3021......
 direct-inward-dial
 port 2/1:23
!
dial-peer voice 114 pots
 incoming called-number 3021......
 direct-inward-dial
 port 3/1:23
!
dial-peer voice 116 pots
 incoming called-number 3021......
 direct-inward-dial
 port 4/1:23
!
dial-peer voice 1000 voip
 description send call to CVP
 destination-pattern 3021......
 session protocol sipv2
 session target ipv4:10.12.3.162
 session transport tcp
 voice-class codec 711
 dtmf-relay xyz-nte
!
dial-peer voice 111 pots
 incoming called-number 3021......
 direct-inward-dial
 port 2/0:23
!
dial-peer voice 113 pots
 incoming called-number 3021......
 direct-inward-dial
 port 3/0:23
!
dial-peer voice 115 pots
 incoming called-number 3021......
 direct-inward-dial
 port 4/0:23
!
dial-peer voice 6000 voip
 service bootstrap
 session transport tcp
 incoming called-number 1111111111T
 dtmf-relay xyz-nte
 codec g711ulaw
 no vad
!
dial-peer voice 9191 voip
 service ringtone
 session protocol sipv2
 session transport tcp
 incoming called-number 91919191
 voice-class sip rel1xx disable
 dtmf-relay xyz-nte
 no vad
!
dial-peer voice 9292 voip
 service cvperror
 session protocol sipv2
 session transport tcp
 incoming called-number 92929292
 voice-class sip rel1xx disable
 dtmf-relay xyz-nte
 no vad
!
!
gateway 
 timer receive-xyz 1200
!
sip-ua 
 timers trying 300
!
!
gatekeeper
 shutdown
!
!
line con 0
 login local
line aux 0
line vty 0 4
 privilege level 15
 login local
line vty 5 15
 privilege level 15
 login local
!
exception dump 10.12.3.28
exception data-corruption buffer truncate
exception crashinfo buffersize 256
scheduler allocate 20000 1000
ntp server 10.12.7.98
end
