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 =&gt; XXXXXX,2,Goto(aa_6,s,1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>exten =&gt; XXXXXX,1,SetVar(FROM_DID=XXXXXX) <br><br><br>[aa_6]<br>include =&gt; aa_6-custom
<br>exten =&gt; 1,1,Goto(ext-queues,124,1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;&nbsp; if user presses 1 go to customer support queue<br>exten =&gt; 2,1,Goto(ext-queues,124,1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; if user presses 2 go to customer suppor queue<br>exten =&gt; 3,1,Goto(aa_4,s,1)&nbsp;&nbsp;&nbsp;&nbsp; ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if user presses 3
<br>exten =&gt; fax,1,Goto(ext-fax,in_fax,1)&nbsp;&nbsp; ;<br>exten =&gt; h,1,Hangup()&nbsp;&nbsp; ;<br>exten =&gt; i,1,Playback(invalid)&nbsp; ;<br>exten =&gt; i,2,Goto(s,7)&nbsp; ;<br>include =&gt; ext-local<br>include =&gt; app-messagecenter<br>include =&gt; app-directory
<br>exten =&gt; s,1,GotoIf($[${DIALSTATUS} = ANSWER]?4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;<br>exten =&gt; s,2,Answer()&nbsp;&nbsp; ;<br>exten =&gt; s,3,Wait(1)&nbsp;&nbsp;&nbsp; ;<br>exten =&gt; s,4,SetVar(DIR-CONTEXT=general)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;<br>exten =&gt; s,5,DigitTimeout(3)&nbsp;&nbsp;&nbsp; ; tech support main
<br>exten =&gt; s,6,ResponseTimeout(7) ;<br>exten =&gt; s,7,Background(custom/aa_6)&nbsp;&nbsp;&nbsp; ;&nbsp; 'welcome to customer support queue press 1 for tech, press2 for enquiry'<br>exten =&gt; s,8,Wait(1)<br>exten =&gt; s,9,Goto(ext-queues,124,1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; 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 =&gt; ext-queues-custom<br>exten =&gt; 123,1,Answer() ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [NOC queue]
<br>exten =&gt; 123,2,SetCIDName(${CALLERIDNAME})&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;<br>exten =&gt; 123,3,SetVar(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${T<br>IMESTAMP}-${UNIQUEID})&nbsp; ;<br>exten =&gt; 123,4,Queue(123|t|||180)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; NOC
<br>exten =&gt; 123,5,Goto(ext-queues,123,1)&nbsp;&nbsp; ;<br>exten =&gt; 123*,1,Macro(agent-add,123,)&nbsp;&nbsp; ;<br>exten =&gt; 123**,1,Macro(agent-del,123)&nbsp;&nbsp; ;<br>exten =&gt; 124,1,Answer() ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [Customer support queue]
<br>exten =&gt; 124,2,SetCIDName(${CALLERIDNAME})&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;<br>exten =&gt; 124,3,SetVar(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${T<br>IMESTAMP}-${UNIQUEID})&nbsp; ;<br>exten =&gt; 124,4,Queue(124|t|||6) ; csr<br>exten =&gt; 124,5,Goto(ext-queues,123,1)&nbsp;&nbsp; ;
<br>exten =&gt; 124*,1,Macro(agent-add,124,)&nbsp;&nbsp; ;<br>exten =&gt; 124**,1,Macro(agent-del,124)&nbsp;&nbsp; ;<br><br><br>Urgen replies are neded<br><br>Thanks<br><br>