aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2011-05-03 19:00:26 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2011-05-03 19:00:26 +0000
commit1cbc0e418c479fe9911c299c2e4cb15fcb233297 (patch)
tree65944cdd3ace0b96f5c01a2b0ceca01b17626883 /channels
parentc5f4332a6af2672b51aae1d84270c0a216ceb39a (diff)
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: http://svn.digium.com/svn/asterisk/trunk@316218 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 473cdce6f..17f2092ae 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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);