cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
359
Views
5
Helpful
2
Replies

Is it possible to create a sip trunk grouping for a single outbd peer?

dsobrinho
Level 9
Level 9

Is it possible to create a sip trunk grouping for a single outbound dial-peer voice?

Something similar happens for E1 with (trunk group), so you can add a single dial-peer and apply the preference to sip trunk from different operators.

 

Example:
dial-peer voice 12 pots
trunkgroup PSTNA 1
trunkgroup PSTNB 2
description -------------[LDN]
preference 1
destination-pattern 00[^0][^0][2-5].......
on digit-strip

Daniel Sobrinho
1 Accepted Solution

Accepted Solutions

Hi, You can use voice class server-group.

Here is an example.



voice class server-group 1
hunt-scheme round-robin
ipv4 14.50.244.2 port 5060 preference 1
ipv4 14.50.244.62
ipv6 2010:AB8:0:2::1 port 2323 preference 3
ipv6 2010:AB8:0:2::2 port 2222
!
dial-peer voice 1 voip
session protocol sipv2
destination-pattern 8675309
session server-group 1


***** please remember to rate useful posts

View solution in original post

2 Replies 2

Hi, You can use voice class server-group.

Here is an example.



voice class server-group 1
hunt-scheme round-robin
ipv4 14.50.244.2 port 5060 preference 1
ipv4 14.50.244.62
ipv6 2010:AB8:0:2::1 port 2323 preference 3
ipv6 2010:AB8:0:2::2 port 2222
!
dial-peer voice 1 voip
session protocol sipv2
destination-pattern 8675309
session server-group 1


***** please remember to rate useful posts

Hi Mohammed Al Baqari,


It sounds like just what I was looking for.

 

I have a new demand. A customer  today has a CUCM cluster that serves 194 sites in my country. Each location has its own SRST gateway. He wants to remove the cost of these local gateways, and concentrate two CUBEs in different DataCenters here in my country, and two VoiP carriers (ITSP VIVO and OI) for contingency and redundancy.

 

However, I cannot create several dial-peers for each location. There is a limitation at this point.

 

The SIP trunks will occur with these carriers delivering +Country code+National code+Prefix/DDR (E164). I will have to base my outbound routes on analysis via calling and called number to direct to the correct peer.

 

Best regards,

Daniel Sobrinho