[asterisk-commits] mmichelson: trunk r157939 - /trunk/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 19 17:29:14 CST 2008


Author: mmichelson
Date: Wed Nov 19 17:29:14 2008
New Revision: 157939

URL: http://svn.digium.com/view/asterisk?view=rev&rev=157939
Log:
Add a RES_NOT_DYNAMIC case for the CLI command 
'queue remove member'


Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=157939&r1=157938&r2=157939
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed Nov 19 17:29:14 2008
@@ -6368,6 +6368,9 @@
 	case RES_OUTOFMEMORY:
 		ast_cli(a->fd, "Out of memory\n");
 		return CLI_FAILURE;
+	case RES_NOT_DYNAMIC:
+		ast_cli(a->fd, "Unable to remove interface '%s' from queue'%s': Member is not dynamic\n", interface, queuename);
+		return CLI_FAILURE;
 	default:
 		return CLI_FAILURE;
 	}




More information about the asterisk-commits mailing list