diff options
author | George Joseph <gjoseph@digium.com> | 2016-05-17 10:14:51 -0600 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2016-05-17 11:59:35 -0500 |
commit | 5bd1bf281604b653134d79e7094c7cec00785ff1 (patch) | |
tree | 2d4b9ae8b3eaf21ef058d560c9b60f6349a142f5 /UPGRADE-1.2.txt | |
parent | 040522100b3332af877e496ab8316993f6f02b4e (diff) |
chan_sip: Prevent extra Session-Expires headers from being added
When chan_sip does a re-INVITE to refresh a session and authentication
is required, the INVITE with the Authorization header containes a
second Session-Expires header without the ";refersher=" parameter.
This is causing some proxies to return a 400. Also, when Asterisk is
the uas and the refresher, it is including the Session-Expires and
Min-SE headers in OPTIONS messages which is not allowed per RFC4028.
This patch (based on the reporter's) Checks to see if a Session-Expires
header is already in the message before adding another one. It also
checks that the method is INVITE or UPDATE.
ASTERISK-26030 #close
Change-Id: I58a7b07bab5a3177748d8a7034fb8ad8e11ce1d9
Diffstat (limited to 'UPGRADE-1.2.txt')
0 files changed, 0 insertions, 0 deletions