R1#show run
Building configuration...

version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local 
aaa authorization network default local 
!
!
!
!
!
aaa session-id common
ethernet lmi ce
clock timezone UTC -6 0
clock summer-time UTC recurring
!
!
!
!
!
!
no ip source-route
!    
!         
!         
no ip domain lookup
ip domain name xxx.mx
ip name-server x.x.x.x
ip cef    
login block-for 900 attempts 3 within 60
login delay 2
login quiet-mode access-class Quiet_Access
login on-failure log
login on-success log
no ipv6 cef
!         
multilink bundle-name authenticated
!         
!               
!         
!         
voice-card 0
 dsp services dspfarm
!         
!         
!         
voice service voip
 ip address trusted list
  ipv4 x.x.0.0 255.255.0.0
  ipv4 0.0.0.0 0.0.0.0
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 supplementary-service h450.12
 no supplementary-service sip moved-temporarily
 no supplementary-service sip refer
 redirect ip2ip
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw
 sip      
  registrar server expires max 3600 min 3600
  no call service stop
!         
voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g729r8
 codec preference 3 g729br8
 codec preference 4 g711alaw
 codec preference 5 g723r63
!         
!         
!         
!         
!         
!         
voice translation-rule 1000
 rule 1 /\(^9\)\(........$\)/ /\2/
 rule 2 /\(^9\)\(0[2-9].$\)/ /\2/
 rule 3 /\(^9\)\(04[4-5]\)\(..........$\)/ /\2\3/
 rule 4 /\(^9\)\(01800\)\(.......$\)/ /\2\3/
 rule 5 /\(^9\)\(01\)\(..........$\)/ /\2\3/
 rule 6 /\(^9\)\(001\)\(.*\)/ /\2\3/
 rule 7 /\(^9\)\(00\)\(.*\)/ /\2\3/
!         
!         
voice translation-profile salida
translate called 1000
!         
!         
!         
license udi pid CISCO2921/K9 sn FTX1517AL5Q
hw-module pvdm 0/0
!         
hw-module sm 1
!         
!         
!         
archive   
 log config
  logging enable
  logging size 1000
!         
redundancy
!         
!         
    
!         
interface Embedded-Service-Engine0/0
 no ip address
 shutdown 
!         
interface GigabitEthernet0/0
 description TO_CORE
 ip address x.x.x.x 255.255.255.192
 duplex auto
 speed auto
!         
interface SM1/0
 no ip address
 shutdown 
 !Application: CUE Running on SM
!        
!         
ip forward-protocol nd
!         
no ip http server
no ip http secure-server
!         
ip dns server
ip route 0.0.0.0 0.0.0.0 x.x.x.x
ip route x.x.x.x 255.255.255.0 x.x.x.x
ip ssh time-out 60
ip ssh version 2
!         
ip access-list standard Quiet_Access
 remark MGT_IQSEC
 permit x.x.x.x 0.0.0.255
 remark Deny all
 deny   any log
!         
!         
!         
!         
!         
!         
!         
control-plane
!         
!         
voice-port 0/0/0
!         
voice-port 0/0/1
!         
voice-port 0/0/2
!         
voice-port 0/0/3
!         
voice-port 0/1/0
!         
voice-port 0/1/1
 !        
 !        
 !        
 !        
!         
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!         
mgcp profile default
!         
!         
!         
!         
dial-peer voice 10 voip
 description **Incoming Call from SIP Trunk**
 session protocol sipv2
 session target ipv4:x.x.x.x
 incoming called-number .%
 dtmf-relay rtp-nte sip-kpml sip-notify h245-alphanumeric
 codec g711ulaw
 no vad   
!         
dial-peer voice 11 voip
 description **INSIDE_TO_CUCM_1XXX-4XXX**
 destination-pattern [1-3]...
 session protocol sipv2
 session target ipv4:x.x.x.x
 dtmf-relay sip-notify
 codec g711ulaw
 no vad   
