]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Enabling and disabling debug messages...
authorOlle Johansson <oej@edvina.net>
Fri, 9 Jun 2006 09:38:13 +0000 (09:38 +0000)
committerOlle Johansson <oej@edvina.net>
Fri, 9 Jun 2006 09:38:13 +0000 (09:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33173 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index d84768cba23ac10914dc7db39e2bc87401515f42..adb78adae8e3175abed9b8543e6730f1888783ae 100644 (file)
@@ -2893,6 +2893,9 @@ static int sip_hangup(struct ast_channel *ast)
                else 
                        ast_log(LOG_DEBUG, "Hangup call %s, SIP callid %s)\n", ast->name, p->callid);
        }
+       if (option_debug && ast_test_flag(ast, AST_FLAG_ZOMBIE)) {
+               ast_log(LOG_DEBUG, "Hanging up zombie call. Be scared.\n");
+       }
 
        ast_mutex_lock(&p->lock);
        if (option_debug && sipdebug)
@@ -5260,8 +5263,6 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p)
                if (!(capability & x))  /* Codec not requested */
                        continue;
 
-               ast_log(LOG_DEBUG, "--- Checking codec ... %d\n", x);
-
                if (alreadysent & x)    /* Already added to SDP */
                        continue;