Hi Klaus,

sorry for the late reply - I will double check on this.

anyhow, as state before, I prefer not to have any option for a "forever" connection, but rather some script functions to set tcp lifetime on the fly...

regards,
bogdan

Klaus Darilion wrote:
Hi!

I just read an email from Andrei on the ser list:

>That's strange, if tcp_connection_lifetime is not set in ser.cfg, ser
>deletes idle connection after 2 minutes. ser will keep the tcp
>connections forever (well technically not forever, but for several
>years) only if tcp_connection_lifetime is set to -1.

Thus, I guess -1 should work in openser too.

regards
klaus

Bogdan-Andrei Iancu wrote:
there was no such feature ever (as far as I remember); on the other hand I consider it a bit dangerous - keeping endless TCP connections, at global level. maybe a better approach will be to have the ability to set the lifetime from script for the current TCP connection...just a suggestion...

regards,
bogdan

Klaus Darilion wrote:
Bogdan-Andrei Iancu wrote:
Hi Klaus,

AFAIK, there is no such behaviour for 0 value......where do you have this info from?

I can't remember .. maybe it was with ser? Anyway can this implemented?

regards
klaus



regards,
bogdan

Klaus Darilion wrote:
Hi!

I thought setting the tcp_connection_lifetime to 0 should keep them open endlessly, but in my case the proxy closes the TCP connection ~10 seconds after the last SIP message.

What am I doing wrong?

regards
klaus









_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to