Asterisk 1.8 — queue not recognizing that agent is busy

Home » Asterisk Users » Asterisk 1.8 — queue not recognizing that agent is busy
Asterisk Users 3 Comments

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@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@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

3 thoughts on - 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@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