diff --git a/apps/app_queue.c b/apps/app_queue.c index 69cd79002c..0c5757d5d9 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -549,7 +549,7 @@ ASTERISK_REGISTER_FILE() Count number of members answering a queue. - + @@ -565,13 +565,22 @@ ASTERISK_REGISTER_FILE() Returns the total number of members for the specified queue. - Gets or sets queue member penalty. + Gets or sets queue member penalty. If + queuename is not specified + when setting the penalty then the penalty is set in all queues + the interface is a member. - Gets or sets queue member paused status. + Gets or sets queue member paused status. If + queuename is not specified + when setting the paused status then the paused status is set + in all queues the interface is a member. - Gets or sets queue member ringinuse. + Gets or sets queue member ringinuse. If + queuename is not specified + when setting ringinuse then ringinuse is set + in all queues the interface is a member. @@ -579,10 +588,8 @@ ASTERISK_REGISTER_FILE() Allows access to queue counts [R] and member information [R/W]. - - queuename is required for all operations - interface is required for all member operations. - + queuename is required for all read operations. + interface is required for all member operations. Queue @@ -8147,9 +8154,6 @@ static int queue_function_mem_read(struct ast_channel *chan, const char *cmd, ch static int queue_function_mem_write(struct ast_channel *chan, const char *cmd, char *data, const char *value) { int memvalue; - struct call_queue *q; - struct member *m; - char rtvalue[80]; AST_DECLARE_APP_ARGS(args, AST_APP_ARG(queuename); @@ -8158,65 +8162,48 @@ static int queue_function_mem_write(struct ast_channel *chan, const char *cmd, c ); if (ast_strlen_zero(data)) { - ast_log(LOG_ERROR, "Missing argument. QUEUE_MEMBER(,