Skip to content
Snippets Groups Projects
Commit ce10b34c authored by Olle Johansson's avatar Olle Johansson
Browse files

Enabling and disabling debug messages...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent a0bb1743
No related branches found
No related tags found
No related merge requests found
...@@ -2893,6 +2893,9 @@ static int sip_hangup(struct ast_channel *ast) ...@@ -2893,6 +2893,9 @@ static int sip_hangup(struct ast_channel *ast)
else else
ast_log(LOG_DEBUG, "Hangup call %s, SIP callid %s)\n", ast->name, p->callid); 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); ast_mutex_lock(&p->lock);
if (option_debug && sipdebug) if (option_debug && sipdebug)
...@@ -5260,8 +5263,6 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p) ...@@ -5260,8 +5263,6 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p)
if (!(capability & x)) /* Codec not requested */ if (!(capability & x)) /* Codec not requested */
continue; continue;
   
ast_log(LOG_DEBUG, "--- Checking codec ... %d\n", x);
if (alreadysent & x) /* Already added to SDP */ if (alreadysent & x) /* Already added to SDP */
continue; continue;
   
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment