From: Joshua Colp Date: Thu, 8 May 2014 00:35:45 +0000 (+0000) Subject: app_queue: Extend documentation for various Manager actions and events. X-Git-Tag: 12.3.0-rc1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85637ed389f692ba4b981604ccb1cb495e511544;p=thirdparty%2Fasterisk.git app_queue: Extend documentation for various Manager actions and events. ........ Merged revisions 413485 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 413486 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@413487 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 7a8849c711..4dceec1dee 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -736,6 +736,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") + Show queues information. @@ -744,10 +745,15 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - - + + Limit the response to the status of the specified queue. + + + Limit the response to the status of the specified member. + + Check the status of one or more queues. @@ -756,9 +762,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - + + Queue for which the summary is requested. + + Request the manager to send a QueueSummary event. @@ -767,11 +776,21 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - - - - - + + Queue's name. + + + The name of the interface (tech/name) to add to the queue. + + + A penalty (number) to apply to this member. Asterisk will distribute calls to members with higher penalties only after attempting to distribute calls to those with lower penalty. + + + To pause or not the member initially (true/false or 1/0). + + + Text alias for the interface. + @@ -783,8 +802,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - - + + The name of the queue to take action on. + + + The interface (tech/name) to remove from queue. + @@ -795,12 +818,21 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - - - - + + The name of the interface (tech/name) to pause or unpause. + + + Pause or unpause the interface. Set to 'true' to pause the member or 'false' to unpause. + + + The name of the queue in which to pause or unpause this member. If not specified, the member will be paused or unpaused in all the queues it is a member of. + + + Text description, returned in the event QueueMemberPaused. + + Pause or unpause a member in a queue. @@ -824,11 +856,18 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - - - + + The interface (tech/name) of the member whose penalty to change. + + + The new penalty (number) for the member. Must be nonnegative. + + + If specified, only set the penalty for the member of this queue. Otherwise, set the penalty for the member in all queues to which the member belongs. + + Change the penalty of a queue member @@ -850,9 +889,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - + + The name of the rule in queuerules.conf whose contents to list. + + List queue rules defined in queuerules.conf @@ -861,20 +903,25 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - + + The name of the queue to take action on. If no queue name is specified, then all queues are affected. + + Whether to reload the queue's members. + Whether to reload queuerules.conf + Whether to reload the other queue options. @@ -890,9 +937,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - + + The name of the queue on which to reset statistics. + + Reset the statistics for a queue. diff --git a/main/manager.c b/main/manager.c index 7c285316c6..5114b72a01 100644 --- a/main/manager.c +++ b/main/manager.c @@ -847,6 +847,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Check if module is loaded. + Asterisk module name (not including extension).