summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2015-03-27 22:34:48 +0000
committerJonathan Rose <jrose@digium.com>2015-03-27 22:34:48 +0000
commitcfbf5fbe918bc34f3d600760fc0b6f13a3a9a0ed (patch)
tree85744fb1dbe038108a1b58323694165577c60bf4
parent1a50d8d4c249b888bd93c256cec53fb7bcf8db1d (diff)
SAC: Add a few basic queues
Review: https://reviewboard.asterisk.org/r/4503/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--configs/basic-pbx/extensions.conf14
-rw-r--r--configs/basic-pbx/modules.conf1
-rw-r--r--configs/basic-pbx/queues.conf19
3 files changed, 34 insertions, 0 deletions
diff --git a/configs/basic-pbx/extensions.conf b/configs/basic-pbx/extensions.conf
index d7fd2c3ca..2ee3f8df7 100644
--- a/configs/basic-pbx/extensions.conf
+++ b/configs/basic-pbx/extensions.conf
@@ -36,6 +36,20 @@ exten = 2565551234,1,Verbose(1, "User ${CALLERID(num)} dialed into remote voicem
same = n,VoiceMailMain(example)
same = n,Hangup()
+; Extension to queue for sales.
+; The queue has a 300 second timeout.
+exten = 2565551200,1,Verbose(1, "User ${CALLERID(num)} dialed the sales queue.")
+ same = n,Answer()
+ same = n,Queue(sales,,,,300)
+ same = n,Goto(operator,1)
+
+; Extension to queue for a customer advocate.
+; The queue has a 1200 second timeout.
+exten = 2565551250,1,Verbose(1, "User ${CALLERID(num)} dialed the customer advocate queue.")
+ same = n,Answer()
+ same = n,Queue(customer_advocate,,,,1200)
+ same = n,Goto(operator,1)
+
[Dialing-Errors]
; Handle any extensions dialed internally that don't otherwise exist.
; Comment out or remove this extension if you would rather have the calls
diff --git a/configs/basic-pbx/modules.conf b/configs/basic-pbx/modules.conf
index c0416a06f..db727b7bd 100644
--- a/configs/basic-pbx/modules.conf
+++ b/configs/basic-pbx/modules.conf
@@ -14,6 +14,7 @@ load = app_verbose.so
load = app_voicemail.so
load = app_directory.so
load = app_confbridge.so
+load = app_queue.so
; Bridging
diff --git a/configs/basic-pbx/queues.conf b/configs/basic-pbx/queues.conf
new file mode 100644
index 000000000..8aaa0b4d1
--- /dev/null
+++ b/configs/basic-pbx/queues.conf
@@ -0,0 +1,19 @@
+[general]
+monitor-type = MixMonitor
+
+;========================Sales Queue ==
+; Calls all sales persons in a ring-all fashion
+[sales]
+strategy=ringall
+member => PJSIP/1109 ; Terry Jules - Director of Sales
+member => PJSIP/1105 ; Garnet Claude - Sales Associate
+member => PJSIP/1112 ; Franny Ocean - Sales Associate
+
+;===================== Customer Advocate Queue ==
+; Calls all customer advocates in a ring-all fashion
+[customer_advocate]
+strategy=ringall
+member => PJSIP/1101 ; Maria Berny - Director of Customer Experience
+member => PJSIP/1115 ; Dusty Williams - Customer Advocate
+member => PJSIP/1102 ; Tommy Briar - Customer Advocate
+