From: Mark Michelson Date: Fri, 10 Aug 2012 21:42:36 +0000 (+0000) Subject: Fix a couple of documentation problems in app_queue.c X-Git-Tag: certified/1.8.15-cert1-rc1~3^2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3b16c025bc027ef2fb6932a4293f5852b9c903a;p=thirdparty%2Fasterisk.git Fix a couple of documentation problems in app_queue.c * The RemoveQueueMember app made mention of options that could be passed in, but no options are supported. I have removed the listing of options from the documentation. * The RQMSTATUS variable did not list "NOTDYNAMIC" as a possible value that could be set. (closes issue AST-949) reported by Steve Pitts (closes issue AST-954) reported by Steve Pitts ........ Merged revisions 371141 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/certified/branches/1.8.15@371145 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 4609f6e980..73e3441634 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -304,7 +304,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - If the interface is NOT in the queue it will return an error. @@ -314,6 +313,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") + Example: RemoveQueueMember(techsupport,SIP/3000) @@ -5684,12 +5684,11 @@ static int rqm_exec(struct ast_channel *chan, const char *data) AST_DECLARE_APP_ARGS(args, AST_APP_ARG(queuename); AST_APP_ARG(interface); - AST_APP_ARG(options); ); if (ast_strlen_zero(data)) { - ast_log(LOG_WARNING, "RemoveQueueMember requires an argument (queuename[,interface[,options]])\n"); + ast_log(LOG_WARNING, "RemoveQueueMember requires an argument (queuename[,interface])\n"); return -1; }