AS5300#show running-config 
Building configuration...

Current configuration : 4335 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname AS5300
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$TJe7$rTdScSApy2Mm6XnQR4lKs.
!
username admin secret 5 $1$mz/t$WUZntaeWKKmi.vFyqvtEZ/
!
!
resource-pool disable
!
no aaa new-model
ip subnet-zero
!
!         
!
trunk group  Iskra
 translation-profile incoming from_Iskra
 translation-profile outgoing to_Iskra
!
isdn switch-type primary-net5
!
voice call send-alert
voice rtp send-recv
!
voice service pots 
 fax protocol pass-through g711alaw
!
voice service voip 
 signaling forward unconditional
 fax protocol pass-through g711alaw
 sip
!
voice class codec 1
 codec preference 1 g711alaw
!
!
!         
!
!
!
!
!
voice translation-rule 10
 rule 1 /^3851/ /1/ type any national
 rule 2 /^385/ // type any national
 rule 3 /^/ // type any international
!
voice translation-rule 20
 rule 1 /^/ /#385/ type national international
 rule 2 /^/ /#/ type international international
!
voice translation-rule 21
 rule 1 /^#/ // type any international
!
!
voice translation-profile from_Iskra
 translate calling 20
 translate called 20
!
voice translation-profile to_Iskra
 translate calling 10
 translate called 10
!
voice translation-profile to_SIP
 translate calling 21
 translate called 21
!
!
!
!
!
controller E1 0
 framing NO-CRC4 
 clock source line primary
 pri-group timeslots 1-31
!
controller E1 1
 framing NO-CRC4 
 clock source line secondary 1
 pri-group timeslots 1-31
!
controller E1 2
 framing NO-CRC4 
 clock source line secondary 2
 pri-group timeslots 1-31
!
controller E1 3
 framing NO-CRC4 
 clock source line secondary 3
 pri-group timeslots 1-31
! 
!
!
!
interface Ethernet0
 no ip address
 shutdown
 no clns route-cache
!
interface Serial0
 no ip address
 clockrate 2015232
 no fair-queue
 no clns route-cache
!
interface Serial1
 no ip address
 shutdown
 clockrate 2015232
 no fair-queue
 no clns route-cache
!
interface Serial2
 no ip address
 shutdown
 clockrate 2015232
 no fair-queue
 no clns route-cache
!
interface Serial3
 no ip address
 shutdown
 clockrate 2015232
 no fair-queue
 no clns route-cache
!
interface Serial0:15
 no ip address
 encapsulation ppp
 trunk-group Iskra
 isdn switch-type primary-net5
 isdn incoming-voice modem 64
 isdn T310 60000
 isdn send-alerting
 no clns route-cache
!
interface Serial1:15
 no ip address
 encapsulation ppp
 trunk-group Iskra
 isdn switch-type primary-net5
 isdn incoming-voice modem 64
 isdn T310 60000
 isdn send-alerting
 no clns route-cache
!
interface Serial2:15
 no ip address
 encapsulation ppp
 trunk-group Iskra
 isdn switch-type primary-net5
 isdn incoming-voice modem 64
 isdn T310 60000
 isdn send-alerting
 no clns route-cache
!
interface Serial3:15
 no ip address
 encapsulation ppp
 trunk-group Iskra
 isdn switch-type primary-net5
 isdn incoming-voice modem 64
 isdn T310 60000
 isdn send-alerting
 no clns route-cache
!
interface FastEthernet0
 no ip address
 duplex auto
 speed auto
 no clns route-cache
!
interface FastEthernet0.500
 encapsulation dot1Q 500
 ip address 10.0.0.19 255.255.252.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.0.0.1
no ip http server
no ip http secure-server
!
!
!
!
!
!
voice-port 0:D
 echo-cancel coverage 32
 no comfort-noise
 cptone SI
 bearer-cap Speech
!
voice-port 1:D
 echo-cancel coverage 32
 no comfort-noise
 cptone SI
 bearer-cap Speech
!         
voice-port 2:D
 echo-cancel coverage 32
 no comfort-noise
 cptone SI
 bearer-cap Speech
!
voice-port 3:D
 echo-cancel coverage 32
 no comfort-noise
 cptone SI
 bearer-cap Speech
!
!
!
dial-peer voice 1 voip
 voice cut-through alert
 incoming called-number [1-9]T
 voice-class codec 1
 no vad
!
dial-peer voice 100 pots
 trunkgroup Iskra
 voice cut-through alert
 destination-pattern [1-9]T
 progress_ind alert enable 8
 supplementary-service pass-through
 no digit-strip
!
dial-peer voice 2 pots
 voice cut-through alert
 incoming called-number .T
 direct-inward-dial
!
dial-peer voice 200 voip
 voice cut-through alert
 translation-profile outgoing to_SIP
 destination-pattern #T
 voice-class codec 1
 session protocol sipv2
 session target sip-server
 no vad
!
gateway 
 timer receive-rtcp 4
!
sip-ua    
 disable-early-media 180
 sip-server ipv4:89.18.32.19:5080
!
!
!
line con 0
 login local
line aux 0
line vty 0 4
 login local
!
end

