]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Enable Session-Timers for SIP over TCP (and TLS). 93/3893/1
authorAlexander Traud <pabstraud@compuserve.com>
Fri, 22 Jul 2016 10:46:02 +0000 (12:46 +0200)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 13 Sep 2016 18:48:28 +0000 (13:48 -0500)
commitb3802e68b89cb3e42452c2159867b414365f7f5b
treeecf6f93b04693feb25a1babbc867d27f93e533df
parent5ddf0862b467609955b4a65185f28a77b66c2e70
chan_sip: Enable Session-Timers for SIP over TCP (and TLS).

Asterisk defaults to timers=accept/refresher=uas. In that scenario, only in that
scenario, Sessions-Timers (RFC 4028) had no effect via TCP. This change enables
Session-Timers for SIP over TCP (and for SIP over TLS).

However with longer international calls via TCP, the SIP channel might break,
because all hops on the Internet route must stay online (have not a single power
outage, for example). Therefore with Session-Timers enabled (which are enabled
at default), you might see dropped calls. Consequently even with this change,
you might be better-off going for session-timers=refuse in your sip.conf.

ASTERISK-19968 #close

Change-Id: I1cd33453c77c56c8e1394cd60a6f17bb61c1d957
(cherry picked from commit 66c9dfb272322b21192f58383ae519ceb44e474c)
CHANGES
channels/chan_sip.c