diff options
author | Jonathan Rose <jrose@digium.com> | 2012-05-18 19:39:54 +0000 |
---|---|---|
committer | Jonathan Rose <jrose@digium.com> | 2012-05-18 19:39:54 +0000 |
commit | ec3b8a1f2799acf4a04b95e12b10923181ae8207 (patch) | |
tree | 14478d8172aa13faa593f24f562a8951c7dce0cc /configs | |
parent | 11348736af2097be6ca9d99f160ead3e85e44ec2 (diff) |
app_queue: Per Member ringinuse option and deprecation of ignorebusy
Adds a number of methods for controlling the setting of 'ringinuse'
which is basically the same concept as the old ignorebusy setting,
only now the per member setting always controls whether or not the
member is actually ringed while in use. A CLI command and a manager
action have been added to change a given queue member's ringinuse
option while Asterisk is running and the an argument has been added
for adding members with deliberately set ringinuse in queues.conf
Some effort has been made to ensure compatability with dialplans and
databases still referring to 'ignorebusy'.
(issue ASTERISK-19536)
reported by: Philippe Lindheimer
Review: https://reviewboard.asterisk.org/r/1919/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@367080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r-- | configs/queues.conf.sample | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/configs/queues.conf.sample b/configs/queues.conf.sample index 051a09fbe..e73dab200 100644 --- a/configs/queues.conf.sample +++ b/configs/queues.conf.sample @@ -73,8 +73,8 @@ monitor-type = MixMonitor ; ; 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. +; to better determine the state this only applies to queues with ringinuse set +; appropriately. ; ;check_state_unknown = no ; @@ -504,10 +504,11 @@ monitor-type = MixMonitor ; 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. 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. -; +; setting 'ringinuse' on that member. This can be done in the member definition, +; in the 'ringinuse' field on a realtime member, via the QUEUE_MEMBER dialplan +; function, or with CLI/AMI. By default, the per member value will be the same +; as the queue's ringinuse value if it isn't set on the member deliberately. +; (Note: only the SIP channel driver currently is able to report 'in use'.) ; ringinuse = no ; ; If you wish to have a delay before the member is connected to the caller (or @@ -551,12 +552,15 @@ monitor-type = MixMonitor ; must also preload pbx_config.so and chan_local.so (or pbx_ael.so, pbx_lua.so, ; or pbx_realtime.so, depending on how your dialplan is configured). ; +; syntax: member => interface,[,penalty][,membername][,state_interface][,ringinuse] +; ;member => DAHDI/1 ;member => DAHDI/2,10 ;member => DAHDI/3,10,Bob Johnson ;member => Agent/1001 ;member => Agent/1002 ;member => Local/1000@default,0,John Smith,SIP/1000 +;member => Local/2000@default,0,Lorem Ipsum,SIP/2000,no ; ; Note that using agent groups is probably not what you want. Strategies do |