]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Never put the Require: timer header in an Invite.
authorDavid Vossel <dvossel@digium.com>
Tue, 3 May 2011 18:59:06 +0000 (18:59 +0000)
committerDavid Vossel <dvossel@digium.com>
Tue, 3 May 2011 18:59:06 +0000 (18:59 +0000)
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/branches/1.8@316217 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index e2e384c0831b080509d74960c01aa677b666b325..7acb568f9b92654e17c69809e4112786c299d830 100644 (file)
@@ -9945,7 +9945,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);