[svn-commits] trunk r36408 - /trunk/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Jun 30 08:29:15 MST 2006


Author: file
Date: Fri Jun 30 10:29:15 2006
New Revision: 36408

URL: http://svn.digium.com/view/asterisk?rev=36408&view=rev
Log:
Fix up a few log messages in chan_sip (issue #7449 reported by tgrman)

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=36408&r1=36407&r2=36408&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri Jun 30 10:29:15 2006
@@ -3286,7 +3286,7 @@
 
 	fmt = ast_getformatbyname(codec);
 	if (fmt) {
-		ast_log(LOG_NOTICE, "Changing codec to '%s' for this call because of ${SIP_CODEC) variable\n", codec);
+		ast_log(LOG_NOTICE, "Changing codec to '%s' for this call because of ${SIP_CODEC} variable\n", codec);
 		if (p->jointcapability & fmt) {
 			p->jointcapability &= fmt;
 			p->capability &= fmt;
@@ -11277,7 +11277,7 @@
 						ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);
 					}
 				} else {
-					ast_log(LOG_WARNING, "Strange... The other side of the bridge don't have udptl struct\n");
+					ast_log(LOG_WARNING, "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);
@@ -13392,7 +13392,8 @@
 	transmit_response(p, "202 Accepted", req);
 
 	if (current.chan1 && current.chan2) {
-		ast_log(LOG_NOTICE, "chan1->name: %s\n", current.chan1->name);
+		if (option_debug)
+			ast_log(LOG_DEBUG, "chan1->name: %s\n", current.chan1->name);
 		pbx_builtin_setvar_helper(current.chan1, "BLINDTRANSFER", current.chan2->name);
 	}
 	if (current.chan2) {



More information about the svn-commits mailing list