From: Jonathan Rose Date: Fri, 27 Mar 2015 22:34:48 +0000 (+0000) Subject: SAC: Add a few basic queues X-Git-Tag: 13.4.0-rc1~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfbf5fbe918bc34f3d600760fc0b6f13a3a9a0ed;p=thirdparty%2Fasterisk.git 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 --- diff --git a/configs/basic-pbx/extensions.conf b/configs/basic-pbx/extensions.conf index d7fd2c3ca3..2ee3f8df74 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 c0416a06ff..db727b7bdb 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 +