!         
dial-peer voice 12 voip
 description **INCOMING_FROM_CUCM_BE6k**
 session protocol sipv2
 session target ipv4:x.x.x.x
 incoming called-number .%
 voice-class sip dtmf-relay force rtp-nte
 dtmf-relay rtp-nte
 codec g711ulaw
 no vad   
!         
dial-peer voice 30 voip
 description **OUTSIDE_TO_LOCALES**
 translation-profile outgoing salida
 destination-pattern 9[1-9].......
 session protocol sipv2
 session target ipv4:x.x.x.x
 voice-class sip dtmf-relay force rtp-nte
 no voice-class sip outbound-proxy   
 dtmf-relay rtp-nte
 codec g711ulaw
 clid network-number 5555551700
 clid network-provided
!         
dial-peer voice 31 voip
 description **OUTSIDE_TO_CELULARES**
 translation-profile outgoing salida
 destination-pattern 904[4-5]..........
 session protocol sipv2
 session target ipv4:x.x.x.x
 voice-class sip dtmf-relay force rtp-nte
 no voice-class sip outbound-proxy   
 dtmf-relay rtp-nte
 codec g711ulaw
 clid network-number 5555551700
 clid network-provided
!         
dial-peer voice 32 voip
 description **OUTSIDE_01800**
 translation-profile outgoing salida
 destination-pattern 901800.......
 session protocol sipv2
 session target ipv4:x.x.x.x
 voice-class sip dtmf-relay force rtp-nte
 no voice-class sip outbound-proxy   
 dtmf-relay rtp-nte
 codec g711ulaw
 clid network-number 5555551700
 clid network-provided
!         
dial-peer voice 33 voip
 description **OUTSIDE_TO_LD_NACIONAL**
 translation-profile outgoing salida
 destination-pattern 901..........
 session protocol sipv2
 session target ipv4:x.x.x.x
 voice-class sip dtmf-relay force rtp-nte
 no voice-class sip outbound-proxy   
 dtmf-relay rtp-nte
 codec g711ulaw
 clid network-number 5555551700
 clid network-provided
!         
dial-peer voice 34 voip
 description **OUTSIDE_TO_SERVICIOS**
 translation-profile outgoing salida
 destination-pattern 90[2-9].
 session protocol sipv2
 session target ipv4:x.x.x.x
 voice-class sip dtmf-relay force rtp-nte
 no voice-class sip outbound-proxy   
 dtmf-relay rtp-nte
 codec g711ulaw
 clid network-number 5555551700
 clid network-provided
!         
dial-peer voice 35 voip
 description **OUTSIDE_TO_LDI_USA_CANADA**
 translation-profile outgoing salida
 destination-pattern 900[1]T
 session protocol sipv2
 session target ipv4:x.x.x.x
 voice-class sip dtmf-relay force rtp-nte
 no voice-class sip outbound-proxy   
 dtmf-relay rtp-nte
 codec g711ulaw
 clid network-number 5555551700
 clid network-provided
!
dial-peer voice 36 voip
 description **OUTSIDE_LDI_MUNDIAL**
 translation-profile outgoing salida
 destination-pattern 900[2-9]T
 session protocol sipv2
 session target ipv4:x.x.x.x
 voice-class sip dtmf-relay force rtp-nte
 no voice-class sip outbound-proxy   
 dtmf-relay rtp-nte
 codec g711ulaw
 clid network-number 5555551700
 clid network-provided
!
dial-peer voice 13 voip
 description **INSIDE_TO_CUCM_4XXX**
 destination-pattern 401.
 session protocol sipv2
 session target ipv4:x.x.x.x
 dtmf-relay rtp-nte sip-kpml sip-notify h245-alphanumeric
 codec g711ulaw
 no vad
!
!
num-exp 5555551766 xxxx
num-exp 5555551700 xxxx

sip-ua 
 no remote-party-id
 retry invite 2
 retry register 10
 timers connect 100
 registrar 1 ipv4:x.x.x.x expires 3600
 host-registrar
 presence enable
!
!
!
gatekeeper
 shutdown
!

!
end