]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Enable Session-Timers for SIP over TCP (and TLS). 31/3231/2
authorAlexander Traud <pabstraud@compuserve.com>
Fri, 22 Jul 2016 10:46:02 +0000 (12:46 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Fri, 22 Jul 2016 10:50:12 +0000 (12:50 +0200)
commit66c9dfb272322b21192f58383ae519ceb44e474c
tree4fc26f5ee6775904edd6d883d9bb20763538445f
parent0de05c2938882de417abd56e4d4fb56f7fc90ae0
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
CHANGES
channels/chan_sip.c