Sie sind auf Seite 1von 17

Voice_Gateway#sh run Building configuration... Current configuration : 17888 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 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 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/ 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 1 /610/ /816/ 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 1 /621/ /809/ rule 3 /622/ /888/ rule 4 /623/ /801/ rule 5 /624/ /802/ rule 6 /625/ /803/ rule 7 /626/ /804/ rule 8 /627/ /805/ rule 9 /628/ /806/ rule 10 /629/ /807/ rule 11 /630/ /808/ ! voice translation-rule 4 rule 2 /631/ /812/ rule 3 /632/ /498/ rule 4 /633/ /888/ rule 6 /635/ /811/ ! 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 rule rule rule rule rule rule

3 4 5 6 7 8 9

/662/ /663/ /664/ /665/ /667/ /666/ /668/

/465/ /577/ /544/ /519/ /887/ /887/ /579/

! voice translation-rule 8 rule 2 /671/ /952/ 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/ rule 7 /696/ /530/ rule 8 /697/ /522/ rule 9 /698/ /514/ rule 10 /699/ /444/ rule 14 /693/ /301/ rule 15 /694/ /300/ ! 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 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 ! ! ! ! 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 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 ! ! ! control-plane ! ! ! voice-port 0/0/0:15 ! voice-port 0/1/0 supervisory disconnect dualtone 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 supervisory custom-cptone PSTN timeouts call-disconnect 3 timeouts wait-release 3 connection plar opx 411 description Sales411 caller-id enable ! voice-port 0/1/2 supervisory disconnect dualtone 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 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 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 supervisory custom-cptone PSTN timeouts call-disconnect 3

mid-call

mid-call

mid-call

mid-call

mid-call

mid-call

timeouts wait-release 3 connection plar opx 593 description OrderTaker593 caller-id enable ! voice-port 0/2/2 supervisory disconnect dualtone supervisory custom-cptone PSTN no battery-reversal timeouts call-disconnect 3 timeouts wait-release 3 connection plar opx 500 caller-id enable ! voice-port 0/2/3 supervisory disconnect dualtone supervisory custom-cptone PSTN timeouts call-disconnect 3 timeouts wait-release 3 caller-id enable ! voice-port 0/3/0 supervisory disconnect dualtone supervisory custom-cptone PSTN timeouts call-disconnect 3 timeouts wait-release 3 caller-id enable ! voice-port 0/3/1 supervisory disconnect dualtone supervisory custom-cptone PSTN timeouts call-disconnect 3 timeouts wait-release 3 caller-id enable ! voice-port 0/3/2 supervisory disconnect dualtone supervisory custom-cptone PSTN timeouts call-disconnect 3 timeouts wait-release 3 caller-id enable ! voice-port 0/3/3 supervisory disconnect dualtone 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 1/1/0 ! voice-port 1/1/1 mid-call

mid-call

mid-call

mid-call

mid-call

mid-call

! 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 ! 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 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 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 ! 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 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 preference 5 shutdown destination-pattern port 0/2/0 forward-digits 10 ! dial-peer voice 2041 preference 5 shutdown destination-pattern port 0/2/0 prefix 00 ! dial-peer voice 2050 preference 5 shutdown destination-pattern port 0/2/1 forward-digits 10 ! dial-peer voice 2051 preference 5 shutdown destination-pattern port 0/2/1 prefix 00 ! dial-peer voice 2060 shutdown destination-pattern port 0/2/2 forward-digits 10 ! dial-peer voice 2061 shutdown destination-pattern port 0/2/2 prefix 00 ! dial-peer voice 2070 preference 4 destination-pattern port 0/2/3 forward-digits 10 ! dial-peer voice 2071 preference 4 destination-pattern port 0/2/3 prefix 00 ! dial-peer voice 2080 preference 4 pots 901[01247689].......

pots 900T

pots 901[01247689].......

pots 900T

pots 901[01247689].......

pots 900T

pots 901[01247689].......

pots 900T

pots

destination-pattern 901[01247689]....... port 0/3/0 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]....... 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 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 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 ! 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 destination-pattern 9[234]....... direct-inward-dial port 0/2/0

