!
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CS1-CMM-GW1
!
boot-start-marker
boot system flash:c3845-ipvoice-mz.151-0.24.T
boot-end-marker
!
card type t1 0 0
card type t1 0 1
card type t1 1 0
card type t1 1 1
card type t1 2 0
card type t1 2 1
card type t1 3 0
card type t1 3 1
card type t1 4 0
card type t1 4 1
logging buffered 10000000
no logging console
enable secret 5 $1$J8LZ$99uBegYpM0wjx8a9dcL4h/
enable password xxxx
!
no aaa new-model
clock timezone EST -5
clock summer-time US_EDT recurring
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 
!
no ip source-route
ip cef
!
!
!
!
ip domain name xyz.com
ip name-server 10.12.3.67
ip name-server 10.12.6.67
ip multicast-routing 
ipv6 unicast-routing
ipv6 cef
multilink bundle-name authenticated
!
!
!
isdn switch-type primary-dms100
!
voice-card 0
 dspfarm
!
voice-card 1
 dspfarm
!
voice-card 2
 dspfarm
!
voice-card 3
 dspfarm
!
voice-card 4
 dspfarm
!
!
!
voice service voip
 allow-connections sip to sip
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
 sip
  min-se 180 
!
voice class codec 729
 codec preference 1 g729r8
 codec preference 2 g711ulaw
!
voice class codec 711
 codec preference 1 g711ulaw
 codec preference 2 g729r8
!
!
!
!
!
!
!!
!
controller T1 0/0/0
 cablelength long 0db
 pri-group timeslots 1-24
!
controller T1 0/0/1
 cablelength long 0db
 pri-group timeslots 1-24
!
controller T1 0/1/0
 cablelength long 0db
 pri-group timeslots 1-24
!
controller T1 0/1/1
 cablelength long 0db
 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 1/0/0
 cablelength long 0db
 pri-group timeslots 1-24
!
controller T1 1/0/1
 cablelength long 0db
 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 2/0/0
 cablelength long 0db
 pri-group timeslots 1-24
!
controller T1 2/0/1
 cablelength long 0db
 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 3/0/0
 cablelength long 0db
 pri-group timeslots 1-24
!
controller T1 3/0/1
 cablelength long 0db
 pri-group timeslots 1-24
!
controller T1 4/0
 pri-group timeslots 1-24
!
controller T1 4/1
 pri-group timeslots 1-24
!
controller T1 4/0/0
 cablelength long 0db
 pri-group timeslots 1-24
!
controller T1 4/0/1
 cablelength long 0db
 pri-group timeslots 1-24
!
!
!
!
!
!
interface Loopback0
 ip address 5.5.5.5 255.255.255.255
!
interface GigabitEthernet0/0
 ip address 10.12.3.114 255.255.255.240
 no ip proxy-arp
 duplex auto
 speed 1000
 media-type rj45
 ipv6 address FE80::999 link-local
 ipv6 address 2001:10:12:3110::114/64
 ipv6 enable
 no keepalive
 ip rsvp bandwidth
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
 media-type rj45
!
interface Serial0/0/0:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/0/1:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/1/0:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/1/1:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial1/0:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial1/1:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial1/0/0:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial1/0/1:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial2/0:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial2/1:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial2/0/0:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial2/0/1:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial3/0:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial3/1:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial3/0/0:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial3/0/1:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial4/0:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial4/1:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial4/0/0:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
interface Serial4/0/1:23
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 no cdp enable
!
!
router eigrp cs1-saff1
 !
 service-family ipv4 autonomous-system 333
  !
  topology base
   external-client Client_label_safuser
  exit-sf-topology
  neighbor 6.6.6.6 Loopback0 remote 10
 exit-service-family
!
router ospf 1
 log-adjacency-changes
 area 1 stub no-summary
 network 5.5.5.5 0.0.0.0 area 1
 network 10.12.3.112 0.0.0.15 area 1
