Thanks for your explanation, the problem is that the actual lookup is done by a proxy which is located after our load balancer. Therefore, the TCP connection with the UA should not be visible by the proxy but by the load balancer.
How does that work in such case?
From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Vitaliy Aleksandrov
Sent: Wednesday, May 06, 2015 10:34 AM
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Recommended configuration for TCP support
set_forward_no_connect() called after lookup() prevents kamailio from making a new connection to a phone if there is no active connection.
This is useful when you are trying to call to a UA which kamailio still keeps registration record for, but TCP/TLS connect to this phone is already gone (due to timeout, network problem, etc...).
On 05/05/15 14:54, Mickael Marrache wrote:
In general, it happens in our network (as more and more Via headers are added).
Sorry, I didn't understand your last sentence. What do you mean by not connect if there is no active connection after location lookup?
From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla
Sent: Monday, May 04, 2015 11:07 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Recommended configuration for TCP support
Hello,
where are typically those issues with truncated SDP? On the phones?
If you use tcp and have phones behind the nat, it is recommended to not connect if there is no active connection after location lookup -- see core functions for tcp.
Cheers,
DanielOn 04/05/15 13:54, Mickael Marrache wrote:
Hi,
We sometimes get issues caused by truncated SDP bodies. Therefore, we are looking at using TCP instead of UDP.
What is the recommended configuration when TCP is used?
Currently, I only have the following:
children=16
listen=udp:<ip>:5060
listen=tcp:<ip>:5060
disable_tcp=no
tcp_connection_lifetime=605 (registration expiry is 600)
Also, is there a difference with UDP regarding NAT handling?
Thanks,
Mickael
_______________________________________________SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/micondaKamailio World Conference, May 27-29, 2015Berlin, Germany - http://www.kamailioworld.com
_______________________________________________SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users