Change incorrect chan_sip zombie hangup debug message. They are all zombies now.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 22 Jun 2012 20:52:54 +0000 (20:52 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 22 Jun 2012 20:52:54 +0000 (20:52 +0000)
........

Merged revisions 369235 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 369236 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369237 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 540dae1..3080bd2 100644 (file)
@@ -6409,13 +6409,7 @@ static int sip_hangup(struct ast_channel *ast)
                return 0;
        }
 
-       if (ast_test_flag(ast_channel_flags(ast), AST_FLAG_ZOMBIE)) {
-               if (p->refer)
-                       ast_debug(1, "SIP Transfer: Hanging up Zombie channel %s after transfer ... Call-ID: %s\n", ast_channel_name(ast), 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_channel_name(ast), p->callid);
+       ast_debug(1, "Hangup call %s, SIP callid %s\n", ast_channel_name(ast), 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)) {