Todd Fulton
2010-Nov-10 19:09 UTC
[asterisk-users] Asterisk 1.8 -- queue not recognizing that agent is busy
Hi All, I've got a realtime queue in place (strategy is "wrandom"), and have added a member dynamically via "queue add member ". My agent shows in the queue, but when he gets the call is not recognized as "In Use". Here is the output from "queue show" prior to the call: *CLI> queue show QUEUE_3 has 0 calls (max unlimited) in 'wrandom' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s Members: Todd1 (SIP/14153436587 at jnctn) (dynamic) (Not in use) has taken no calls yet No Callers Here is the output when actually connected to the inbound caller: *CLI> queue show QUEUE_3 has 0 calls (max unlimited) in 'wrandom' strategy (1s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s Members: Todd1 (SIP/14153436587 at jnctn) (dynamic) (Not in use) has taken no calls yet No Callers If I make a second inbound call while the agent is still connected to the first, the second call is also routed to the agent. Queue doesn't appear know the agent is already busy. My question: doesn't the Queue application keep track of the agent's interface status? Todd
Carlos Chavez
2010-Nov-10 19:36 UTC
[asterisk-users] Asterisk 1.8 -- queue not recognizing that agent is busy
On Wed, 2010-11-10 at 11:09 -0800, Todd Fulton wrote:> Hi All, > > I've got a realtime queue in place (strategy is "wrandom"), and have > added a member dynamically via "queue add member ". My agent shows in > the queue, but when he gets the call is not recognized as "In Use". > Here is the output from "queue show" prior to the call: > > *CLI> queue show > QUEUE_3 has 0 calls (max unlimited) in 'wrandom' strategy (0s > holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s > Members: > Todd1 (SIP/14153436587 at jnctn) (dynamic) (Not in use) has taken > no calls yet > No Callers > > Here is the output when actually connected to the inbound caller: > > *CLI> queue show > QUEUE_3 has 0 calls (max unlimited) in 'wrandom' strategy (1s > holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s > Members: > Todd1 (SIP/14153436587 at jnctn) (dynamic) (Not in use) has taken > no calls yet > No Callers > > If I make a second inbound call while the agent is still connected to > the first, the second call is also routed to the agent. Queue doesn't > appear know the agent is already busy. > > My question: doesn't the Queue application keep track of the agent's > interface statusDo you have "callcounter = yes" in your sip.conf? -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20101110/4bd399ad/attachment.pgp
Todd Fulton
2010-Nov-10 23:15 UTC
[asterisk-users] Asterisk 1.8 -- queue not recognizing that agent is busy
Hi, Setting "callcounter = yes" in sip.conf definitely made a difference! Now, the agent state goes to Ringing. However, after the call is ended, the state does not change out of Ringing, and new calls do not get routed to the agent any longer. Below is after the 1st call has ended, and while a new call is in the queue waiting: QUEUE_3 has 1 calls (max unlimited) in 'wrandom' strategy (2s holdtime, 2s talktime), W:0, C:1, A:0, SL:0.0% within 0s Members: TODD (SIP/14155331976 at jnctn) (dynamic) (Ringing) has taken 1 calls (last was 38 secs ago) Callers: 1. SIP/vitel-inbound-00000002 (wait: 0:16, prio: 0) I tried the state_interface setting, no go. Any ideas? Todd -------- Original Message -------- Subject: Re: [asterisk-users] Asterisk 1.8 -- queue not recognizing that agent is busy From: Carlos Chavez <cursor at telecomabmex.com> Date: Wed, November 10, 2010 11:36 am To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> On Wed, 2010-11-10 at 11:09 -0800, Todd Fulton wrote:> Hi All, > > I've got a realtime queue in place (strategy is "wrandom"), and have > added a member dynamically via "queue add member ". My agent shows in > the queue, but when he gets the call is not recognized as "In Use". > Here is the output from "queue show" prior to the call: > > *CLI> queue show > QUEUE_3 has 0 calls (max unlimited) in 'wrandom' strategy (0s > holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s > Members: > Todd1 (SIP/14153436587 at jnctn) (dynamic) (Not in use) has taken > no calls yet > No Callers > > Here is the output when actually connected to the inbound caller: > > *CLI> queue show > QUEUE_3 has 0 calls (max unlimited) in 'wrandom' strategy (1s > holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s > Members: > Todd1 (SIP/14153436587 at jnctn) (dynamic) (Not in use) has taken > no calls yet > No Callers > > If I make a second inbound call while the agent is still connected to > the first, the second call is also routed to the agent. Queue doesn't > appear know the agent is already busy. > > My question: doesn't the Queue application keep track of the agent's > interface statusDo you have "callcounter = yes" in your sip.conf? -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 ------------------------------ -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101110/42341ad3/attachment.htm