Current configuration : 3998 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
no service password-encryption
!
hostname HO-Gateway
!
boot-start-marker
boot-end-marker
!
card type t1 1
logging message-counter syslog
logging buffered 8192
enable password ****
!
no aaa new-model
clock timezone CST -6
clock summer-time CDT recurring
network-clock-participate T1 1/0

no ip source-route
!
!
ip cef
ip name-server 66.60.64.32
ip name-server 66.60.64.33
!
!
no ipv6 cef
multilink bundle-name authenticated
isdn switch-type primary-ni
!
!
voice call send-alert
voice call carrier capacity active
voice rtp send-recv
!
voice service pots 
!
voice service voip 
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 signaling forward none
 fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw
 sip
!
!
voice class codec 711
 codec preference 1 g711ulaw
 codec preference 2 g729r8
!
!
!
!
!
!
!
!
!
!
!
!
voice translation-rule 2
 rule 1 /^911$/ /911/
 rule 2 /\(7[*]\)\(.*\)/ /\2/
!
voice translation-rule 3
 rule 1 /^.*/ /817XXXXXXX/
!
voice translation-rule 4
 rule 1 /^\(.*\)/ /111\1/
!
!
voice translation-profile PSTN_Outgoing
 translate calling 3
 translate called 2
!
voice translation-profile fax
 translate called 4
!
!
voice-card 0
 no local-bypass
!
!
application
 service dsapp
  param disc-toggle-time 10
  param callWaiting FALSE
  param callConference TRUE
  param callTransfer TRUE
  param blind-xfer-wait-time 1
 !
!
archive
 log config
  hidekeys
!
!
controller T1 1/0
 clock source internal
 pri-group timeslots 1-24
!
controller T1 1/1
 mode cas
 clock source internal
 ds0-group 0 timeslots 1-24 type e&m-wink-start dtmf dnis
!
!
class-map match-all video1
 match access-group 102
class-map match-all voice1
 match access-group 101
!
!
policy-map basic
 class voice1
    bandwidth percent 20
 class class-default
    fair-queue 64
    queue-limit 20 packets
!
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.123.252 255.255.255.0
 duplex auto
 speed auto
!
interface Serial0/0
 description connection to
 ip address XX.XX.XX.XX 255.255.255.252
 no ip redirects
 no ip unreachables
 service-policy output basic
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial1/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 isdn bchan-number-order ascending 
 no cdp enable
!
no ip http server
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.123.1
!
!
logging trap debugging
logging facility local0
access-list 101 permit ip any any precedence critical
access-list 102 permit ip any any precedence flash-override
!
!
control-plane
!
!
!
voice-port 1/0:23
!
voice-port 1/1:0
!
voice-port 2/0
!
voice-port 2/1
!
voice-port 2/2
!         
voice-port 2/3
!
voice-port 2/4
!
voice-port 2/5
!
voice-port 2/6
!
voice-port 2/7
!
voice-port 2/8
!
voice-port 2/9
!
voice-port 2/10
!
voice-port 2/11
!
voice-port 2/12
!
voice-port 2/13
!
voice-port 2/14
!
voice-port 2/15
!
voice-port 2/16
!
voice-port 2/17
!
voice-port 2/18
!
voice-port 2/19
!
voice-port 2/20
!
voice-port 2/21
!
voice-port 2/22
!
voice-port 2/23
!
mgcp fax t38 ecm
mgcp behavior g729-variants static-pt
!
!         
!
dial-peer voice 10 voip
 description **International Outgoing Call to SIP Trunk**
 translation-profile outgoing PSTN_Outgoing
 destination-pattern .T
 voice-class codec 711
 session protocol sipv2
 session target ipv4:XX.XX.XX.XX
 dtmf-relay rtp-nte
 fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw
 no vad
!
dial-peer voice 1 pots
 destination-pattern 817#######
 direct-inward-dial
 port 1/0:23
!
dial-peer voice 2 pots
 destination-pattern 817#######
 direct-inward-dial
 port 1/1:0
!
!         
!
line con 0
line aux 0
line vty 0 4
 password ****
 login
!
end