Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with dial-peer and translation rules

Status
Not open for further replies.

ABOzIT

IS-IT--Management
May 1, 2003
226
JP
Hello!

I'm still learning this stuff and would appreciate some assistance on a project I've been given.

We have just opened a second office in our area and we want to be able to dial them directly using their 3 digit extensions. We have no network links yet so the calls are going out over POTS.

I have decided to set up a translation rule so users here just dial the 3 digit extension of the other office prefixed by 5. So to dial extension 123 at the other office they would just dial 5123 and the number would be translated to 55527123

voice translation-rule 7
rule 1 /^5\(...\).*/ /55527\1/
!
voice translation-profile Call_Second_Site
translate calling 7

So, that seems to be working when I test the translation.

I've now set up a dial-peer to make the call.

dial-peer voice 44 pots
description Speed Dial to Second Office
translation-profile outgoing Call_Second_Site
destination-pattern 5...
direct-inward-dial
port 0/0/0:15

I need this to dial 9 for the external line and then dial the translated number. What I have done so far doesn't seem to work.

Can someone assist me with this please.

Many thanks!
 
Since your call is going over the POTS you need an outside tone, so just add the 9 to the translation pattern.

Caos is the natural order of things...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top