]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Change incorrect chan_sip zombie hangup debug message. They are all zombies now.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 22 Jun 2012 20:47:12 +0000 (20:47 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 22 Jun 2012 20:47:12 +0000 (20:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@369235 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 992f2d5ef2d7e37d7e70a94a0a9652bf80eafd03..3e5ee2107b6d71e185ad2184882c3fd55782fe6c 100644 (file)
@@ -6267,13 +6267,7 @@ static int sip_hangup(struct ast_channel *ast)
                return 0;
        }
 
-       if (ast_test_flag(ast, AST_FLAG_ZOMBIE)) {
-               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);
+       ast_debug(1, "Hangup call %s, SIP callid %s\n", ast->name, p->callid);
 
        sip_pvt_lock(p);
        if (ast_test_flag(&p->flags[0], SIP_INC_COUNT) || ast_test_flag(&p->flags[1], SIP_PAGE2_CALL_ONHOLD)) {