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

help with two DID ranges on CME needed

ReadersUK
Level 2
Level 2

Hi

I have a CME sytem with two E1's and two DID ranges

the first is

22223XXX and my extensions are 3XXX

i have a "dialplan-pattern 1 22223... extension-length 4" statement under telephony services and this works fine.

Now ihave added the 2nd E1 with range

33330XXX (this is a backup line but i want to be able to allow it to call my extensions 3XXX.I tried "dialplan-pattern 2 33330... extension-length 4 extension-pattern 3..." but this didnt work. Is this the correct way to handle incoming DID with multiple ranges? or is there a smarter way?

regards

colin

1 Accepted Solution

Accepted Solutions

Hello,

please apply the translation-profile to the voice port and not to the dial-peer.

Or, make the "incoming called-number to be "^225280...$".

But I usually prefer do the translation at voice-port or trunkgroup level.

View solution in original post

8 Replies 8

paolo bevilacqua
Hall of Fame
Hall of Fame

Yes, that would be the right command but I think it overlaps with the first and doesn't work.

Use a translation-profile instead.

voice-port x/y:15

translation-profile makedid

voice translation-profile makedid

translate incoming 100

voice translation-rule 100

rule 1 /^33330/ //

Hope this helps, please rate post if it does!

Hi

thanks for your reply, i played with translation profile but doesnt work.

I made the numbers up in my first post to make it easy to explain. But see my real config attached and test results. Any help appreciated.

Colin

Hello,

please write the translation rule as per my example. Just change the made up number to the correct one. Do not mess with parenthesis, backslashes and match sets because thanks IOS, that is not necessary.

After, test the translation rule as you were doing in your attachment.

EDIT Woops I take it back. You have four-digits extensions so in fact the match set is necessary. Let me go over your config again and I will post below.

Here the correct rule:

voice translation-rule 3

rule 1 /^\(225280\)\(...\)/ /3\2/

Note it translates directly to the extension format.

Let us know!

hi

I appreciate your help. still no luck

results attached.

Hello,

please apply the translation-profile to the voice port and not to the dial-peer.

Or, make the "incoming called-number to be "^225280...$".

But I usually prefer do the translation at voice-port or trunkgroup level.

Hi

Just before i read your reply i set

incoming called-number 225280... under dial peer and it worked.

it was set to just .

Thanks for your help, and i appreciate the advice

colin

Glad to know it worked, thanks for the nice rating and good luck!

Getting Started

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: