12-06-2017 03:07 AM - edited 03-17-2019 11:44 AM
Hi All,
We have a range of DDIs that sit on a CUBE in an office in Milan, which currently route to one of our CUCM clusters in London on which the users in this office are currently set up.
I want to change this config and instead send some of these to another CUCM cluster in Leeds, whilst keeping some of them going to London.
Current config is below. For examples sake, 10.10.10.1 and 2 are our London CUCM and 10.70.20.1 and 2 are our Leeds CUCM. I want to point the bold red e164 numbers to the Leeds CUCM instead of London.
I hope this makes sense. If you need any further info or config let me know
voice class uri loncucm sip
host ipv4:10.10.10.1
host ipv4:10.10.10.2
!
voice class uri colt sip
host ipv4:10.20.20.1
host ipv4:10.20.20.2
host ipv4:10.20.20.3
!
voice class uri cucm sip
host ipv4:10.10.10.1
host ipv4:10.10.10.2
host ipv4:10.70.20.20
host ipv4:10.70.20.21
voice class codec 1
codec preference 1 g711alaw
!
!
!
voice class e164-pattern-map 4
description Naples DDI numbers
e164 +3908101685
!
!
voice class e164-pattern-map 11
description Milan 80XXXX numbers, Naples 8385XX numbers
e164 8385
e164 66
e164 80
!
!
voice class e164-pattern-map 3
description Milan DDI numbers
e164 +390200621202
e164 +390283438170
e164 +390283438171
e164 +390283438172
e164 +390283438173
e164 +390283438174
e164 +39028343815
e164 +39028343816
e164 +3902006646
e164 +3902842586
!
!
!
!
!
voice translation-rule 10
rule 1 /^9\(.*\)/ /\1/
!
voice translation-rule 11
rule 1 /^8086/ /+3902842586/
rule 2 /^8081/ /+3902834381/
!
voice translation-rule 100
rule 1 /\+3902842586/ /8086/
rule 2 /\+39028343815/ /80815/
rule 3 /\+39028343816/ /80816/
rule 4 /\+390283438170/ /808170/
rule 5 /\+390283438171/ /808171/
rule 6 /\+390283438172/ /808172/
rule 7 /\+390283438173/ /808173/
rule 8 /\+390283438174/ /808174/
rule 9 /\+390200621202/ /821348/
rule 10 /\+3902006646\(..\)/ /8046\1/
rule 31 /\+3908101685/ /8385/
rule 32 /\+390283438150/ /808150/
!
!
voice translation-profile DIGITSTRIP9
translate calling 11
translate called 10
!
voice translation-profile incomingsip
translate called 100
Solved! Go to Solution.
12-06-2017 05:49 AM
Either remove the e164 patterns from one e164-pattern-map and add to the other, or send them to existing cluster and allow that cluster route these numbers to the other cluster via SIP/ICT by defining correct route patterns or using ILS/GDPR.
12-06-2017 03:30 AM
Hello Alex,
If I got it correctly then below CUCM host belongs to leeds location.
host ipv4:10.70.20.20
host ipv4:10.70.20.21
Do you want to send the call to any once CUCM or both them ?
Could you please share the dial-peer configuration to suggest you required changes?
Thanks,
Balram
12-06-2017 04:06 AM
Hi Balram,
Thanks for your quick reply!
Correct. I would like for example to send the calls to the red numbers from the CUBE to the IP addresses you have mentioned. I would like the calls to be sent to the Leeds Sub 10.70.20.21 unless unreachable, in which case the calls would go to the Pub 10.70.20.20
Attached is the current dial peer config to send all to the London Cluster, I am not sure how I would get the selected numbers only to be forwarded to the Leeds Cluster.
Thanks
Alex
12-06-2017 05:49 AM
Either remove the e164 patterns from one e164-pattern-map and add to the other, or send them to existing cluster and allow that cluster route these numbers to the other cluster via SIP/ICT by defining correct route patterns or using ILS/GDPR.
12-06-2017 07:44 AM
12-07-2017 02:46 AM
Thanks both.
I am starting to understand how I would go about doing this now.
1. Modify route pattern and take the numbers I want to send to the Leeds CUCM out.
2. Create a new pattern and add these e164 numbers
3. Create 2 new dial peers referencing the new patterns sending to the sub with a preference 1 and the pub as a preference 2 or grouping as Balram has mentioned
Attached is the current dial peer output, however I can only see reference to pattern-map 11. So it actually looks like the numbers coming in are actually being manipulated before matching pattern-map 11 only and then being sent to the LondonCUCM. Am I correct in saying that currently pattern-map 3 isn't actually being used?
I have also attached what I think you are suggesting. Will this work or will it still route the same way? I will create pattern-map 5 and dial peer 203 and 204.
Hope this makes sense
Thanks
Alex
12-07-2017 03:43 AM
12-08-2017 07:52 AM
Thanks for verifying!
Will let you know how it goes
Alex
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