Change incorrect chan_sip zombie hangup debug message. They are all zombies now.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@369235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett
2012-06-22 20:47:12 +00:00
parent 4151dff715
commit 3fd1ede7fc

View File

@@ -6267,13 +6267,7 @@ static int sip_hangup(struct ast_channel *ast)
return 0; return 0;
} }
if (ast_test_flag(ast, AST_FLAG_ZOMBIE)) { ast_debug(1, "Hangup call %s, SIP callid %s\n", ast->name, p->callid);
if (p->refer)
ast_debug(1, "SIP Transfer: Hanging up Zombie channel %s after transfer ... Call-ID: %s\n", ast->name, p->callid);
else
ast_debug(1, "Hanging up zombie call. Be scared.\n");
} else
ast_debug(1, "Hangup call %s, SIP callid %s\n", ast->name, p->callid);
sip_pvt_lock(p); sip_pvt_lock(p);
if (ast_test_flag(&p->flags[0], SIP_INC_COUNT) || ast_test_flag(&p->flags[1], SIP_PAGE2_CALL_ONHOLD)) { if (ast_test_flag(&p->flags[0], SIP_INC_COUNT) || ast_test_flag(&p->flags[1], SIP_PAGE2_CALL_ONHOLD)) {