From: David Vossel Date: Tue, 3 May 2011 18:59:06 +0000 (+0000) Subject: Never put the Require: timer header in an Invite. X-Git-Tag: 1.8.5-rc1~11^2~184 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=981716535a7bd4e5ea6f32c1b196447a31071f88;p=thirdparty%2Fasterisk.git 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/branches/1.8@316217 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e2e384c083..7acb568f9b 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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);