aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-09 09:38:13 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-09 09:38:13 +0000
commit4d60c4a7a3a181654c7d7c1b40c827368d94424f (patch)
tree83a335eb4aa8023711971757973598185d7d1f18 /channels
parent28edaed6ae12e6d69d51eac950aee9c2ee0391ab (diff)
Enabling and disabling debug messages...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33173 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index d84768cba..adb78adae 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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;