On Jan 05, 2011 at 15:03, Juha Heinanen <jh(a)tutpro.com> wrote:
Andrei Pelinescu-Onciul writes:
It looks like somehow the 3.0 does not receive
the FIN (local firewall
rules?).
andrei,
i'm not aware of any such firewall rules. it is possible to establish
telnet session to sip port of the other host from both ends. i see from
wireshark dump that sr 3.0 host tried to tcp-resend the invite, but does
not get anything back. in the second case, both hosts reported that the
connection was established.
is it possible to make sr send crlfcrlf keepalive to the tcp connection?
No, you can enable responding to them, but not sending them
(tcp_crlf_ping = yes).
However you could enable tcp level keepalives and on linux you can tune
the intervals, e.g.:
tcp_keepalive = yes
tcp_keepidle = 60
tcp_keepintvl = 10
tcp_keepcnt = 3
Andrei