Le Tue, 10 Mar 2015 21:26:31 +0200,
Juha Heinanen <jh(a)tutpro.com> a écrit :
Camille Oudot writes:
when usrloc loads the contacts from database, the
record's
tcpconn_id field is set to -1 (=invalid). Therefore we don't try to
close this connection even if close_expired_tcp is set to 1.
But anyway when using SIP over TCP, if the server restarts, the TCP
connections are closed. So I would not even bother fetching the
usrloc records from the DB at startup, since they are not valid
anymore (most UAs will try to re-REGISTER if the connection is
lost).
sorry, i meant when db_mode=3 is used.
I don't see any DB column for storing the internal TCP connection id,
so I guess the close_expired_tcp will not work for db_mode=3.
--
Camille