[asterisk-commits] seanbright: trunk r406920 - in /trunk: ./ main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 30 11:35:52 CST 2014


Author: seanbright
Date: Thu Jan 30 11:35:49 2014
New Revision: 406920

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=406920
Log:
Make a NOTICE about an invalid channel name more useful.
........

Merged revisions 406918 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 406919 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/main/manager.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: trunk/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/manager.c?view=diff&rev=406920&r1=406919&r2=406920
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Thu Jan 30 11:35:49 2014
@@ -3656,7 +3656,8 @@
 
 	if (name_or_regex[0] != '/') {
 		if (!(c = ast_channel_get_by_name(name_or_regex))) {
-			ast_log(LOG_NOTICE, "!!!!!!!!!! Can't find channel to hang up!\n");
+			ast_log(LOG_NOTICE, "Request to hangup non-existent channel: %s\n",
+				name_or_regex);
 			astman_send_error(s, m, "No such channel");
 			return 0;
 		}




More information about the asterisk-commits mailing list