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. And see here for current known issues.

New Member

translation patterns question

Hi,

How can I cut the 1234 from the called id with translation patterns ? Can I add this translation pattern to the dial-peer ?

ex:

dial-peer voice 111 voip

     destination-pattern 1234....

     session target-ipv4:1.1.1.1

I want to cut this 1234. There is no forward-digit 4 in voip dialpeers.

Regards.

1 REPLY

Re: translation patterns question

You could try this:

voice translation-rule 10

rule 1 /^1234/ //

!

voice translation-profile strip1234

translate called 10

!

dial-peer voice 111 voip

     destination-pattern 1234....

     translation-profile outgoing strip1234

      session target-ipv4:1.1.1.1

!

translation rule 10 will strip 1234 from the beginning of the called number.

HTH.


Regards,
Bill

Please remember to rate helpful posts.

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify

153
Views
9
Helpful
1
Replies
CreatePlease login to create content