Sie sind auf Seite 1von 5

PSTN-Configuration interface Serial2/0:15 description *** To SiteC *** no ip address encapsulation hdlc isdn switch-type primary-net5 isdn protocol-emulate

network isdn incoming-voice voice isdn sending-complete no cdp enable ! router ospf 1 log-adjacency-changes network 10.150.0.0 0.0.0.255 area 0 network 142.0.0.0 0.0.0.255 area 0 network 157.26.1.0 0.0.0.255 area 0 ! ip forward-protocol nd ! ip http server ! ! ! tftp-server flash:SCCP42.8-4-2S.loads tftp-server flash:term62.default.loads tftp-server flash:jar42sccp.8-4-1-23.sbn tftp-server flash:cnu42.8-4-1-23.sbn tftp-server flash:apps42.8-4-1-23.sbn tftp-server flash:dsp42.8-4-1-23.sbn tftp-server flash:cvm42sccp.8-4-1-23.sbn ! control-plane ! ! ! voice-port 1/0:23 translation-profile incoming block-call-into-HQ translation-profile outgoing display-proper-ani-into-HQ description *** TO HQ *** ! voice-port 1/1:23 translation-profile incoming block-call-into-SiteB translation-profile outgoing display-proper-ani-into-SiteB description *** TO SiteB *** ! voice-port 2/0:15 translation-profile incoming block-call-into-SiteC translation-profile outgoing display-proper-ani-into-SiteC description *** TO SiteC *** ! ! dial-peer voice 2 voip

voice-class codec 1 incoming called-number . dtmf-relay h245-alphanumeric no vad ! dial-peer voice 1 pots incoming called-number . direct-inward-dial ! dial-peer voice 44 voip incoming called-number . dtmf-relay h245-alphanumeric no vad ! dial-peer voice 47 voip session protocol sipv2 session transport udp incoming called-number 01132. ! dial-peer voice 1144 voip session protocol sipv2 session transport udp incoming called-number 01144. codec g711ulaw no vad ! dial-peer voice 100 pots description BR1 3090-9XXX destination-pattern ^30909...$ port 1/1:23 forward-digits 8 ! dial-peer voice 11 pots description BR1 080-3090-9XXX destination-pattern ^08030909...$ port 1/1:23 forward-digits 8 ! dial-peer voice 300 pots description HQ 2434-2XXX destination-pattern ^24342...$ port 1/0:23 forward-digits 8 ! dial-peer voice 10 pots description HQ 022-2434-2XXX destination-pattern ^02224342...$ port 1/0:23 forward-digits all ! dial-peer voice 200 pots

description BR2 14084044XXX destination-pattern ^14084044...$ port 2/0:15 forward-digits 7 ! dial-peer voice 502 pots description BR2 404-4XXX destination-pattern ^4044...$ port 2/0:15 forward-digits all ! ! gateway timer receive-rtp 1200 ! sip-ua ! ! gatekeeper zone local BBGK cisco.com 157.26.1.101 zone remote GK cisco.com 142.1.64.254 1719 zone prefix BBGK 01132* zone prefix BBGK 01144* zone prefix BBGK 32* zone prefix BBGK 44* lrq forward-queries no shutdown ! ! __________ telephony-service max-ephones 25 max-dn 50 ip source-address 10.150.0.1 port 2000 caller-id block code *67 system message ACIT-PSTN-PHONE max-conferences 12 gain -6 call-forward pattern .T moh music-on-hold.au transfer-system full-consult dss transfer-pattern .T ! ! __________ ephone-dn 1 dual-line number 100 secondary 911 label Emergency 100/911 description PSTN Phone name Emergency 100/911 ! ! ephone-dn 2 dual-line

number 02226111111 secondary 26111111 label Mumbai + 91-22-2611-1111 name HQ-MUMBAI ! ! ephone-dn 3 dual-line number 08031452222 secondary 31452222 label Banglore + 91-80-3145-2222 name BR1-Banglore ! ! ephone-dn 4 dual-line number 4085353333 secondary 5353333 label US +1-408-535-3333 name BR2-US ! ! ephone-dn 5 dual-line number 011442030276666 secondary 1442030276666 label UK +44-20-30276666 name PSTN-UK-PHONE ! ! ephone-dn 8 dual-line number 011321234567890 secondary 321234567890 label Belgium +32-12-34567890 name BELGIUM-PSTN ! ! ephone 1 ! ! ! ephone 2 mac-address 04C5.A44D.9212 type 7962 button 1:1 2:2 3:3 4:4 button 5:8 6:5 ! ! ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 exec-timeout 0 0 privilege level 15 logging synchronous no login transport preferred none transport input telnet line vty 5 15 exec-timeout 0 0

privilege level 15 logging synchronous no login transport preferred none transport input telnet ! ntp master 1 ! end ______

Das könnte Ihnen auch gefallen