From: Joshua Colp Date: Thu, 8 May 2014 00:34:43 +0000 (+0000) Subject: app_queue: Extend documentation for various Manager actions and events. X-Git-Tag: 11.10.0-rc1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50925e6c24f5d06daf5f177b4b4d4c6b54e401e0;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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@413486 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index e3619067d1..b8d275fcdb 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -722,6 +722,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") + Show queues information. @@ -730,10 +731,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. @@ -742,9 +748,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - + + Queue for which the summary is requested. + + Request the manager to send a QueueSummary event. @@ -753,11 +762,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. + @@ -769,8 +788,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - - + + The name of the queue to take action on. + + + The interface (tech/name) to remove from queue. + @@ -781,12 +804,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. @@ -810,11 +842,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 @@ -838,9 +877,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 @@ -849,20 +891,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. @@ -878,9 +925,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 9387800dce..e26d0743d7 100644 --- a/main/manager.c +++ b/main/manager.c @@ -773,6 +773,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Check if module is loaded. + Asterisk module name (not including extension).