1. Calls from HQ to BR2 should be made over GK trunk with PSTN as backup
2. Calls from HQ to BR2 area/city codes should be made over GK trunk with PSTN as backup
3. Calls from BR2 to HQ should use 4 digits dialing via GK trunk with PSTN as backup
4. Calls from BR2 to HQ area/city codes should be made over GK trunk with PSTN as backup
HQ number = 17752011001
BR2 number = 442321313001 (w/ 011 as international code)
- config BR2 as GW
ip address 10.10.32.3 255.255.255.255
ip ospf network point-to-point
h323-gateway voip interface
h323-gateway voip id ZONE-01 ipaddr 10.10.32.1 1719 ==== ip addr of HQ Loop0
h323-gateway voip h323-id BR2
h323-gateway voip tech-prefix 1#
h323-gateway voip bind srcaddr 10.10.32.3
gateway ==== don't forget to turn on gateway feature
- config HQ for GK
zone local ZONE-01 cisco.com 10.10.32.1 ==== define GK id
zone prefix ZONE-01 1* gw-priority 9 TRUNK-GK-HQ_1
zone prefix ZONE-01 1* gw-priority 0 BR2 ==== avoid sending calls with prefix 1 to BR2
zone prefix ZONE-01 44* gw-priority 9 BR2
zone prefix ZONE-01 44* gw-priority 0 TRUNK-GK-HQ_1 ==== avoid sending calls with prefix 44 to CUCM
zone prefix ZONE-01 1... gw-priority 10 TRUNK-GK-HQ_1 === this is for HQ internal phones
zone prefix ZONE-01 2... gw-priority 10 TRUNK-GK-HQ_1 === this is for BR1 internal phones
no shutdown
Configure following for those 4 tasks:
1. Task #1 - Calls from HQ to BR2 should be made over GK trunk with PSTN as backup
- In CUCM, add GK with HQ interface Loop0 IP address
- add h.225 (GK controlled) trunk
- device pool = HQ
- Inbound Calls , Significant digits = 4 (so that calls from BR2 to HQ will be stripped to 4 digits)
- Gatekeeper Name = HQ interface Loop0 IP address
- = gateway
- Technology Prefix = 1#
- Zone = ZONE-01
- add GK trunk into a RG
- add RG into RL , name = RL-GK-TO-BR2, first RG = RG-BR2 , Prefix Digits (Outgoing Calls) = 1#44232131 , secondary RG = RG-HQ with Prefix Digits (Outgoing Calls) = +01144232131 RG-HQ served as PSTN backup from HQ to BR2
- add Route Pattern, Route Pattern = 3XXX, Partition = PT-INTERNAL or PT-USA , Gateway/Route List = RL-GK-TO-BR2 .
voice translation-rule 200
rule 1 /1#44232131\(....\)/ /\1/
rule 2 /1#4423\(........\)/ /9\1/
rule 3 /1#0114423\(........\)/ /9\1/
voice translation-profile GK-INCOMING
translate called 200
dial-peer voice 2000 voip
translation-profile incoming GK-INCOMING
incoming called-number 1#.T
dtmf-relay h245-alphanumeric
no vad
codec g729r8
2. Task #2 - Calls from HQ to BR2 area/city codes should be made over GK trunk with PSTN as backup
- Add new RL , name = RL-TEHO-HQ-TO-BR2
- First RG = RG-BR2, Discard Digit = predot , Prefix Digits (Outgoing Calls) = 1# (remember that user will dial 9 011 4432 XXXXXXXX for BR2 city/area code)
- Second RG = RG-HQ , Discard Digit = predot trailing #
- Add new Route Pattern, pattern = 9.0114423XXXXXXXX# , Gateway/Route List = RL-TEHO-HQ-TO-BR2
- on CUCM , add PT , CSS , to handle incoming call from BR2 . PT = PT-GK-TRUNK , CSS = CSS-GK-TRUNK with PT-INTERNAL + PT-GK-TRUNK + PT-HQ-LOCAL + PT-HQ-LD _ PT-BR1-LOCAL + PT-BR1-LD
- Add Translation-Pattern 1#1775.XXXXXXX (pt = pt-gk-trunk , css=css-gk-trunk).
Discard PREDOT , prefix = 9 . Repeat for BR1 area code - Add Translation-Pattern 1#.XXXX (pt = pt-gk-trunk , css=css-internal) . Discard PREDOT. This is for HQ and BR1 internal phones
- Change TRUNK-GK-HQ with CSS = CSS-GK-TRUNK , Significant Digits = ALL
- configure BR2 dial-peer for abbrev. dialing to 1XXX & TEHO dialing to HQ area
rule 1 /9001775\(.*\)$/ /1775\1/
rule 2 /9001312\(.*\)$/ /1312\1/
voice translation-profile teho-to-hq-area
translate called 2
dial-peer voice 1004 voip
description ==== teho to HQ area code
translation-profile outgoing teho-to-hq-area
destination-pattern 9001775.T
session target ras
tech-prefix 1#
description ==== abbrev dialing to HQ
destination-pattern 1...$
session target ras
tech-prefix 1#
dtmf-relay h245-alphanumeric
no vad
! PSTN backup dial-peer
dial-peer voice 3001 pots
description ==== abbrev. dialing to HQ
prefer 2
destination-pattern 1...$
port 1/0:15
prefix 9001775201
No comments:
Post a Comment