You are on page 1of 8

VCR-AGI-R-Voice#sh run

Building configuration...
Current configuration : 8003 bytes
!
! Last configuration change at 20:18:08 GMT Thu Dec 3 2015
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
no platform punt-keepalive disable-kernel-core
!
hostname VCR-AGI-R-Voice
!
boot-start-marker
boot-end-marker
!
!
vrf definition Mgmt-intf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
card type e1 0 1
enable password 7 120F0C1911040105242C2D293D32
!
no aaa new-model
clock timezone GMT 7 0
!
!
!
!
!
!
!
!
!
no
ip
ip
ip

ip domain lookup
domain name vincomangiang.com
name-server 8.8.8.8
name-server 8.8.4.4

!
!
!
!
!
!
!
!
!
!
subscriber templating
!

multilink bundle-name authenticated


vpdn enable
!
vpdn-group 1
!
!
!
!
!
isdn switch-type primary-net5
!
!
!
!
!
voice service voip
mode border-element license capacity 500
allow-connections sip to sip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
registrar server
midcall-signaling block
early-offer forced
!
!
!
!
!
voice register global
mode esrst
max-pool 110
timezone 41
time-format 24
date-format D/M/Y
!
voice register pool 1
id network 10.123.106.0 mask 255.255.255.0
no digit collect kpml
dtmf-relay rtp-nte
codec g711ulaw
!
!
voice translation-rule 10
rule 10 /67../ /0766258866/
!
voice translation-rule 20
!
voice translation-rule 30
rule 10 /^0/ /8880/
!
voice translation-rule 40
rule 10 /^888/ //
!
voice translation-rule 50
rule 10 /^[1-9].*/ /00&/
!
voice translation-rule 60
rule 10 /^0/ //
!
!

voice translation-profile IN
translate calling 50
translate called 20
!
voice translation-profile OUT
translate calling 10
!
voice translation-profile PREFIX
translate called 30
!
voice translation-profile SRST
translate calling 10
translate called 60
!
voice translation-profile STRIP
translate called 40
!
!
!
media profile recorder 100
media-recording 9999
!
media class 100
recorder profile 100
!
!
application
service aa flash:Voiceangiang.au
!
service VCAG flash:welcome.tcl
!
!
!
voice-card 0/1
no watchdog
!
license udi pid ISR4331/K9 sn FDO19420ECY
spanning-tree extend system-id
!
username admin password 7 044D02080C2E414F071E0C161C0C
!
redundancy
mode none
!
!
!
!
controller E1 0/1/0
framing no-crc4
pri-group timeslots 1-31
!
!
!
!
!
!
!
!
!
!

crypto isakmp policy 9


hash md5
authentication pre-share
group 2
crypto isakmp key DNMVPNKEY address 0.0.0.0
!
crypto ipsec security-association lifetime seconds 86400
!
crypto ipsec transform-set DMVPNSET esp-3des esp-sha-hmac
mode tunnel
!
crypto ipsec profile DMVPNPROF
set transform-set DMVPNSET
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 9.9.9.9 255.255.255.255
!
interface Tunnel2
description ==Connect Times City Backup==
bandwidth 30000
no ip address
no ip redirects
ip nhrp authentication DNMVPN
ip nhrp map multicast dynamic
ip nhrp map 172.20.1.65 183.91.4.52
ip nhrp map multicast 183.191.4.52
ip nhrp network-id 99
ip nhrp holdtime 300
ip nhrp nhs 172.20.1.65
ip ospf network point-to-multipoint
ip ospf mtu-ignore
keepalive 10 3
tunnel source Dialer1
tunnel mode gre multipoint
tunnel key 100000
tunnel protection ipsec profile DMVPNPROF
!
interface GigabitEthernet0/0/0
description ===Connect to LAN===
ip address 10.123.100.2 255.255.255.0
ip nat inside
standby version 2
standby 1 ip 10.123.100.200
standby 1 preempt
negotiation auto
!
interface GigabitEthernet0/0/1
description "Viettel ISP"
no ip address
negotiation auto
pppoe enable group global
pppoe-client dial-pool-number 1

