Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Prefix need to be added before sending the calls.

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

5 REPLIES
New Member

Re: Prefix need to be added before sending the calls.

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.

Hall of Fame Super Silver

Re: Prefix need to be added before sending the calls.

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

New Member

Re: Prefix need to be added before sending the calls.

Correct Chris.

New Member

Re: Prefix need to be added before sending the calls.

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.

New Member

Re: Prefix need to be added before sending the calls.

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.

....

...

...

182
Views
0
Helpful
5
Replies