[Asterisk-code-review] basic-pbx: Bring forward queue configuration from 13 (...asterisk[16])
Sean Bright
asteriskteam at digium.com
Thu Sep 26 08:21:15 CDT 2019
Hello Jonathan Rose,
I'd like you to do a code review. Please visit
https://gerrit.asterisk.org/c/asterisk/+/12971
to review the following change.
Change subject: basic-pbx: Bring forward queue configuration from 13
......................................................................
basic-pbx: Bring forward queue configuration from 13
Original commit: cfbf5fbe918bc34f3d600760fc0b6f13a3a9a0ed
Change-Id: I34a841d73c429ca8d944481f8dccb756ee231c9c
---
M configs/basic-pbx/extensions.conf
M configs/basic-pbx/modules.conf
A configs/basic-pbx/queues.conf
3 files changed, 34 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/71/12971/1
diff --git a/configs/basic-pbx/extensions.conf b/configs/basic-pbx/extensions.conf
index e1da261..9682e06 100644
--- a/configs/basic-pbx/extensions.conf
+++ b/configs/basic-pbx/extensions.conf
@@ -36,6 +36,20 @@
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 909b7f2..be35e28 100644
--- a/configs/basic-pbx/modules.conf
+++ b/configs/basic-pbx/modules.conf
@@ -14,6 +14,7 @@
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 0000000..8aaa0b4
--- /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
+
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/12971
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I34a841d73c429ca8d944481f8dccb756ee231c9c
Gerrit-Change-Number: 12971
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Jonathan Rose <jrose at digium.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190926/3232ba0e/attachment.html>
More information about the asterisk-code-review
mailing list