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?
Solved! Go to Solution.
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 translation-profile makedid
translate incoming 100
voice translation-rule 100
rule 1 /^33330/ //
Hope this helps, please rate post if it does!
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!
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