[SR-Users] Recommended configuration for TCP support

Vitaliy Aleksandrov vitalik.voip at gmail.com
Wed May 6 09:34:22 CEST 2015


*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 at 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,
> Daniel
>
> On 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 list
>
>     sr-users at lists.sip-router.org  <mailto:sr-users at lists.sip-router.org>
>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> -- 
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda  <http://twitter.com/#%21/miconda>  -http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015
> Berlin, Germany -http://www.kamailioworld.com
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150506/abab94d4/attachment.html>


More information about the sr-users mailing list