[SR-Users] Open separate TCP streams to the same destination

Sebastian Damm sdamm at pascom.net
Thu Mar 11 17:00:21 CET 2021


Hi,

I have a peer that requests separate TCP connections for each registration to their server. Those registrations run through the same Kamailio instance on my side. 

Now what I tried is to use tcpops and the tcp_set_otcpid function, supplying a previously nonexistant TCP connection ID before relaying the register request. The command itself returns true, however, it does not do anything. The content of $conid of the reply is something totally different. So I guess, this function only works for already existing connections.

Is there another way to explicitly tell Kamailio to open up another connection to a peer even though a connection to that peer is already open?

Thanks in advance.

Regards,
Sebastian



More information about the sr-users mailing list