Cisco voice translation-rule

I am dealing with a provider that has requested that whenever we terminate calls that we send a # at the end of the number to them. This is suppose to elmimite the post dial delay. Right now, I already change the numbers with the following to make them international:

translation-rule 1 Rule 0 ^0 0 ANY international Rule 1 ^1 0111 ANY international Rule 2 ^2 0112 ANY international Rule 3 ^3 0113 ANY international Rule 4 ^4 0114 ANY international Rule 5 ^5 0115 ANY international Rule 6 ^6 0116 ANY international Rule 7 ^7 0117 ANY international Rule 8 ^8 0118 ANY international Rule 9 ^9 0119 ANY international

Is there a way to add a suffix of "#" to every number that is dialed? Thanks!

Reply to
polycomuser
Loading thread data ...

Using a slightly more advanced voice translation-rule:

voice translation-rule 1 rule 1 /^0\\(.*\\)/ /0\\1#/ type international rule 2 /^1\\(.*\\)/ /0111\\1#/ type international rule 3 /^2\\(.*\\)/ /0112\\1#/ type international rule 4 /^3\\(.*\\)/ /0113\\1#/ type international rule 5 /^4\\(.*\\)/ /0114\\1#/ type international rule 6 /^5\\(.*\\)/ /0115\\1#/ type international (... etc)

The \\1 in the destination pattern copies the remainder of the number from the set \\(.*\\) and adds a # at the end.

rtr#test voice translation-rule 1 15551000 type international Matched with rule 2 Original number: 15551000 Translated number: 01115551000# Original number type: international Translated number type: international Original number plan: none Translated number plan: none

Cheers,

Matt

Reply to
Matthew Melbourne

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.