07-03-2007 12:12 AM - edited 03-14-2019 10:22 PM
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
Solved! Go to Solution.
07-03-2007 04:44 AM
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.
07-03-2007 01:24 AM
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!
07-03-2007 02:03 AM
07-03-2007 02:24 AM
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.
07-03-2007 02:40 AM
Here the correct rule:
voice translation-rule 3
rule 1 /^\(225280\)\(...\)/ /3\2/
Note it translates directly to the extension format.
Let us know!
07-03-2007 04:23 AM
07-03-2007 04:44 AM
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.
07-03-2007 04:58 AM
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
07-03-2007 05:06 AM
Glad to know it worked, thanks for the nice rating and good luck!
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