! dial-peer voice 2052 translation-profile translation-profile preference 3 shutdown destination-pattern direct-inward-dial port 0/2/1 ! dial-peer voice 2062 translation-profile translation-profile preference 3 shutdown destination-pattern direct-inward-dial port 0/2/2 ! dial-peer voice 2072 translation-profile translation-profile preference 4 destination-pattern direct-inward-dial port 0/2/3 ! dial-peer voice 2082 translation-profile translation-profile preference 4 destination-pattern direct-inward-dial port 0/3/0 ! dial-peer voice 2092 translation-profile translation-profile preference 4 destination-pattern direct-inward-dial port 0/3/1 ! dial-peer voice 2102 translation-profile translation-profile preference 4 destination-pattern direct-inward-dial port 0/3/2 ! dial-peer voice 2112 translation-profile translation-profile preference 4 destination-pattern direct-inward-dial port 0/3/3 ! dial-peer voice 1120

pots incoming test outgoing test 9[234].......

pots incoming test outgoing test 9[234].......

pots incoming test outgoing test 9[234].......

pots incoming test outgoing test 9[234].......

pots incoming test outgoing test 9[234].......

pots incoming test outgoing test 9[234].......

pots incoming test outgoing test 9[234].......

voip

translation-profile outgoing DID4 destination-pattern 63. session target ipv4:172.30.2.250 codec g711ulaw no vad ! 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 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 prefix 00 ! dial-peer voice 3000 pots tone ringback alert-no-PI preference 4 destination-pattern 9015[0123]....... direct-inward-dial port 0/0/0:15

forward-digits 11 ! dial-peer voice 3001 preference 5 shutdown destination-pattern port 0/1/0 forward-digits 11 ! dial-peer voice 3002 preference 5 shutdown destination-pattern port 0/1/1 forward-digits 11 ! dial-peer voice 3003 preference 5 shutdown destination-pattern port 0/1/2 forward-digits 11 ! dial-peer voice 3004 preference 5 shutdown destination-pattern port 0/1/3 forward-digits 11 ! dial-peer voice 3005 preference 5 shutdown destination-pattern port 0/2/0 forward-digits 11 ! dial-peer voice 3006 preference 5 shutdown destination-pattern port 0/2/1 forward-digits 11 ! dial-peer voice 3008 shutdown destination-pattern port 0/2/2 forward-digits 11 ! dial-peer voice 3009 preference 4 destination-pattern port 0/2/3 forward-digits 11 ! dial-peer voice 3010 preference 4 destination-pattern port 0/3/0

pots 9015[0123].......

pots 9015[0123].......

pots 9015[0123].......

pots 9015[0123].......

pots 9015[0123].......

pots 9015[0123].......

pots 9015[0123].......

pots 9015[0123].......

pots 9015[0123].......

forward-digits 11 ! dial-peer voice 3011 pots preference 4 destination-pattern 9015[0123]....... port 0/3/1 forward-digits 11 ! dial-peer voice 3012 pots preference 4 destination-pattern 9015[0123]....... port 0/3/2 forward-digits 11 ! dial-peer voice 3013 pots preference 4 destination-pattern 9015[0123]....... port 0/3/3 forward-digits 11 ! dial-peer voice 3050 pots tone ringback alert-no-PI preference 4 destination-pattern 9015...... direct-inward-dial port 0/0/0:15 forward-digits 9 ! dial-peer voice 3060 pots preference 5 shutdown destination-pattern 9015...... port 0/1/0 forward-digits 9 ! dial-peer voice 3070 pots preference 5 shutdown destination-pattern 9015...... port 0/1/1 forward-digits 9 ! dial-peer voice 3080 pots preference 5 shutdown destination-pattern 9015...... port 0/1/2 forward-digits 9 ! dial-peer voice 3090 pots preference 5 shutdown destination-pattern 9015...... port 0/1/3 forward-digits 9 ! dial-peer voice 3100 pots preference 5 shutdown destination-pattern 9015......

port 0/2/0 forward-digits 9 ! dial-peer voice 3150 pots preference 5 shutdown destination-pattern 9015...... port 0/2/1 forward-digits 9 ! dial-peer voice 3200 pots shutdown destination-pattern 9015...... port 0/2/2 forward-digits 9 ! dial-peer voice 3250 pots preference 4 destination-pattern 9015...... port 0/2/3 forward-digits 9 ! dial-peer voice 3300 pots preference 4 destination-pattern 9015...... port 0/3/0 forward-digits 9 ! dial-peer voice 3350 pots preference 4 destination-pattern 9015...... port 0/3/1 forward-digits 9 ! dial-peer voice 3400 pots preference 4 destination-pattern 9015...... port 0/3/2 forward-digits 9 ! dial-peer voice 3450 pots preference 4 destination-pattern 9015...... port 0/3/3 forward-digits 9 ! dial-peer voice 3500 pots destination-pattern 908000000129 port 0/0/0:15 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

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

Das könnte Ihnen auch gefallen