[asterisk-commits] file: trunk r42264 - /trunk/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Sep 7 09:51:12 MST 2006
Author: file
Date: Thu Sep 7 11:51:11 2006
New Revision: 42264
URL: http://svn.digium.com/view/asterisk?rev=42264&view=rev
Log:
Convert some warnings into debug messages since they can exist under perfectly normal circumstances that the user shouldn't care about (issue #7894 reported by stephen_dredge)
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=42264&r1=42263&r2=42264&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Sep 7 11:51:11 2006
@@ -11335,7 +11335,8 @@
ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);
}
} else {
- ast_log(LOG_WARNING, "Strange... The other side of the bridge does not have a udptl struct\n");
+ if (option_debug > 1)
+ ast_log(LOG_DEBUG, "Strange... The other side of the bridge does not have a udptl struct\n");
ast_mutex_lock(&bridgepvt->lock);
bridgepvt->t38.state = T38_DISABLED;
ast_mutex_unlock(&bridgepvt->lock);
@@ -11347,7 +11348,8 @@
}
} else {
/* Other side is not a SIP channel */
- ast_log(LOG_WARNING, "Strange... The other side of the bridge is not a SIP channel\n");
+ if (option_debug > 1)
+ ast_log(LOG_DEBUG, "Strange... The other side of the bridge is not a SIP channel\n");
p->t38.state = T38_DISABLED;
if (option_debug > 1)
ast_log(LOG_DEBUG,"T38 state changed to %d on channel %s\n", p->t38.state, p->owner ? p->owner->name : "<none>");
More information about the asterisk-commits
mailing list