[asterisk-commits] jrose: trunk r361909 - in /trunk: ./ apps/app_queue.c configs/queues.conf.sample
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Apr 11 12:20:13 CDT 2012
Author: jrose
Date: Wed Apr 11 12:20:08 2012
New Revision: 361909
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=361909
Log:
Change default value of 'ignorebusy' on Queue members so that behavior is more like 1.8
Prior to this patch, in order to restore that behavior, a function would have
to be used on the QueueMember to make the ringinuse option do anything, which
is pretty unreasonable.
(closes issue ASTERISK-19536)
reported by: Philippe Lindheimer
Review: https://reviewboard.asterisk.org/r/1860/
........
Merged revisions 361907 from http://svn.asterisk.org/svn/asterisk/branches/10
Modified:
trunk/ (props changed)
trunk/apps/app_queue.c
trunk/configs/queues.conf.sample
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.
Modified: trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_queue.c?view=diff&rev=361909&r1=361908&r2=361909
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed Apr 11 12:20:08 2012
@@ -1716,6 +1716,7 @@
struct member *cur;
if ((cur = ao2_alloc(sizeof(*cur), NULL))) {
+ cur->ignorebusy = 1;
cur->penalty = penalty;
cur->paused = paused;
ast_copy_string(cur->interface, interface, sizeof(cur->interface));
Modified: trunk/configs/queues.conf.sample
URL: http://svnview.digium.com/svn/asterisk/trunk/configs/queues.conf.sample?view=diff&rev=361909&r1=361908&r2=361909
==============================================================================
--- trunk/configs/queues.conf.sample (original)
+++ trunk/configs/queues.conf.sample Wed Apr 11 12:20:08 2012
@@ -74,7 +74,7 @@
; app_queue allows calls to members in a "Unknown" state to be treated as available
; setting check_state_unknown = yes will cause app_queue to query the channel driver
; to better determine the state this only applies to queues with ringinuse or ignorebusy
-; set appropriately.
+; set appropriately.
;
;check_state_unknown = no
;
@@ -497,11 +497,10 @@
;
; If you want the queue to avoid sending calls to members whose devices are
; known to be 'in use' (via the channel driver supporting that device state)
-; uncomment this option. (Note: only the SIP channel driver currently is able
-; to report 'in use'.)
-;
-; A member can have the ignorebusy flag set or unset when ringinuse is set to
-; allow a per member control.
+; uncomment this option. This can be controlled on a per member basis by
+; setting 'ignorebusy' in the QUEUE_MEMBER function. (Note: only the SIP
+; channel driver currently is able to report 'in use'.) (Note: if this option
+; is set to 'no' it will override the per-member 'ignorebusy' setting.
;
; ringinuse = no
;
More information about the asterisk-commits
mailing list