mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 14:56:58 +00:00
Merged revisions 316217 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r316217 | dvossel | 2011-05-03 13:59:06 -0500 (Tue, 03 May 2011) | 9 lines Never put the Require: timer header in an Invite. This has already been discussed and should have been resolved earlier. View revsion 285565's log for more information about why it is important to not put timer in the Require header. (closes issue #18704) Reported by: mfrager ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@316218 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -10160,7 +10160,6 @@ static int reqprep(struct sip_request *req, struct sip_pvt *p, int sipmethod, in
|
||||
char se_hdr[256];
|
||||
snprintf(se_hdr, sizeof(se_hdr), "%d;refresher=%s", p->stimer->st_interval,
|
||||
strefresher2str(p->stimer->st_ref));
|
||||
add_header(req, "Require", "timer");
|
||||
add_header(req, "Session-Expires", se_hdr);
|
||||
snprintf(se_hdr, sizeof(se_hdr), "%d", st_get_se(p, FALSE));
|
||||
add_header(req, "Min-SE", se_hdr);
|
||||
|
Reference in New Issue
Block a user