Don't know how I missed this. Thanks, Daniel!
Best,
Colin
On Tue, Nov 8, 2016 at 3:46 AM Daniel-Constantin Mierla <miconda(a)gmail.com>
wrote:
Hello,
you can set per tcp connection lifetime using tcpops module:
-
https://www.kamailio.org/docs/modules/stable/modules/tcpops.html
You can do that when you get the INVITE, before sending a negative
response from kamailio.cfg. Or, if you relay the invite, set a failure
route for it and do the operation there.
Cheers,
Daniel
On 07/11/16 23:26, Colin Morelli wrote:
Hey all,
Looking to figure out the best way to allow TCP connections to stay alive
for NAT'd clients, however, to protect against people just opening TCP
connections to the server, I'm hoping to only keepalive TCP connections for
connections that have sent an INVITE and received a 200 OK.
Does this type of per-socket connection lifetime setting exist?
For a bit more background: this is specifically for clients that are using
the TCP connection for an INVITE. They don't register with the server, and
as a result there's no active flow timer for their connection. Is there a
way to enable this type of behavior without registering?
Best,
Colin
_______________________________________________
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/miconda
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 -
http://www.asipto.com
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users