[cisco-voip] Grouping PRI Channels
Mark Holloway
mh at markholloway.com
Mon Jan 21 10:16:29 EST 2008
Here is an example of my AS5400 gateway where I receive calls with 4444 as
the prepend. Depending if the call is Inter or Intra lata, I route the call
to the appropriate pots dial peer (trunk group). I change 4444 to 0071 for
Inter LATA, toll free, and services (411, etc), otherwise strip 4444 and
route out the CAT4 (Inter LATA) trunk group. Notice I also strip the 1 from
the 10 digit number before sending it to the Nortel DMS. This is because
the DMS doesn't like an 11 digit telephone number.
voice translation-rule 1
rule 1 /^1/ // type unknown national plan unknown isdn
!
voice translation-rule 11
rule 1 /^1/ // type unknown national plan unknown isdn
!
voice translation-rule 1702
rule 1 /^4444702/ /0071702/
rule 8 /^4444\(8\)\([2-8]+\)/ /00711\1\2\3/
rule 9 /^4444\([589]\)\(00\)/ /00711\1\2/
rule 10 /^4444\([2-8]\)\(11\)/ /0071\1\2/
rule 11 /^44441411/ /00711411/
rule 12 /^4444101/ /0071101/
rule 14 /^4444011/ /011/
rule 15 /^44440/ /00110/
!
voice translation-profile 702
translate calling 1
translate called 1702
!
voice translation-profile STRIP_1_FROM_CALLING
translate calling 1
translate redirect-called 11
!
trunk group CAT1//LasVegas
hunt-scheme sequential
!
!
trunk group CAT4//LongDistance
hunt-scheme sequential
!
interface Serial1/0:1:23
no ip address
trunk-group CAT1 //LasVegas
isdn switch-type primary-ni
isdn incoming-voice modem
priority-group 4
no cdp enable
!
interface Serial1/0:2:23
no ip address
trunk-group CAT1 //LasVegas
isdn switch-type primary-ni
isdn incoming-voice modem
priority-group 8
no cdp enable
!
interface Serial1/0:3:23
no ip address
trunk-group CAT1 //LasVegas
isdn switch-type primary-ni
priority-group 8
no cdp enable
!
interface Serial1/0:4:23
no ip address
trunk-group CAT1 //LasVegas
isdn switch-type primary-ni
priority-group 8
no cdp enable
!
interface Serial1/0:5:23
no ip address
trunk-group CAT4 //LongDistance
isdn switch-type primary-ni
priority-group 4
no cdp enable
!
interface Serial1/0:6:23
no ip address
trunk-group CAT4 //LongDistance
isdn switch-type primary-ni
priority-group 8
no cdp enable
!
dial-peer voice 9011 pots
trunkgroup CAT4 //LongDistance
destination-pattern 011
progress_ind progress enable 8
direct-inward-dial
prefix 011
!
dial-peer voice 9 pots
trunkgroup CAT4 //LongDistance
translation-profile outgoing STRIP_1_FROM_CALLING
incoming called-number .T
destination-pattern 4444.T
progress_ind progress enable 8
translate-outgoing calling 1
direct-inward-dial
!
dial-peer voice 90071 pots
trunkgroup CAT1 //LasVegas
description DMS
translation-profile outgoing STRIP_1_FROM_CALLING
destination-pattern 0071
progress_ind setup enable 3
progress_ind progress enable 8
direct-inward-dial
!
From: cisco-voip-bounces at puck.nether.net
[mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Ramiz Sardar
Sent: Monday, January 21, 2008 6:16 AM
To: cisco-voip
Subject: [cisco-voip] Grouping PRI Channels
Friends,
I am working on voip setup where Ericsson PBXs are connected with cisco 3800
routers. You can see topology below:
Phones-------PBX-A----Router-A-------------------------Router-B------PBX-B--
------Phones
PBX is connected with router through E1 Pri (qsiq) where as Router are
connected via E1 link.
Issue is: before voip setup PBXs are connected point to point and TDM
engineer divided channels in to two groups. One from channel 1-18 for
subscribers and other from 19-31 for Operators. So when subscriber come on
trunk, it was assigned channel from 1-18 and operators are assigned channel
from its range. Now i put routers between PBXs so when operator of PBX-A try
to dial number, operator is assigned channel from its range on PBX-A and
forward to Router-A. When that call reaches Router-B, it assign first
available channel on pri that is connected with PBX-B. But we want channels
are assigned by Router-B must be same that assigned by PBX-A.
Hope you will have understand my problem. And please tell me the
solution.......You immediate response will be appreciated.
Best Regards
Rameez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20080121/7eb3c1a2/attachment-0001.html
More information about the cisco-voip
mailing list