cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1140
Views
15
Helpful
7
Replies

Routing SIP calls to specific DDIs from CUBE to 2 different CUCM clusters

alexangelides
Level 1
Level 1

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

 

 

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

7 Replies 7

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


Please rate if you find this helpful
Thank You
Balram

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

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.

I don't need out for show dial-peer command.

First of all as Chris mentioned create separate e164-pattern-map and then create new dial-peer with destination as server group.(assuming you are running IOS 15.4 or higher)

You have the option to provide the preference while configuring server group.

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/dialpeer/configuration/xe-3s/vd-xe-3s-book/multiple-server-groups.html

If you need sample configuration I can provide but for that please provide dial-peer configuration output from running configuration.

Regards,
Balram
Ex-Cisco TAC

Please rate if you find this helpful
Thank You
Balram

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

Verified the configuration and this should work now as expected and calls should route to Leeds CUCM.

In case you face issue please collect following for the test call share.
debug voip ccapi inout
debug ccsip message
debug voip translation

Regards,
Balram

Please rate if you find this helpful
Thank You
Balram

Thanks for verifying! 

Will let you know how it goes

 

Alex