Sei sulla pagina 1di 14

sh run

Building configuration...
Current configuration : 14793 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Voice_Gateway
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$F35K$sR.h7Bk8eJ1i30bY..90f0
enable password 7 105D0C1C
!
no network-clock-participate slot 1
network-clock-participate wic 0
network-clock-select 1 E1 0/0/0
aaa new-model
!
!
aaa authentication login default group tacacs+ local
aaa
--More--
authentication login consoleport none
aaa authorization exec default group tacacs+ local
aaa accounting exec default start-stop group tacacs+
aaa session-id common
ip subnet-zero
!
!
ip cef
!
!
no ftp-server write-enable
isdn switch-type primary-net5
!
voice-card 0
no dspfarm
!
voice-card 1
no dspfarm
!
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
--More--
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
h323
no h225 timeout keepalive
!
!
!
!
!
!
!
!
voice class custom-cptone PSTN
dualtone reorder
frequency 450
cadence 250 250
!
!
!
!
voice translation-rule 1
rule 1 /600/ /500/
--More--
rule 2 /601/ /700/
rule 4 /603/ /561/
rule 5 /604/ /403/
rule 7 /606/ /308/
rule 8 /607/ /305/
rule 9 /608/ /104/
rule 10 /609/ /105/
!
voice translation-rule 2
rule 2 /611/ /888/
rule 3 /612/ /601/
rule 4 /613/ /310/
rule 5 /614/ /101/
rule 6 /615/ /113/
rule 8 /617/ /102/
rule 9 /618/ /201/
rule 10 /619/ /220/
rule 11 /620/ /604/
!
voice translation-rule 3
rule 3 /622/ /888/
rule 4 /623/ /801/
rule 5 /624/ /802/
--More--
!
voice translation-rule 4
rule 3 /632/ /498/
rule 4 /633/ /888/
!
voice translation-rule 5
rule 1 /640/ /315/
rule 9 /648/ /501/
!
voice translation-rule 6
rule 2 /651/ /505/
rule 6 /655/ /701/
!
voice translation-rule 7
rule 2 /661/ /408/
rule 3 /662/ /465/
rule 4 /663/ /577/
rule 5 /664/ /544/
rule 6 /665/ /519/
rule 7 /667/ /887/
rule 8 /666/ /887/
rule 9 /668/ /533/
!--More--
voice translation-rule 8
rule 3 /672/ /566/
rule 4 /673/ /562/
rule 6 /675/ /520/
rule 7 /676/ /502/
rule 8 /677/ /887/
rule 10 /679/ /409/
!
voice translation-rule 9
rule 1 /680/ /555/
rule 2 /681/ /133/
rule 5 /684/ /599/
rule 6 /685/ /479/
rule 7 /686/ /488/
rule 8 /687/ /550/
rule 9 /688/ /503/
rule 10 /689/ /588/
!
voice translation-rule 10
rule 1 /690/ /527/
rule 2 /691/ /518/
rule 3 /692/ /517/
rule 6 /695/ /410/
--More--
rule 7 /696/ /530/
rule 8 /697/ /522/
rule 9 /698/ /514/
rule 10 /699/ /444/
rule 14 /693/ /301/
rule 15 /694/ /309/
!
voice translation-rule 22
rule 1 /9\(2.......\)/ /02\1/
rule 2 /9\(3.......\)/ /02\1/
rule 3 /9\(4.......\)/ /02\1/
!
!
voice translation-profile DID1
translate called 1
!
voice translation-profile DID10
translate called 10
!
voice translation-profile DID2
translate called 2
!
voice
--More--
translation-profile DID3
translate called 3
!
voice translation-profile DID4
translate called 4
!
voice translation-profile DID5
translate called 5
!
voice translation-profile DID6
translate called 6
!
voice translation-profile DID7
translate called 7
!
voice translation-profile DID8
translate called 8
!
voice translation-profile DID9
translate called 9
!
voice translation-profile test
translate called 22
!--More--
!
!
!
username adam password 7 03105E1812
!
!
controller E1 0/0/0
framing NO-CRC4
pri-group timeslots 1-31
description PSTN Trunk
!
!
!
interface FastEthernet0/0
ip address 172.30.2.253 255.255.255.0
duplex full
speed auto
no cdp enable
no mop enabled
h323-gateway voip bind srcaddr 172.30.2.253
!
interface FastEthernet0/1
no ip address
--More--
shutdown
duplex auto
speed auto
no cdp enable
!
interface Serial0/0/0:15
no ip address
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.30.2.254
!
!
no ip http server
no ip http secure-server
!
dialer-list 1 protocol ip permit
no cdp log mismatch duplex
cdp timer 5
no cdp run
!--More--
!
!
control-plane
!
!
!
voice-port 0/0/0:15
!
voice-port 0/1/0
supervisory disconnect dualtone mid-call
supervisory custom-cptone PSTN
timeouts call-disconnect 3
timeouts wait-release 3
connection plar opx 412
description Sales412
caller-id enable
!
voice-port 0/1/1
supervisory disconnect dualtone mid-call
supervisory custom-cptone PSTN
timeouts call-disconnect 3
timeouts wait-release 3
connection plar opx 411
--More--
description Sales411
caller-id enable
!
voice-port 0/1/2
supervisory disconnect dualtone mid-call
supervisory custom-cptone PSTN
timeouts call-disconnect 3
timeouts wait-release 3
connection plar opx 406
description Sales406
caller-id enable
!
voice-port 0/1/3
supervisory disconnect dualtone mid-call
supervisory custom-cptone PSTN
timeouts call-disconnect 3
timeouts wait-release 3
connection plar opx 591
description OrderTaker591
caller-id alerting ring 2
!
voice-port 0/2/0
supervisory disconnect dualtone
--More-- mid-call
supervisory custom-cptone PSTN
timeouts call-disconnect 3
timeouts wait-release 3
connection plar opx 592
description OrderTaker592
caller-id enable
!
voice-port 0/2/1
supervisory disconnect dualtone mid-call
supervisory custom-cptone PSTN
timeouts call-disconnect 3
timeouts wait-release 3
connection plar opx 593
description OrderTaker593
caller-id enable
!
voice-port 0/2/2
supervisory disconnect dualtone mid-call
supervisory custom-cptone PSTN
no battery-reversal
timeouts call-disconnect 3
timeouts wait-release 3
connection plar opx 500
--More--
caller-id enable
!
voice-port 0/2/3
supervisory disconnect dualtone mid-call
supervisory custom-cptone PSTN
timeouts call-disconnect 3
timeouts wait-release 3
caller-id enable
!
voice-port 0/3/0
supervisory disconnect dualtone mid-call
supervisory custom-cptone PSTN
timeouts call-disconnect 3
timeouts wait-release 3
caller-id enable
!
voice-port 0/3/1
supervisory disconnect dualtone mid-call
supervisory custom-cptone PSTN
timeouts call-disconnect 3
timeouts wait-release 3
caller-id enable
!--More--
voice-port 0/3/2
supervisory disconnect dualtone mid-call
supervisory custom-cptone PSTN
timeouts call-disconnect 3
timeouts wait-release 3
caller-id enable
!
voice-port 0/3/3
supervisory disconnect dualtone mid-call
supervisory custom-cptone PSTN
timeouts call-disconnect 3
timeouts wait-release 3
caller-id enable
!
voice-port 1/0/0
!
voice-port 1/0/1
!
voice-port 1/0/2
!
voice-port 1/0/3
!
voice-port
--More-- 1/1/0
!
voice-port 1/1/1
!
voice-port 1/1/2
!
voice-port 1/1/3
!
no mgcp timer receive-rtcp
!
!
!
dial-peer voice 100 pots
destination-pattern 90[4-689][02-9].......
direct-inward-dial
port 0/0/0:15
forward-digits 10
!
dial-peer voice 101 pots
destination-pattern 9013.......
direct-inward-dial
port 0/0/0:15
forward-digits 10
!--More--
dial-peer voice 102 pots
destination-pattern 9[234].......
direct-inward-dial
port 0/0/0:15
forward-digits 8
!
dial-peer voice 103 pots
tone ringback alert-no-PI
preference 4
destination-pattern 901[01247689].......
direct-inward-dial
port 0/0/0:15
forward-digits 10
!
dial-peer voice 104 pots
destination-pattern 91T
direct-inward-dial
port 0/0/0:15
prefix 1
!
dial-peer voice 105 pots
destination-pattern 903.......
direct-inward-dial
--More--
port 0/0/0:15
forward-digits 9
!
dial-peer voice 106 pots
destination-pattern 9015......
direct-inward-dial
port 0/0/0:15
forward-digits 9
!
dial-peer voice 1111 voip
translation-profile outgoing DID1
destination-pattern 60.
session target ipv4:172.30.2.250
codec g711ulaw
no vad
!
dial-peer voice 5000 pots
destination-pattern 912T
port 0/1/2
forward-digits 10
!
dial-peer voice 107 pots
destination-pattern 908000000052
--More--
port 0/0/0:15
forward-digits 11
!
dial-peer voice 2000 pots
preference 5
shutdown
destination-pattern 901[01247689].......
port 0/1/0
forward-digits 10
!
dial-peer voice 2001 pots
preference 5
shutdown
destination-pattern 900T
port 0/1/0
prefix 00
!
dial-peer voice 2010 pots
preference 5
shutdown
destination-pattern 901[01247689].......
port 0/1/1
forward-digits 10
--More--
!
dial-peer voice 2011 pots
preference 5
shutdown
destination-pattern 900T
port 0/1/1
prefix 00
!
dial-peer voice 2020 pots
preference 5
shutdown
destination-pattern 901[01247689].......
port 0/1/2
forward-digits 10
!
dial-peer voice 2021 pots
preference 5
shutdown
destination-pattern 900T
port 0/1/2
prefix 00
!
dial-peer
--More-- voice 2030 pots
preference 5
shutdown
destination-pattern 901[01247689].......
port 0/1/3
forward-digits 10
!
dial-peer voice 2031 pots
preference 5
shutdown
destination-pattern 900T
port 0/1/3
prefix 00
!
dial-peer voice 2040 pots
preference 5
shutdown
destination-pattern 901[01247689].......
port 0/2/0
forward-digits 10
!
dial-peer voice 2041 pots
preference 5
shutdown
--More--
destination-pattern 900T
port 0/2/0
prefix 00
!
dial-peer voice 2050 pots
preference 5
shutdown
destination-pattern 901[01247689].......
port 0/2/1
forward-digits 10
!
dial-peer voice 2051 pots
preference 5
shutdown
destination-pattern 900T
port 0/2/1
prefix 00
!
dial-peer voice 2060 pots
shutdown
destination-pattern 901[01247689].......
port 0/2/2
forward-digits 10
--More--
!
dial-peer voice 2061 pots
shutdown
destination-pattern 900T
port 0/2/2
prefix 00
!
dial-peer voice 2070 pots
preference 4
destination-pattern 901[01247689].......
port 0/2/3
forward-digits 10
!
dial-peer voice 2071 pots
preference 4
destination-pattern 900T
port 0/2/3
prefix 00
!
dial-peer voice 2080 pots
preference 4
destination-pattern 901[01247689].......
port 0/3/0
--More--
forward-digits 10
!
dial-peer voice 2081 pots
preference 4
destination-pattern 900T
port 0/3/0
prefix 00
!
dial-peer voice 2090 pots
preference 4
destination-pattern 901[01247689].......
port 0/3/1
forward-digits 10
!
dial-peer voice 2091 pots
preference 4
destination-pattern 900T
port 0/3/1
prefix 00
!
dial-peer voice 2100 pots
preference 4
destination-pattern 901[01247689].......
--More--
port 0/3/2
forward-digits 10
!
dial-peer voice 2101 pots
preference 4
destination-pattern 900T
port 0/3/2
prefix 00
!
dial-peer voice 2110 pots
preference 4
destination-pattern 901[01247689].......
port 0/3/3
forward-digits 10
!
dial-peer voice 2111 pots
preference 4
destination-pattern 900T
port 0/3/3
prefix 00
!
dial-peer voice 1112 voip
translation-profile outgoing DID2
--More--
destination-pattern 61.
session target ipv4:172.30.2.250
codec g711ulaw
no vad
!
dial-peer voice 1113 voip
translation-profile outgoing DID3
destination-pattern 62.
session target ipv4:172.30.2.250
codec g711ulaw
no vad
!
dial-peer voice 1116 pots
translation-profile incoming DID2
destination-pattern 6[567].
direct-inward-dial
!
dial-peer voice 1115 pots
translation-profile incoming DID3
destination-pattern 6[89].
direct-inward-dial
!
dial-peer
--More-- voice 1114 voip
destination-pattern [1-578]..
session target ipv4:172.30.2.250
codec g711ulaw
no vad
!
dial-peer voice 2002 pots
translation-profile incoming test
translation-profile outgoing test
preference 3
shutdown
destination-pattern 9[234].......
direct-inward-dial
port 0/1/0
!
dial-peer voice 2012 pots
translation-profile incoming test
translation-profile outgoing test
preference 3
shutdown
destination-pattern 9[234].......
direct-inward-dial
port 0/1/1
!--More--
dial-peer voice 2022 pots
translation-profile incoming test
translation-profile outgoing test
preference 3
shutdown
destination-pattern 9[234].......
direct-inward-dial
port 0/1/2
!
dial-peer voice 2032 pots
translation-profile incoming test
translation-profile outgoing test
preference 3
shutdown
destination-pattern 9[234].......
direct-inward-dial
port 0/1/3
!
dial-peer voice 2042 pots
translation-profile incoming test
translation-profile outgoing test
preference 3
shutdown
--More--
destination-pattern 9[234].......
direct-inward-dial
port 0/2/0
!
dial-peer voice 2052 pots
translation-profile incoming test
translation-profile outgoing test
preference 3
shutdown
destination-pattern 9[234].......
direct-inward-dial
port 0/2/1
!
dial-peer voice 2062 pots
translation-profile incoming test
translation-profile outgoing test
preference 3
shutdown
destination-pattern 9[234].......
direct-inward-dial
port 0/2/2
!
dial-peer
--More-- voice 2072 pots
translation-profile incoming test
translation-profile outgoing test
preference 4
destination-pattern 9[234].......
direct-inward-dial
port 0/2/3
!
dial-peer voice 2082 pots
translation-profile incoming test
translation-profile outgoing test
preference 4
destination-pattern 9[234].......
direct-inward-dial
port 0/3/0
!
dial-peer voice 2092 pots
translation-profile incoming test
translation-profile outgoing test
preference 4
destination-pattern 9[234].......
direct-inward-dial
port 0/3/1
!--More--
dial-peer voice 2102 pots
translation-profile incoming test
translation-profile outgoing test
preference 4
destination-pattern 9[234].......
direct-inward-dial
port 0/3/2
!
dial-peer voice 2112 pots
translation-profile incoming test
translation-profile outgoing test
preference 4
destination-pattern 9[234].......
direct-inward-dial
port 0/3/3
!
dial-peer voice 1120 voip
translation-profile outgoing DID4
destination-pattern 63.
session target ipv4:172.30.2.250
codec g711ulaw
no vad
!--More--
dial-peer voice 1121 voip
translation-profile outgoing DID5
destination-pattern 64.
session target ipv4:172.30.2.250
codec g711ulaw
no vad
!
dial-peer voice 1122 voip
translation-profile outgoing DID6
destination-pattern 65.
session target ipv4:172.30.2.250
codec g711ulaw
no vad
!
dial-peer voice 1123 voip
translation-profile outgoing DID7
destination-pattern 66.
session target ipv4:172.30.2.250
codec g711ulaw
no vad
!
dial-peer voice 1124 voip
translation-profile outgoing DID8
--More--
destination-pattern 67.
session target ipv4:172.30.2.250
codec g711ulaw
no vad
!
dial-peer voice 1125 voip
translation-profile outgoing DID9
destination-pattern 68.
session target ipv4:172.30.2.250
codec g711ulaw
no vad
!
dial-peer voice 1126 voip
translation-profile outgoing DID10
destination-pattern 69.
session target ipv4:172.30.2.250
codec g711ulaw
no vad
!
dial-peer voice 108 pots
destination-pattern 900T
direct-inward-dial
port 0/0/0:15
--More--
prefix 00
!
dial-peer voice 109 pots
destination-pattern 9015........
direct-inward-dial
port 0/0/0:15
forward-digits 11
!
dial-peer voice 2113 pots
preference 4
destination-pattern 901[012475689]........
port 0/3/3
forward-digits 11
!
gateway
timer receive-rtp 1200
!
!
!
call-manager-fallback
max-conferences 8
transfer-system full-consult
ip source-address 172.30.2.253 port 2000
--More--
max-ephones 42
max-dn 144
access-code fxo 9T
access-code pri 9T direct-inward-dial
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
password 7 03175E0E
!
scheduler allocate 20000 1000
!
end
Voice_Gateway#

Potrebbero piacerti anche