Thursday, 30 August 2012

Multiple PRI's configuration on Voice gateway

Scenario

Let’s say we have 2 PRI lines in voice gateway and both PRI’s use different DID numbers for inbound & outbound calls. Like First PRI DID number is 44441xx & Second PRI DID number is 55552xx. In this scenario, we needs to achieve that respective DID outbound calls should go through the respective PRI lines using H.323 gateway and eventually the destination phone display the correct calling number (DID) all the time.

Solution

1.      If  both the PRI’s are from the same Telco (PSTN Provider) then you may need to request them to all DID sharing over the 2 PRI’s
2.      If this is not possible or both are different provider then its better to route the calls via specific PRI. Configurations as below


Note: I assume that both PRI’s are configured properly and show isdn status shows layer 2
MULTIPLE_FRAME_ESTABLISHED.  Otherwise follow the PRI step by step configuration blog J

Configuration

Configure the Translation Rules & Profile
voice translation−rule 1
rule 1 /^9/ /19/       < --- assuming the PTSN access code is 9, if you're using discard digits on CCM - change it to none
!
voice translation−rule 2
rule 1 /^9/ /29/
!
voice translation−profile PRI1
translate called 1
!
voice translation−profile PRI2
translate called 2
!

Configure the H.323 Gateway Inbound dial-peers

dial peer voice 100 voip
answer−address 1..           ß---- should match the DN (DID) configured on IP Phone
translation−profile incoming PRI1
!
dial peer voice 200 voip
answer−address 6..   ß---- should match the DN (DID)  configured on IP Phone
translation−profile incoming PRI2
!

Configure the  H.323 Gateway Outbound dial-peers

dial-peer voice 19 pots
 destination-pattern 19T
 port 1/0/0:15

dial-peer voice 29 pots
 destination-pattern 29T
 port 1/0/1 :15
 
Verification

You can confirm your configuration works properly using below commands

·         debug voip ccapi inout —Verifies that the correct dial-peers are matched, both inbound and outbound.
·         test voice translation-rule 1 94444122—Verifies that the translation-rules prefix the number appropriately when called.

    

VOICE_GW#test voice translation-rule 1 94444122
Matched with rule 1
Original number: 94444122       Translated number: 194444122
Original number type: none      Translated number type:none
Original number plan: none      Translated number plan: none

VOICE_GW#test voice translation-rule 2 95555224
Matched with rule 1
Original number: 95555224       Translated number: 295555224
Original number type: none      Translated number type: none
Original number plan: none      Translated number plan: none




















No comments:

Post a Comment