I think elaborating on the setup may help someone to provide inputs on this. Below is the setup.

 Client 1 à Kamailio proxy à  Backend SIP server

Client 2 à Kamailio proxy à  Backend SIP server

Client 3 à Kamailio proxy à  Backend SIP server

 

After I register all three clients, see only one TCP connection is being used between “Kamailio proxy – Backend SIP server”.

Is there a way to achieve separate TCP connection to Backend SIP server from kamailio.

 

 

thanks,

raj

From: R, Rajkumar (Raj)
Sent: Monday, April 22, 2019 3:45 PM
To: sr-users@lists.kamailio.org
Subject: Config to control TCP connection reuse

 

Hi,

 

In my setup(kamailio in stateless mode to a backend server), for any number of client registrations kamailio (in stateless mode) is reusing the TCP connection. Let’s say if I register 3 different clients through kamailio to my backend server – see only one TCP connection is used, which I do not want. I have gone through the core modules to see if any TCP config param exists to control on this, but couldn’t find one.

 

Could anyone help how to achieve different TCP connections to same destination in kamailio?

 

thanks,

raj