summaryrefslogtreecommitdiff
path: root/configs/extensions.conf.sample
diff options
context:
space:
mode:
authorAlec L Davis <sivad.a@paradise.net.nz>2012-09-19 22:33:12 +0000
committerAlec L Davis <sivad.a@paradise.net.nz>2012-09-19 22:33:12 +0000
commit67ca3b912604b61e9a1dfb99c66cfbb9fc35e15f (patch)
tree5e0e36ee29051b4b06946f7c006935dc55b5ed52 /configs/extensions.conf.sample
parent9d4f8abdc61d1f6a29093e5ce188c1487cbe1c81 (diff)
app_queue: Support an 'agent available' hint
Sets INUSE when no free agents, NOT_INUSE when an agent is free. modifes handle_statechange() scan members loop to scan for a free agent and updates the Queue:queuename_avial devstate. Previously exited early if the member was found in the queue. Now Exits later when both a member was found, and a free agent was found. alecdavis (license 585) Reported by: Alec Davis Tested by: alecdavis Review: https://reviewboard.asterisk.org/r/2121/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@373188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/extensions.conf.sample')
-rw-r--r--configs/extensions.conf.sample6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/extensions.conf.sample b/configs/extensions.conf.sample
index b9d21d361..683739a6b 100644
--- a/configs/extensions.conf.sample
+++ b/configs/extensions.conf.sample
@@ -708,6 +708,12 @@ include => demo
;exten => 6600,hint,park:701@parkedcalls
;exten => 6600,1,noop
;
+
+;To subscribe to the availability of a free member in the 'markq' queue.
+;Note: '_avail' is added to the QueueName
+;exten => 8501,hint,Queue:markq_avail
+;exten => 8501,1,Queue(markq)
+
; Some other handy things are an extension for checking voicemail via
; voicemailmain
;