From ba64d68273ecd2425514658e5e02c059506d16aa Mon Sep 17 00:00:00 2001 From: Jonathan Rose Date: Fri, 27 Mar 2015 22:34:48 +0000 Subject: [PATCH] basic-pbx: Bring forward queue configuration from 13 Original commit: cfbf5fbe918bc34f3d600760fc0b6f13a3a9a0ed Change-Id: I34a841d73c429ca8d944481f8dccb756ee231c9c --- configs/basic-pbx/extensions.conf | 14 ++++++++++++++ configs/basic-pbx/modules.conf | 1 + configs/basic-pbx/queues.conf | 19 +++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 configs/basic-pbx/queues.conf diff --git a/configs/basic-pbx/extensions.conf b/configs/basic-pbx/extensions.conf index e1da26185b..9682e062cd 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 909b7f25f9..be35e287af 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 0000000000..8aaa0b4d1c --- /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 +