From: Olle Johansson Date: Thu, 11 Jan 2007 18:11:09 +0000 (+0000) Subject: Issue #8793 bad response for Unsupported Extension (different fix). X-Git-Tag: 1.2.15~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e738d5a7c4ec3c3bfb039967b62a963d523bc3c;p=thirdparty%2Fasterisk.git Issue #8793 bad response for Unsupported Extension (different fix). git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@50517 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index f6627b9904..8f4f0d1ec5 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4346,6 +4346,8 @@ static int transmit_response_with_unsupported(struct sip_pvt *p, char *msg, stru respprep(&resp, p, msg, req); append_date(&resp); add_header(&resp, "Unsupported", unsupported); + add_header_contentLength(&resp, 0); + add_blank_header(&resp); return send_response(p, &resp, 0, 0); }