Hi everyone<br>I am having problems with my call queue<br>We currently run a customer care call center which has attendants login during the daytime. Customers who call the 'customer care line (a specific number) always get routed to the cutomer care queue (called 124). After hours, staffs of the Network operating center provide customer care services for customers who call in after the last customer care staff logs out of the call queue
<br><br>During the day time, calls must not (under any circumstances) be routed to the Network OC for any reasons<br><br>My pressent implementation works after hours, when no noe islogged in but calls still get routed to the NOC during the Day time. This is caused by the timeout value that i set.
<br><br>What can i do to remedy this or is there a way to query * if there are logged on users? (something like CHANISAVAIL apps)<br><br><br>here are some of my configurations!!<br><br>This is where calls enter the * PBX, the 'XXXXXX' represent the zap number assigned by our telco
<br>======================================================================<br>[ext-did]<br>exten => XXXXXX,2,Goto(aa_6,s,1) <br>exten => XXXXXX,1,SetVar(FROM_DID=XXXXXX) <br><br><br>[aa_6]<br>include => aa_6-custom
<br>exten => 1,1,Goto(ext-queues,124,1) ; if user presses 1 go to customer support queue<br>exten => 2,1,Goto(ext-queues,124,1) ; if user presses 2 go to customer suppor queue<br>exten => 3,1,Goto(aa_4,s,1) ; if user presses 3
<br>exten => fax,1,Goto(ext-fax,in_fax,1) ;<br>exten => h,1,Hangup() ;<br>exten => i,1,Playback(invalid) ;<br>exten => i,2,Goto(s,7) ;<br>include => ext-local<br>include => app-messagecenter<br>include => app-directory
<br>exten => s,1,GotoIf($[${DIALSTATUS} = ANSWER]?4) ;<br>exten => s,2,Answer() ;<br>exten => s,3,Wait(1) ;<br>exten => s,4,SetVar(DIR-CONTEXT=general) ;<br>exten => s,5,DigitTimeout(3) ; tech support main
<br>exten => s,6,ResponseTimeout(7) ;<br>exten => s,7,Background(custom/aa_6) ; 'welcome to customer support queue press 1 for tech, press2 for enquiry'<br>exten => s,8,Wait(1)<br>exten => s,9,Goto(ext-queues,124,1) ; at timeout goto customer support queue
<br><br><br><br><br><br>This is where all the queue calls are routed<br>================================<br>[ext-queues]<br>include => ext-queues-custom<br>exten => 123,1,Answer() ; [NOC queue]
<br>exten => 123,2,SetCIDName(${CALLERIDNAME}) ;<br>exten => 123,3,SetVar(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${T<br>IMESTAMP}-${UNIQUEID}) ;<br>exten => 123,4,Queue(123|t|||180) ; NOC
<br>exten => 123,5,Goto(ext-queues,123,1) ;<br>exten => 123*,1,Macro(agent-add,123,) ;<br>exten => 123**,1,Macro(agent-del,123) ;<br>exten => 124,1,Answer() ; [Customer support queue]
<br>exten => 124,2,SetCIDName(${CALLERIDNAME}) ;<br>exten => 124,3,SetVar(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${T<br>IMESTAMP}-${UNIQUEID}) ;<br>exten => 124,4,Queue(124|t|||6) ; csr<br>exten => 124,5,Goto(ext-queues,123,1) ;
<br>exten => 124*,1,Macro(agent-add,124,) ;<br>exten => 124**,1,Macro(agent-del,124) ;<br><br><br>Urgen replies are neded<br><br>Thanks<br><br>