[asterisk-commits] mmichelson: branch group/CCSS r227236 - in /team/group/CCSS: channels/ main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 3 10:41:28 CST 2009


Author: mmichelson
Date: Tue Nov  3 10:41:24 2009
New Revision: 227236

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=227236
Log:
Remove some unnecessary LOG_NOTICE messages.


Modified:
    team/group/CCSS/channels/chan_sip.c
    team/group/CCSS/main/ccss.c
    team/group/CCSS/main/channel.c

Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=227236&r1=227235&r2=227236
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Tue Nov  3 10:41:24 2009
@@ -19344,7 +19344,6 @@
 					if (p->owner) {
 						/* XXX TEMPORARY! FOR TESTING ONLY */
 						if (ast_get_cc_monitor_policy(p->cc_params) == AST_CC_MONITOR_GENERIC) {
-							ast_log(LOG_NOTICE, "Um, that constant is %s\n", AST_CC_GENERIC_MONITOR_TYPE);
 							ast_queue_cc_frame(p->owner, AST_CC_GENERIC_MONITOR_TYPE, AST_CC_CCBS);
 						}
 						ast_queue_control(p->owner, AST_CONTROL_BUSY);

Modified: team/group/CCSS/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=227236&r1=227235&r2=227236
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Tue Nov  3 10:41:24 2009
@@ -2848,6 +2848,7 @@
 	ast_channel_lock(chan);
 	if (!(recall_datastore = ast_channel_datastore_find(chan, &recall_ds_info, NULL))) {
 		/* Silly! Why did you call this function if there's no recall DS? */
+		ast_log(LOG_NOTICE, "No recall ds\n");
 		ast_channel_unlock(chan);
 		return -1;
 	}
@@ -2863,10 +2864,11 @@
 		 * a legitimate time to declare the recall to be done. In fact,
 		 * that should have been done already.
 		 */
+		ast_log(LOG_NOTICE, "Either nested or ignore set...\n");
 		ast_channel_unlock(chan);
 		return -1;
 	}
-
+	ast_log(LOG_NOTICE, "Um, should be working, right?\n");
 	core_id = recall_data->core_id;
 	ast_channel_unlock(chan);
 	return cc_request_state_change(CC_COMPLETE, core_id, debug);

Modified: team/group/CCSS/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/main/channel.c?view=diff&rev=227236&r1=227235&r2=227236
==============================================================================
--- team/group/CCSS/main/channel.c (original)
+++ team/group/CCSS/main/channel.c Tue Nov  3 10:41:24 2009
@@ -7498,7 +7498,6 @@
 		return -1;
 	}
 	ast_cc_copy_config_params(payload->config_params, ast_channel_get_cc_config_params(chan));
-	ast_log(LOG_NOTICE, "Going to queue a frame with payload %s, %d\n", payload->monitor_type, payload->service);
 	frame.mallocd = AST_MALLOCD_DATA;
 	frame.data.ptr = payload;
 	frame.datalen = sizeof(*payload);




More information about the asterisk-commits mailing list