* Configure T1 card
card type t1 0 0 network-clock-participate wic 0 ! controller T1 0/0/1 framing esf linecode b8zs
controller T1 0/0/1 ds0-group 0 timeslots 1-5 type e&m-fgd ds0-group 1 timeslots 6-10 type fgd-eana
voice-port 0/0/1:0 timing dialout-delay 300 ! voice-port 0/0/1:1 timing dialout-delay 300
dial-peer voice 1 pots destination-pattern .T incoming called-number . direct-inward-dial port 0/0/1:1
controller T1 0/3/0 ds0-group 0 timeslots 1-2 type e&m-wink-start
voice-port 0/3/0:0 echo-cancel enable type hardware
dial-peer voice 1 pots service mgcpapp port 0/3/0:0
hostname ccie-srst-gw ! ccm-manager switchback immediate ccm-manager fallback-mgcp ccm-manager redundant-host <cucm-pub> ccm-manager mgcp ccm-manager music-on-hold ! mgcp mgcp call-agent <cucm-pub> service-type mgcp version 0.1 mgcp dtmf-relay voip codec all mode out-of-band no mgcp timer receive-rtcp !
application global service alternate Default
* Configure E1 card
card type e1 0 0 network-clock-participate wic 0
controller E1 0/0/1 ds0-group 0 timeslots 1-10 type r2-digital r2-compelled ani cas-custom 0 timer interdigit incoming 1000
voice-port 0/0/1:0
dial-peer voice 999 pots destination-pattern 999 no digit-strip port 0/0/1:0 ! dial-peer voice 2 pots destination-pattern .T port 0/0/1:0