05-06-2009 03:54 AM - edited 03-15-2019 05:52 PM
Hi All. I've posted this before but ive spend 20 minutes looking for my old post and can't find it anywhere.
Ok. I have CCME. We have a PRI. I have implimented the below to handle the translations to the relevant extensions:
voice translation-rule 1
rule 1 /433599/ /201/
rule 2 /433585/ /301/
rule 3 /487153/ /201/
rule 4 /43358./ /201/
rule 5 /43359./ /201/
(all the way up to the max, 12 or 15)
voice translation-profile INCOMINGDDI
translate calling 2
translate called 1
voice-port 0/0/0:15
translation-profile incoming INCOMINGDDI
input gain 10
cptone GB
timeouts initial 5
timeouts interdigit 5
This has worked fine. Great. Now the customer wants to add 5 more DDI's... and I cant add any more sub rules to translation profile 1.. help!
THanks
05-06-2009 04:44 AM
You can make rule 4 and 5 one rule
rule 4 /4335[8,9]./ /201/
look at your other rules you didn't list there should be others you could combine into a single rule to make room for the other 5.
05-06-2009 05:06 AM
Cheers, i have gone through the rest and unfortunatley they are different DDI's incrimenting by a value of 1, so the rest are different unfortunatley :(
05-06-2009 07:39 AM
Hi,
You will have expansion problems using it like this. You can also use num-exp.
http://www.cisco.com/en/US/docs/ios/voice/command/reference/vr_n1.html#wp1017713
You can do something like num-exp 123456 201
To do a single translation
or
num-exp 123... 201
To do a general translation.
hth
nick
05-25-2009 05:00 PM
It looks like you have several DIDs pointing to the smae number, 201.
You can do a catch all for rule 15
rule 15 /^.*/ /201/ That should free up several rules.
01-26-2010 12:53 PM
Don't know if you have fixed this yet or not, but here are my two cents worth...
you should take the translation-profile off the voice port and apply to dial-peers inbound matching the range of DDI you have coming in
voice translation-rule 1
rule 1 /433599/ /201/
rule 2 /433585/ /301/
rule 3 /487153/ /201/
rule 4 /43358./ /201/
rule 5 /43359./ /201/
(all the way up to the max, 12 or 15)
voice translation-rule 3
rule 1 /487153/ /201/
voice translation-profile INCOMINGDDI (change to INCOMINGDDIOne)
translate calling 2
translate called 1
voice translation-profile INCOMINGDDITwo
translate calling 2
translate called 3
voice-port 0/0/0:15
no translation-profile incoming INCOMINGDDI
input gain 10
cptone GB
timeouts initial 5
timeouts interdigit 5
dial-peer voice 10
incoming-called number 4335..
translation-profile incoming INCOMINGDDIOne
direct-inward-dial
port 0/0/0:15
dial-peer voice 11
incoming-called number 487...
translation-profile incoming INCOMINGDDITwo
direct-inward-dial
port 0/0/0:15
01-26-2010 08:48 PM
David, I was just wandering. Does any of the rules you posted replace non-numeric characters in the calling number field such as calling number = Unknown or Calling number = anonymous ?
01-26-2010 08:50 PM
As part of our corporate rebranding we have updated our email addresses and the address you have sent through to no longer exists. Please can you resend your email to one of the following addresses
Microssit.co.uk
Microssrecruitment.co.uk
Microsssystems.co.uk
Kind regards
www.microssit.co.uk<>>
support@microssit.co.uk
Tel: 0844 2090 310
01-27-2010 03:15 AM
Usually you get Unkown number when the CID/ANI is not presented by the telco.
If you get unwanted characters in the number string like this: 123-456-7890
you can remove with a rule like this: rule 1 /\(...\)-\(...\)-\(....\)/ /\1\2\3/
this slices the number into three groups with the parens, then rejoins them without the -
you could try a rule to match the word anonymous or private, although I haven't tried this, and you can only put in numbers to replace the matched pattern...
01-27-2010 03:22 AM
As part of our corporate rebranding we have updated our email addresses and the address you have sent through to no longer exists. Please can you resend your email to one of the following addresses
Microssit.co.uk
Microssrecruitment.co.uk
Microsssystems.co.uk
Kind regards
www.microssit.co.uk<>>
support@microssit.co.uk
Tel: 0844 2090 310
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: