]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Enable Session-Timers for SIP over TCP (and TLS). 32/3232/2
authorAlexander Traud <pabstraud@compuserve.com>
Tue, 19 Jul 2016 11:30:39 +0000 (13:30 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Fri, 22 Jul 2016 09:22:00 +0000 (11:22 +0200)
commitc87e7bebea1a0a984e356ef566cd63d7ce124fe0
treefad9bea4e5691e073f88042e9ca6a561b21f8854
parent46a63cc739574be032139928fe5d234faf42ddcb
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