]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Fix session timeout on retransmit of non-UDP packets 91/3891/2
authorSteve Davies <steve@one47.co.uk>
Tue, 13 Sep 2016 10:34:47 +0000 (11:34 +0100)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 13 Sep 2016 15:55:43 +0000 (10:55 -0500)
commit98e42cc6624a02bede84c38772412b6ff9d8fa2f
tree0b4245a60e6e76ab8f789e9872b076d10689282b
parentc833c1fda126870cd9c59461063923558b6b9c6e
chan_sip: Fix session timeout on retransmit of non-UDP packets

Change-Id I1cd33453c77c56c8e1394cd60a6f17bb61c1d957 Enable Session-Timers for
SIP over TCP (and TLS) also disables SIP retransmits in chan_sip for non-UDP
connections, allowing the TCP layer to handle the retransmits. Unfortunately,
this caused sessions to be terminated with a retransmit timeout becasue it
stopped at the point of the first retrans call.

This patch waits for the 64*T1 timer to expire instead.

ASTERISK-19968

Change-Id: I844f26801aada10bc94e9bebe6e151f0a8443204
channels/chan_sip.c