diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-24 20:14:07 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-24 20:14:07 +0000 |
commit | 6cb4bd76c17907dae180fa39d7e582b4c5306621 (patch) | |
tree | 8549cf43e6a1323fae24b3d369288ba8f5d2e766 | |
parent | afc9b0873372c1f388534b9ee4be753e9aed376b (diff) |
Remove the "Event: registration" header from Asterisk-generated
SIP REGISTER requests. rjain points out that RFC 3265 specifies
that the Event: header is not a valid header for REGISTER requests
and that the "registration" value is not defined at IANA.
(closes issue #12279)
Reported by: rjain
Patches:
chan_sip.c.diff uploaded by rjain (license 226)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110621 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 2720bcede..6eef59ebc 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -9381,7 +9381,6 @@ static int transmit_register(struct sip_registry *r, int sipmethod, const char * snprintf(tmp, sizeof(tmp), "%d", r->expiry); add_header(&req, "Expires", tmp); add_header(&req, "Contact", p->our_contact); - add_header(&req, "Event", "registration"); add_header_contentLength(&req, 0); initialize_initreq(p, &req); |