diff options
author | David M. Lee <dlee@digium.com> | 2013-01-31 20:17:15 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-01-31 20:17:15 +0000 |
commit | 5899e13112c59579e5b555ae3fc8f680e192d069 (patch) | |
tree | d9ef0e155e10e5c12784e3d01ade250b3d98946c /res | |
parent | d6e05d5bf3509c3d1c1f8ddb2937acc65db180bc (diff) |
Process session timers, even if Session-Expires header is missing
Previously, Asterisk only processed session timer information if both the
'Supported: timer' and 'Session-Expires' headers were present. However, the
Session-Expires header is optional. If we were to receive a request with a
Min-SE greater than our configured session-expires, we would respond with a
'Session-Expires' header that was too small.
This patch cleans the situation up a bit, always processing timer information
if the 'Supported: timer' header is present.
(closes issue ASTERISK-20787)
Reported by: Mark Michelson
Review: https://reviewboard.asterisk.org/r/2299/
........
Merged revisions 380696 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 380698 from http://svn.asterisk.org/svn/asterisk/branches/11
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@380699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
0 files changed, 0 insertions, 0 deletions