aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-17 03:59:27 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-17 03:59:27 +0000
commit96e8d7e68c4f06e57df5a837949c1ff93497ebae (patch)
tree4d7e9ea346b96383d48cfe8b41ca5fd835f498bb /channels
parent00d3b18b92a3b29a3befa9ce7ca9d92cf2adffaa (diff)
Merged revisions 7515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7515 | kpfleming | 2005-12-16 21:59:05 -0600 (Fri, 16 Dec 2005) | 2 lines Max-Forwards headers must only be present on requests, not responses ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7516 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 87226a6d7..dcb7766b0 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -3993,7 +3993,6 @@ static int respprep(struct sip_request *resp, struct sip_pvt *p, char *msg, stru
copy_header(resp, req, "CSeq");
add_header(resp, "User-Agent", default_useragent);
add_header(resp, "Allow", ALLOWED_METHODS);
- add_header(resp, "Max-Forwards", DEFAULT_MAX_FORWARDS);
if (msg[0] == '2' && (p->method == SIP_SUBSCRIBE || p->method == SIP_REGISTER)) {
/* For registration responses, we also need expiry and
contact info */