Prefix need to be added before sending the calls.

Unanswered Question
Jan 25th, 2009

I need to add prefix before sending the calls. Translation rule makes me more complex. kindly suggest the best practise.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
pgcristovam Sun, 01/25/2009 - 12:08

dial-peer voice x pots

destination-pattern 00T

port 0/0/0:0

prefix 0021

So when you dial 003456789 the voice gateway will send 00213456789.

Chris Deren Sun, 01/25/2009 - 13:12

The above example will only work for calls destined to POTS dial peers. For calls destined to IP desitnations translation rule is your best option.

Chris

sunnyverghese Mon, 01/26/2009 - 12:45

Hi Rob

i am fine how about you thank you for your reply actually i need to create a prefix 600

From Router A if a user dial 600 and 3 Digit extension number the 600 number needs to discard at router A and sent the calls to router B

Example: 600601 dial from A

the extension 600 need to discard and sent the 601 to router B. Is it possible through prefix dialing.

pgcristovam Mon, 01/26/2009 - 12:56

translation-rule 600

rule 1 /^600/ /601/

translation-profile CHANGE_NETPRO

translate called 600

dial-peer voice x voip

destination-pattern 600...

translation-profile outgoing CHANGE_NETPRO

session target ipv4:X.X.X.

....

...

...

Actions

This Discussion