cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4658
Views
15
Helpful
5
Replies

2 SIP trunks with 2 different providers on CUBE

MattNaidar
Level 1
Level 1

Hi Forums,

 

I have an issue that is no new issue, and there a reasonable amount of data on out there, though I don't believe much usable data. I've done several days of googling, and have done quite a lot of reading prior to posting here, with the hope that someone can assist.

 

I have a 10.5 CUCM with a 2921 CUBE and a SIP trunk under that. We're about to change our trunk over to a different service, and thus would like to plug in the new trunk into the existing CUBE alongside the existing one. Our plan is that we would migrate all our number ranges over to the new service once the new trunk is installed. The new trunk has it's own set of credentials, just like the old service. It seems as though under sip-ua, you can only configure multiple registrars, so I'm quite sure doing that is not what we want, and I cannot seem to be able to configure a SIP server under a dial-peer directly.

 

I am aware of using version 15.6 and multitenancy to maybe accomplish this, though I haven't looked deep into this option.

 

With the multiple registrars, this is as far as I've got without thinking it wouldn't work.

 

sip-ua
 credentials username USER1 password 7 142733383F55 realm LINK1
 credentials username USER2 password 7 142733383F55 realm LINK2
 authentication username USER1 password 7 13353621385D realm LINK1
 authentication username USER2 password 7 13353621385D realm LINK2
  no remote-party-id
  registrar 1 ipv4:1.1.1.1 expires 3600 auth-realm LINK1
  registrar 2 ipv4:2.2.2.2 expires 3600 auth-realm LINK2

 

For the life of me, I'd have to be sure that other people have CUBE's with multiple SIP trunks using different IP's and credentials. Does anyone have any solid information about how 2 totally seperate SIP trunks can be configured in CUBE?

 

Thanking you in advance ;)

 

Cheers,

Matt

5 Replies 5

BradEast1
Level 3
Level 3

I think tenant configuration would be your best bet

 

voice class tenant 10
registrar ipv4:X.X.X.X expires 3600
credentials number X username X password 7
X realm X
authentication username X password 7 X realm
X
no remote-party-id
retry invite 2
timers connect 100
sip-server ipv4:X.X.X.X
connection-reuse
bind control source-interface GigabitEthernet0/1
bind media source-interface GigabitEthernet0/1


voice class tenant 20
registrar ipv4:X.X.X.X expires 3600
credentials number X username X password 7
X realm X
authentication username X password 7 X realm
X
no remote-party-id
retry invite 2
timers connect 100
sip-server ipv4:X.X.X.X
connection-reuse
bind control source-interface GigabitEthernet0/0
bind media source-interface GigabitEthernet0/0

 

 

dial-peer voice 100 voip
translation-profile outgoing strip8
destination-pattern 8T
session protocol sipv2
session target ipv4:X.X.X.X
voice-class codec 1
voice-class sip early-offer forced
voice-class sip profiles 100
voice-class sip tenant 10
voice-class sip bind control source-interface GigabitEthernet0/1
voice-class sip bind media source-interface GigabitEthernet0/1
dtmf-relay rtp-nte
no vad

Thank you Brad.

You're welcome. Please mark as helpful or resolve if I was of assistance.

Does the multi tenant configuration work for 1 single trunk ? 

We have three  sip trunks connected to the same sip provider across two cubes ! One cube with two sip trunks and one cube with one single sip trunk 

Since I want to keep the configuration consistent across two cubes !! Can I configure multi tenant (voice class tenant1) on a single sip trunk or I have to use the sip-ua method ?

thank you 

That seems like an odd configuration with it being the same provider.

 

However, you can.  I generally have only been using voice class tenant instead of the default sip user agent even with a single provider.  This makes it so much easier / cleaner for future considerations.