cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
320
Views
0
Helpful
8
Replies

Can I Have more than 11 DID Numbers ???

susanto_leman
Level 1
Level 1

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-

8 Replies 8

mkoci
Level 1
Level 1

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?

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

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

Hi

thanks for your reply. I don't have call manager. anyway i will try it.

-santo-

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.

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-

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

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