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:
parent
56c27b5a14
commit
4f493d1126
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue