don't add a colon to the header name (thanks bkw!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming 2005-09-01 21:09:34 +00:00
parent 56c27b5a14
commit 4f493d1126

View file

@ -5256,7 +5256,7 @@ static int transmit_request_with_auth(struct sip_pvt *p, int sipmethod, int seqn
debugging easier. */
if (sipmethod == SIP_BYE) {
if (p->owner && p->owner->hangupcause) {
add_header(&resp, "X-Asterisk-HangupCause:", ast_cause2str(p->owner->hangupcause));
add_header(&resp, "X-Asterisk-HangupCause", ast_cause2str(p->owner->hangupcause));
}
}