05-02-2002 04:49 AM - edited 03-12-2019 06:39 PM
Hi to all,
I've found this translation rule on a Cisco example.
How to reduce it on a single rule using wildcards?
translation-rule 1
rule 0 10.% 0
rule 1 11.% 1
rule 2 12.% 2
rule 3 13.% 3
rule 4 14.% 4
rule 5 15.% 5
rule 6 16.% 6
rule 7 17.% 7
rule 8 18.% 8
rule 9 19.% 9
05-09-2002 10:15 AM
Since there has been no response to your post, it appears to be either too complex or too rare an issue for other forum members to assist you. If you don't get a suitable response to your post, you may wish to review our resources at the online Technical Assistance Center (http://www.cisco.com/tac) or speak with a TAC engineer. You can open a TAC case online at http://www.cisco.com/tac/caseopen
If anyone else in the forum has some advice, please reply to this thread.
Thank you for posting.
05-09-2002 11:36 AM
Can you explain what you are trying to translate?
05-09-2002 04:46 PM
It will help me to give you an answer if had known what is the output you are expcting to get.
Please provide an example
05-09-2002 05:27 PM
You can have a translation rule add a 1 to all calls. Or you can have it remove a 1 from all calls. What are you trying to do? What are you trying to add or remove?
05-21-2002 08:02 AM
I have to remove 1 from all calls with a translation rule.
Example:
incoming called number is 5100
I want to strip 5 and leave 100
Sorry for the late
Christian
05-21-2002 10:40 AM
If you are using this with a callmanager and it is alway something like triming the number down from 4 to 3 digits. You can just check the sig digits box on the gateway page in ccmadmin and set the num digits to 3. That way the gateway will only collect the 3 digits starting at the right.
Hope this helps,
-Mckee
05-22-2002 07:44 AM
No, I'm not using Call Manager.
Only a gateway.
Regards,
Christian
05-22-2002 07:53 AM
What are you trying to reduce it to? You can make it smaller, but what are you trying to do. Give me an example and I will see if there is something for you. Do you want a 1 in front of every call, a 2, a 3.......I cant give you a good example without knowing what you want to do.
05-22-2002 11:36 PM
So these are my aims:
for every voip incoming calls, I would like to strip the initial digit
Example:
incoming calls 5100 becomes 100.
Regards
05-23-2002 07:44 AM
use the command "forward-digits 3" under the dial-peer (it will send the last 3 digits) or the translation rule:
translation-rule 1
rule 1 ^51 1
Check the following URL for details:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fvvfax_r/vrf_t.htm#xtocid74
05-28-2002 04:21 AM
Ok, but:
1) concerning voip dial-peer, there are not forward-digit command. This would be exactly what I have to do
2) I want to make this more general, I mean a rule able to strip first digit (same as forward-digit 3)
Regards,
Christian
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide