[asterisk-commits] oej: trunk r92160 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 10 08:18:21 CST 2007


Author: oej
Date: Mon Dec 10 08:18:21 2007
New Revision: 92160

URL: http://svn.digium.com/view/asterisk?view=rev&rev=92160
Log:
Removing some LOG_DEBUG items

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=92160&r1=92159&r2=92160
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Dec 10 08:18:21 2007
@@ -4072,8 +4072,7 @@
 		return 0;
 	}
 	if (ast_test_flag(ast, AST_FLAG_ANSWERED_ELSEWHERE)) {
-		if (option_debug)
-			ast_log(LOG_DEBUG, "This call was answered elsewhere");
+		ast_debug(1, "This call was answered elsewhere");
 		append_history(p, "Cancel", "Call answered elsewhere");
 		p->answered_elsewhere = TRUE;
 	}
@@ -8480,8 +8479,7 @@
 	}
 	r->regstate = auth ? REG_STATE_AUTHSENT : REG_STATE_REGSENT;
 	r->regattempts++;	/* Another attempt */
-	if (option_debug > 3)
-		ast_verbose("REGISTER attempt %d to %s@%s\n", r->regattempts, r->username, r->hostname);
+	ast_debug(4, "REGISTER attempt %d to %s@%s\n", r->regattempts, r->username, r->hostname);
 	return send_request(p, &req, XMIT_CRITICAL, p->ocseq);
 }
 




More information about the asterisk-commits mailing list