!
ip forward-protocol nd
!
!
no ip http server
ip route 0.0.0.0 0.0.0.0 10.12.3.113
!
service-family external-client listen ipv4 5050
 external-client Client_label_safuser basename
  username safuser
  password gbipccblr123
  keepalive 5000
!
logging 10.12.4.249
ipv6 route ::/0 2001:10:12:3110::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 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 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/0/1:23
!
voice-port 0/1/1:23
!
voice-port 1/0:23
!
voice-port 1/0/0:23
!
voice-port 1/1:23
!
voice-port 1/0/1:23
!
voice-port 2/0:23
!
voice-port 2/0/0:23
!
voice-port 2/1:23
!
voice-port 2/0/1:23
!
voice-port 3/0:23
!
voice-port 3/0/0:23
!
voice-port 3/1:23
!
voice-port 3/0/1:23
!
voice-port 4/0:23
!
voice-port 4/0/0:23
!
voice-port 4/1:23
!
voice-port 4/0/1:23
!
!
mgcp fax t38 ecm
!
!
dial-peer voice 101 pots
 incoming called-number [3,4]021......
 no digit-strip
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 102 pots
 incoming called-number 3021......
 direct-inward-dial
 port 0/1/0:23
!
dial-peer voice 103 pots
 incoming called-number 3021......
 direct-inward-dial
 port 0/0/1:23
!
dial-peer voice 104 pots
 incoming called-number 3021......
 direct-inward-dial
 port 1/0:23
!
dial-peer voice 105 pots
 incoming called-number 3021......
 direct-inward-dial
 port 1/0/0:23
!
dial-peer voice 106 pots
 incoming called-number 3021......
 direct-inward-dial
 port 1/1:23
!
dial-peer voice 107 pots
 incoming called-number 3021......
 direct-inward-dial
 port 1/0/1:23
!
dial-peer voice 108 pots
 incoming called-number 3021......
 direct-inward-dial
 port 2/0/0:23
!
dial-peer voice 109 pots
 incoming called-number 3021......
 direct-inward-dial
 port 2/0:23
!
dial-peer voice 110 pots
 incoming called-number [3,4]021......
 direct-inward-dial
 port 2/1:23
!
dial-peer voice 111 pots
 incoming called-number 3021......
 direct-inward-dial
 port 2/0/1:23
!
dial-peer voice 112 pots
 incoming called-number [3,4]021......
 direct-inward-dial
 port 3/0:23
!
dial-peer voice 113 pots
 incoming called-number [3,4]021......
 direct-inward-dial
 port 3/0/0:23
!
dial-peer voice 114 pots
 incoming called-number 3021......
 direct-inward-dial
 port 3/1:23
!
dial-peer voice 115 pots
 incoming called-number 3021......
 direct-inward-dial
 port 3/0/1:23
!
dial-peer voice 116 pots
 incoming called-number 3021......
 direct-inward-dial
 port 4/0:23
!
dial-peer voice 1000 voip
 destination-pattern 3021......
 session protocol sipv2
 session target ipv4:10.12.3.10
 session transport tcp
 voice-class codec 711
 dtmf-relay sip-kpml
!
dial-peer voice 2000 voip
 destination-pattern 4021......
 session protocol sipv2
 session target ipv6:[2001:10:12:3112::10]
 session transport tcp
 voice-class codec 711
 dtmf-relay xyz-nte
!
!
gateway 
 timer receive-xyz 1200
!
sip-ua 
 timers trying 300
 protocol mode dual-stack
!
!
line con 0
 exec-timeout 0 0
line aux 0
line vty 0 4
 exec-timeout 0 0
 privilege level 15
 password xxxx
 login local
 transport input all
line vty 5 15
 no login
 transport input all
!
exception dump 10.12.3.28
exception data-corruption buffer truncate
exception crashinfo buffersize 256
scheduler allocate 20000 1000
ntp server 10.12.3.98
end
