cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6983
Views
112
Helpful
17
Replies

Multiple SIP trunk on CUBE

Hello,

 

We want to setup CUBE having multiple SIP trunks, but we want to totally separate the dial-peers for every SIP trunk so that when the call will come on CUBE from provider 1 it will only match the dial peers of that specific SIP trunk.

Incoming call from provider A ---SIP Trunk 1 (Provider A) ---- Customer A

Incoming call from provider B ---SIP Trunk 2 (Provider B) ---- Customer B

Incoming call from provider C ---SIP Trunk 3 (Provider C)---- Customer C

And same for outgoing calls.

 

dial-peer voice 1 voip
preference 2
destination-pattern .T
session protocol sipv2
session target ipv4:1.1.1.1:5100
session transport udp
incoming called-number .
voice-class codec 1
dtmf-relay rtp-nte
no vad

!

dial-peer voice 8006 voip
corlist outgoing PROVIDERB
translation-profile outgoing A-SIP-OUT
destination-pattern .T
session protocol sipv2
session target dns:abc.com
session transport udp
voice-class codec 1
dtmf-relay rtp-nte
no vad

!

 

I have configured the above dial peers, when incoming call is coming through Provider 2 router is using dial-peer 1 as incoming dial peer. 

 

Can anyone please suggest me which method can be used for this setup? 

Spooster IT Services Team
17 Replies 17

I would say that you should use VRF to separate the two trunks.



Response Signature


Thanks for the response Roger. Good to know that VRF is a possible solution. Was wondering if there are other ways to achieve it such as leaving all configuration as if there is a single SIP trunk (except for 2 wan interfaces) but manipulating inbound/outbound calls using dial peers.

 

Have you ever configured a SBC? There is no SIP trunk as such normally, except if you require to use registration. All other configuration is based upon dial peers and interface configuration. To tie the dial peer selection to specific interface when the source information is the same on both trunks you need to use VRFs.



Response Signature