[asterisk-commits] seanbright: branch 12 r406919 - in /branches/12: ./ main/manager.c

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


Author: seanbright
Date: Thu Jan 30 11:33:58 2014
New Revision: 406919

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

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

Modified:
    branches/12/   (props changed)
    branches/12/main/manager.c

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

Modified: branches/12/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/manager.c?view=diff&rev=406919&r1=406918&r2=406919
==============================================================================
--- branches/12/main/manager.c (original)
+++ branches/12/main/manager.c Thu Jan 30 11:33:58 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