seperate 2 number ranges on outboudn dialpeer

Answered Question
May 10th, 2010

Hi,

We currently have 2 SIP trunks which are used for seperate number ranges which are not able to communicate with each other by use of CSS/partitions.

However we would like to use Cisco unified border element instead of SIP trunks terminating directly on our UCMs.

Is there a way which i can have 2 seperate number ranges be sent to 2 completely seperate dial peers so they do not get sent to the wrong provider

here is the sample for the dial peers configured:

dial-peer voice 10 voip
description -- Outbound to Provider SBC
destination-pattern 0T
session protocol sipv2
session target ipv4:1A.B.C.D
voice-class sip asserted-id pai
dtmf-relay rtp-nte
codec g711ulaw
no vad

dial-peer voice 11 voip
description -- Outbound to Provider SBC
destination-pattern 0T
session protocol sipv2
session target ipv4:w.x.y.z
voice-class sip asserted-id pai
dtmf-relay rtp-nte
codec g711ulaw
no vad

Any help on this issue would be greatly appreciated.

Regards,

Scott

I have this problem too.
0 votes
Correct Answer by William Bell about 6 years 7 months ago

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

I assume that by "two separate number ranges" you mean the DIDs assigned to your station lines?  IOW, the phone numbers assigned to users?

In the pre-cube scenario you probably leverage separate Calling Search Spaces on phones/lines that use separate patterns - Route Lists/Gateways.

In the post-cube scenario you could follow the same basic logic.  While you can solve this with dial-peer configs solely (using answer-address), this isn't my preference.  I prefer to handle it from the CUCM side of the house.  I prefer to use prefixes. 

Example:

Tenant-A:  Prefix 101

Tenant-B:  Prefix 102

RouteListA

- Contains RouteGroupA and is configured to Prefix 101 on called party information

RouteListB

- Contains RouteGroupB and is configured to Prefix 102 on called party information

*With the above config on CUCM, the goal is that the CUCM provides "direction" to the CUBE router via a 3-digit prefix (you can use a 2d if you like).  You will want your prefix digits to be unique within your CUBE dial-plan.  We use dial-peers on the CUBE to control routing to the carrier.*

CUBE:

voice translation-rule 10

rule 1 /^101/ //

rule 2 /^102/ //

!

voice translation-profile egressTranslation

translate called 10

!

dial-peer voice 10 voip

description -- Outbound to Provider SBC

destination-pattern 1010T

*translation-profile outgoing egressTranslation*

session protocol sipv2

session target ipv4:1A.B.C.D

voice-class sip asserted-id pai

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

dial-peer voice 11 voip

description -- Outbound to Provider SBC

destination-pattern 1020T

*translation-profile outgoing egressTranslation*

session protocol sipv2

session target ipv4:w.x.y.z

voice-class sip asserted-id pai

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

The voice-translation items I show above are intended to strip the 3-digit prefix before you send the call setup to the carrier.  This is necessary because SBC will have no clue what 101 or 102 mean.

HTH.


Regards,
Bill

Please remember to rate helpful posts.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Paolo Bevilacqua Mon, 05/10/2010 - 04:13

Yes, that is done with COR or number maniupulation base on answer-address on incoming DP.

Are you a network engineer or the end-user ?

Scott Brien Mon, 05/10/2010 - 04:19

Hi,

I am network engineer and new to the voice side of things.

With the configuration of cor lists would I write a rule saying xx number range outbound via dial peer 10 and xx range outbound via dial peer 11

Regards,

Scott

Correct Answer
William Bell Mon, 05/10/2010 - 04:45

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

I assume that by "two separate number ranges" you mean the DIDs assigned to your station lines?  IOW, the phone numbers assigned to users?

In the pre-cube scenario you probably leverage separate Calling Search Spaces on phones/lines that use separate patterns - Route Lists/Gateways.

In the post-cube scenario you could follow the same basic logic.  While you can solve this with dial-peer configs solely (using answer-address), this isn't my preference.  I prefer to handle it from the CUCM side of the house.  I prefer to use prefixes. 

Example:

Tenant-A:  Prefix 101

Tenant-B:  Prefix 102

RouteListA

- Contains RouteGroupA and is configured to Prefix 101 on called party information

RouteListB

- Contains RouteGroupB and is configured to Prefix 102 on called party information

*With the above config on CUCM, the goal is that the CUCM provides "direction" to the CUBE router via a 3-digit prefix (you can use a 2d if you like).  You will want your prefix digits to be unique within your CUBE dial-plan.  We use dial-peers on the CUBE to control routing to the carrier.*

CUBE:

voice translation-rule 10

rule 1 /^101/ //

rule 2 /^102/ //

!

voice translation-profile egressTranslation

translate called 10

!

dial-peer voice 10 voip

description -- Outbound to Provider SBC

destination-pattern 1010T

*translation-profile outgoing egressTranslation*

session protocol sipv2

session target ipv4:1A.B.C.D

voice-class sip asserted-id pai

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

dial-peer voice 11 voip

description -- Outbound to Provider SBC

destination-pattern 1020T

*translation-profile outgoing egressTranslation*

session protocol sipv2

session target ipv4:w.x.y.z

voice-class sip asserted-id pai

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

The voice-translation items I show above are intended to strip the 3-digit prefix before you send the call setup to the carrier.  This is necessary because SBC will have no clue what 101 or 102 mean.

HTH.


Regards,
Bill

Please remember to rate helpful posts.

Scott Brien Mon, 05/10/2010 - 16:52

Hi William,

yes your assumptions are correct in the way we have these 2 tennants set up.

This way seems like a decent way of seperating tennants i will test this in the next outage for testing and let you know how it goes.

Thanks


Scott

Scott Brien Tue, 08/10/2010 - 23:29

Hi William,


Got around to finishing off this project, those translation patterns worked very.


Thank you for your assistance.


Regards,

Scott

Actions

This Discussion

Related Content