[asterisk-commits] file: trunk r112155 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Apr 1 12:24:46 CDT 2008
Author: file
Date: Tue Apr 1 12:24:45 2008
New Revision: 112155
URL: http://svn.digium.com/view/asterisk?view=rev&rev=112155
Log:
Demote a log message down to a warning.
(closes issue #12345)
Reported by: caio1982
Patches:
limit_msg.diff uploaded by caio1982 (license 22)
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=112155&r1=112154&r2=112155
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Apr 1 12:24:45 2008
@@ -4472,7 +4472,7 @@
/* If call limit is active and we have reached the limit, reject the call */
if (*call_limit > 0 ) {
if (*inuse >= *call_limit) {
- ast_log(LOG_ERROR, "Call %s %s '%s' rejected due to usage limit of %d\n", outgoing ? "to" : "from", u ? "user":"peer", name, *call_limit);
+ ast_log(LOG_WARNING, "Call %s %s '%s' rejected due to usage limit of %d\n", outgoing ? "to" : "from", u ? "user":"peer", name, *call_limit);
if (u)
unref_user(u);
else
More information about the asterisk-commits
mailing list