12-01-2003 01:00 AM - edited 03-13-2019 02:47 AM
Hi all,
Is that possible to have more than 11 DID numbers ? If I use translation-rule on cisco voice gateway, the most I have only 11 DID numbers ???
Thanks
-santo-
12-02-2003 08:32 AM
Yes you can have more than 11 DIDs, but you cannot have more the 10 translations per dial-peer on an IOS router. At least that is how it's on the router that I use. Did the telco give you a range of DID's ie. 555-[1001 - 1100] How many digits is the telco sending you? This can range from 3 to 10 digits. What are the extention numbers that you are using on the phones?
12-02-2003 05:57 PM
Hi,
I have 30 DIDs. The range is from xxxx9370-xxxx9399
My telco only sends me the last 4 digits. I need to do translations because the 4 digits of the DIDs and the extentions are not the same, 10XX
thanks
12-02-2003 06:23 PM
Hi,
Why not number expansion
num-exp 93.. 10..
or on your dial-peer,
destination-pattern 93..
prefix 10
//make sure that there is NO forward digits-all,
this will strip the matching pattern exept the ..
or just manipulate in the callmanager with a tranlation pattern.......
cya
Sascha
12-03-2003 04:47 PM
Hi
thanks for your reply. I don't have call manager. anyway i will try it.
-santo-
12-03-2003 02:40 AM
Use translation rules as they can be applied on specified ports or dial peers . Num-exp will cover called/calling/inwards and outwards numbers.
The following would work -
translation-rule 1
rule 0 ^93.. 10
voice-port 1/0:23
translate called 1
the ^ means start of string, so the rule would match on any 4 digit number starting with 97XX. The 97 would be changed to 10, and the trailing digits would remain unchanged.
12-03-2003 04:51 PM
Hi,
that means if my did number is 9389 i have to forward this number to 1089 ??? How about if I want to forward this did to another ext. number, lets say 1010 ? Can it be done ?
thanks alot
-santo-
12-03-2003 05:44 PM
Ah,
In this case you better use Translation Patterns in the CiscoCallManager, there is no real restriction is the number of translation patterns... 1000+...
(no forward, but translation..!!)
I thought you had the last 2 digits the same.. ;-)
regards
Sascha
12-08-2003 12:27 AM
Hi,
I just made it works.
Here are the configs
voice translation-rule 10
rule 1 /^9382/ /10610/
rule 2 /^9380/ /1004/
rule 3 /^9381/ /1007/
rule 4 /^9383/ /10611/
rule 5 /^9388/ /10608/
rule 6 /^9387/ /10601/
rule 7 /^9385/ /10602/
rule 8 /^9386/ /10603/
!
voice translation-rule 11
rule 1 /^9370/ /10603/
rule 2 /^9371/ /109371/
rule 3 /^9372/ /109372/
rule 4 /^9373/ /109373/
rule 5 /^9374/ /109374/
rule 6 /^9375/ /109375/
rule 7 /^9376/ /109376/
rule 8 /^9377/ /109377/
rule 9 /^9378/ /109378/
rule 10 /^9379/ /109379/
!
voice translation-rule 12
rule 1 /^9390/ /109390/
rule 2 /^9391/ /109391/
rule 3 /^9392/ /109392/
rule 4 /^9393/ /109393/
rule 5 /^9394/ /109394/
rule 6 /^9395/ /109395/
rule 7 /^9396/ /109396/
rule 8 /^9397/ /109397/
rule 9 /^9398/ /109398/
!
!
voice translation-profile digitman_937x
translate called 11
!
voice translation-profile digitman_938x
translate called 10
!
voice translation-profile digitman_939x
translate called 12
!
dial-peer voice 106 pots
translation-profile incoming digitman_938x
incoming called-number 938.
direct-inward-dial
!
dial-peer voice 107 pots
translation-profile incoming digitman_937x
incoming called-number 937.
direct-inward-dial
dial-peer voice 108 pots
translation-profile incoming digitman_939x
incoming called-number 939.
direct-inward-dial
regards
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