Professional Documents
Culture Documents
Router Voice
Router Voice
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
!
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
!
!
!
!
!
!
!
!
!
!
!
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
!
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