diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-11 18:11:09 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-11 18:11:09 +0000 |
commit | 108cf02586d5f5ea1c8c32071b43321acfbb48c1 (patch) | |
tree | 784fb370253cf27150c4b5cb81084aab76d8468c /channels | |
parent | 9bfb024dbf233c34adb4505f810b75970f00d2b4 (diff) |
Issue #8793 bad response for Unsupported Extension (different fix).
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50517 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index f6627b990..8f4f0d1ec 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); } |