[asterisk-commits] trunk r33173 - /trunk/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Jun 9 02:38:14 MST 2006
Author: oej
Date: Fri Jun 9 04:38:13 2006
New Revision: 33173
URL: http://svn.digium.com/view/asterisk?rev=33173&view=rev
Log:
Enabling and disabling debug messages...
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=33173&r1=33172&r2=33173&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri Jun 9 04:38:13 2006
@@ -2893,6 +2893,9 @@
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)
@@ -5259,8 +5262,6 @@
for (x = 1; x <= (needvideo ? AST_FORMAT_MAX_VIDEO : AST_FORMAT_MAX_AUDIO); x <<= 1) {
if (!(capability & x)) /* Codec not requested */
continue;
-
- ast_log(LOG_DEBUG, "--- Checking codec ... %d\n", x);
if (alreadysent & x) /* Already added to SDP */
continue;
More information about the asterisk-commits
mailing list