translation patterns question

Unanswered Question
Jun 21st, 2010
User Badges:

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
William Bell Mon, 06/21/2010 - 06:51
User Badges:
  • Purple, 4500 points or more

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.

Actions

This Discussion