!
interface GigabitEthernet0/0/2
no ip address
shutdown
negotiation auto
!
interface Service-Engine0/1/0
!
interface Serial0/1/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
!
interface GigabitEthernet0
vrf forwarding Mgmt-intf
no ip address
shutdown
negotiation auto
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
dialer-group 1
ppp authentication chap callin
ppp chap hostname a076_gftth_retailctcpv
ppp chap password 7 000B2125554F58
ppp pap sent-username a076_gftth_retailctcpv password 7 12163734431F5F
no cdp enable
!
router ospf 20
router-id 10.123.100.2
redistribute static subnets
network 10.123.100.0 0.0.0.255 area 0
network 172.20.1.0 0.0.0.63 area 0
network 172.20.1.64 0.0.0.63 area 0
!
ip nat inside source list 103 interface Dialer1 overload
ip forward-protocol nd
no ip http server
no ip http secure-server
ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 10.123.96.0 255.255.240.0 10.123.100.3
!
!
logging trap debugging
logging host 10.120.50.250
logging host 10.120.50.252
access-list 103 permit ip 10.123.96.0 0.0.15.255 any
!
!
!
control-plane
!
!

voice-port 0/1/0:15
!
!
!
!
!
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 100 pots
translation-profile outgoing OUT
destination-pattern 0[1-9]T
port 0/1/0:15
forward-digits all
!
dial-peer voice 6000 voip
description Connect to CUCM
destination-pattern 6...
session protocol sipv2
session target ipv4:10.120.92.8
session transport tcp
voice-class sip bind control source-interface GigabitEthernet0/0/0
voice-class sip bind media source-interface GigabitEthernet0/0/0
media-class 100
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 9999 voip
description Recording
destination-pattern 9999
signaling forward none
session protocol sipv2
session target ipv4:10.123.102.20
session transport tcp
voice-class sip options-keepalive
voice-class sip bind control source-interface GigabitEthernet0/0/0
voice-class sip bind media source-interface GigabitEthernet0/0/0
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 101 pots
translation-profile incoming IN
service vcag
destination-pattern 1234
incoming called-number 766258866
port 0/1/0:15
!
dial-peer voice 50 voip
description Incoming dial-peer for the outgoing PSTN calls
translation-profile incoming PREFIX
session protocol sipv2
session transport tcp

incoming called-number 0[1-9]T


voice-class sip bind control source-interface GigabitEthernet0/0/0
voice-class sip bind media source-interface GigabitEthernet0/0/0
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 60 voip
description To loop outgoing PSTN calls
destination-pattern 8880[1-9]T
session protocol sipv2
session target ipv4:9.9.9.9
session transport tcp
media-class 100
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 70 voip
description Incoming dial-peer for the looped call
translation-profile incoming STRIP
session protocol sipv2
session transport tcp
incoming called-number 8880[1-9]T
voice-class sip bind control source-interface GigabitEthernet0/0/0
voice-class sip bind media source-interface GigabitEthernet0/0/0
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 10 voip
description To loop incoming PSTN calls
destination-pattern 88867..
session protocol sipv2
session target ipv4:9.9.9.9
session transport tcp
media-class 100
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 20 voip
description Incoming dial-peer for the looped call
translation-profile incoming STRIP
session protocol sipv2
session transport tcp
incoming called-number 88867..
voice-class sip bind control source-interface GigabitEthernet0/0/0
voice-class sip bind media source-interface GigabitEthernet0/0/0
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 200 pots
translation-profile outgoing SRST
destination-pattern 00[1-9]T
port 0/1/0:15
forward-digits all
!
!

!
line con 0
password 7 150402020725262526343C231D00
logging synchronous
login
stopbits 1
line aux 0
stopbits 1
line vty 0 4
privilege level 15
password 7 120F0C1911040105242C2D293D32
login
transport input telnet ssh
!
!
end

You might also like