]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Fix SUBSCRIBE with missing "Expires" header.
authorCorey Farrell <git@cfware.com>
Tue, 24 Oct 2017 14:43:15 +0000 (10:43 -0400)
committerCorey Farrell <git@cfware.com>
Tue, 24 Oct 2017 16:03:35 +0000 (11:03 -0500)
commitc95ab4c1ced641738a583a7cd6b29109c3cc7202
tree961f829af21e303146b43c48427c0549a1fe2760
parente7d8b4ebe7d2f0cd9d83fdd44613a8d3ac1b7315
chan_sip: Fix SUBSCRIBE with missing "Expires" header.

When chan_sip receives a SUBSCRIBE request with no "Expires" header it
processes the request as an unsubscribe.  This is incorrect, per RFC3264
when the "Expires" header is missing a default expiry should be used.

ASTERISK-18140

Change-Id: Ibf6dcd4fdd07a32c2bc38be1dd557981f08188b5
channels/chan_sip.c