11-07-2006 04:42 AM
First, let me say I grew up on the IP side of this house. I'm not bad with the voice stuff, but I'm no expert. I'm hoping what I'm doing wrong is elementary and I'm just failing to see it. So, here goes nothing.
I have a 3845 router with a WIC-1MFT. It's currently connected to a Tberd 224 Test unit. In normal operation, I can send a recieve calls from my IP Phone through a CME Router. On the Tberd my techie says he can see me seize the channel, and a concurrent call allows the next trunk to be seized. Everything looks great. Except translation.
I've been tasked with configuring this router to deliver US Dilatone from a PBX system up here in the States to some posts down in South America. This will not be accomplished through a Call Manager. Just h323 VoIP. Analog to Analog from end to end.
This particular PBX system doesn't pass me PSTN numbers, just the last 4 digits of their extensions. I'm trying to translate these four digits directly into OPX numbers that make sense to my Dial plans. Below is a copy of the pertinent config.
!!!!!
I have tried applying the translation to the voice-port, the ds0-group, and the controller (seen below) itself. The only thing I haven?t tried is applying it to outbound VoIP dial-peers. Mostly because it doesn?t make sense to me and seems like a lot more work.
!!!!!
!
voice service pots
translate incoming controller T1 1/0/0 called 1
!
voice translation-rule 1
rule 1 /^9386/ /1090/
rule 2 /^9387/ /1092/
rule 3 /^9388/ /1091/
rule 4 /^9449/ /1110/
rule 5 /^9450/ /1111/
rule 6 /^9429/ /1120/
rule 7 /^9430/ /1121/
rule 8 /^9443/ /1140/
rule 9 /^9444/ /1141/
rule 10 /^9445/ /1130/
rule 11 /^9446/ /1131/
rule 12 /^6666/ /0002/
!
controller T1 1/0/0
framing esf
linecode b8zs
cablelength short 133
ds0-group 0 timeslots 1-24 type e&m-immediate-start
!
voice-port 1/0/0:0
!
!
dial-peer voice 160 voip
description Belize Extensions
destination-pattern 109.
session target ipv4:XXXX
codec g711ulaw
!
dial-peer voice 170 voip
description Tres Esquinas Extensions
destination-pattern 110.
session target ipv4:XXXX
codec g711ulaw
!
dial-peer voice 180 voip
description La Randia Extensions
destination-pattern 111.
session target ipv4:XXXX
codec g711ulaw
!
dial-peer voice 190 voip
description Andros Island Extensions
destination-pattern 112.
session target ipv4:XXXX
codec g711ulaw
!
dial-peer voice 200 voip
description Great Exuma Extensions
destination-pattern 113.
session target ipv4:XXXX
codec g711ulaw
!
dial-peer voice 210 voip
description Great Inagua Extensions
destination-pattern 114.
session target ipv4:XXXX
codec g711ulaw
!
dial-peer voice 100 pots
description IVG Dialtone
destination-pattern 8T
port 1/0/0:0
!
dial-peer voice 220 voip
description Belvoir
destination-pattern 00..
session target ipv4:XXXX
codec g711ulaw
!
The extension to the Test IP Phone on my desk is 0002. I can send and receive calls coming in from the Test Unit and going out to it via my T1 trunk. This works beautifully as long as we?re using a number specified in a dial-peer.
The problem is, when testing a translation, say /^6666/ to /0002/ and my test guy on the Tberd side punches in 6666 numbers, the 3845 gives him a busy immediately after the first 6 is pressed. The debug reports a partial translation match, but it looks like it?s only using the first 6 in the stream.
Has anyone ever used a Tberd unit for Voice call testing? Is it not going to work by having a user seize a channel directly from the T1 trunk and try to pass digits by handset? These are things that I don?t know yet. And I don?t want to plug this router in to their PBX and have things working all kinds of strange.
Please help!
11-08-2006 12:33 AM
Hi,
try to apply your traslation under the voice-port 1/0/0:0.
Here is an example of configuration that wotk out:
voice translation-rule 1
rule 1 /^\(34[036789]\)\(\)/ /0\1\2/
rule 2 /^\(33[03456789]\)\(\)/ /0\1\2/
rule 3 /^\(36[0368]\)\(\)/ /0\1\2/
rule 4 /^\(32[0389]\)\(\)/ /0\1\2/
rule 5 /^\(39[0-3]\)\(\)/ /0\1\2/
rule 6 /\(^[1-9]\)\(\)/ /00\1\2/
voice translation-profile IN-PSTN
translate called 1
voice-port 0/0/0:15
translation-profile incoming IN-PSTN
(i'am in europe and we use E1)
Let me now if you fix your problem
11-08-2006 03:35 AM
Alessandro,
It doesn't work. If you notice, I don't have any dial-peers that match the inbound number. I think my router is refusing to translate because it doesn't possibly match any dial-peer as soon as the first number is pressed. That's why I'm getting busy signals immediately.
Your translations aren't replacing the entire stream of digits with another.
11-09-2006 05:48 AM
You are correct but the router should match the dialpeer after doing translation!
And you have a destination pattern 00..
try to place a call and launch the debug dial peer voice all,this could help to understand what is happening!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: