[Home]

Summary:ASTERISK-02532: app_queue incorrectly reports that no one is answering the queue
Reporter:drmac (drmac)Labels:
Date Opened:2004-10-05 10:34:27Date Closed:2004-11-17 23:07:39.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:My scenario: 1 queue setup with 2 possible agents. Agent 1 is logged in and awaiting a call via AgentCallback. Agent 2 has not logged in.

An outsider (caller A) calls in and is placed in the queue, testqueue. Agent 1's phone rings and Agent1 and A talk.

While they are talking, caller B calls in. Caller B is correctly placed in the queue and hears music, however this shows up in asterisk console:

app_queue.c:743 wait_for_answer: No one is answering queue 'testqueue'

This is incorrect behavior because someone 'is' answering the queue; that person is currently busy with another call.

****** ADDITIONAL INFORMATION ******

The source for app_queue.c shows that instead of getting a LOG_NOTICE(No body is answering) it should be a LOG_DEBUG(Everyone is busy at the moment).

My guess is that somewhere the number of busy agents is not getting calculated correctly.

FYI: I have no Zap cards. I am using zaprtc on a 4 proc, 2.4 kernel machine.
Comments:By: drmac (drmac) 2004-10-05 10:34:53

oh yea..this was confirmed off the -users list by another user.

By: Chris A. Icide (cicide) 2004-10-12 22:22:55

I think this is a symptom of the a different issue.  When you define static members of a queue using the agent technology, the queue does not truly know the status of the agent (is the agent handling a call, is the agent placing an outbound call, is the agent even logged in?).

for example, leavewhenempty will not function if you have static agents defined.

By: Mark Spencer (markster) 2004-10-12 23:19:32

What is the practical significance of this, by the way?

By: drmac (drmac) 2004-10-13 08:20:53

Its deffinatly not a show stopper. The significance to me is simply that if the only agents that are logged in are all on calls and another caller is added to the queue, that the situation gets handled better. Right now it says 'Nobody is answering queue' which is incorrect.

By: rwjblue (rwjblue) 2004-10-25 08:19:27

I just created bug 2719 to address the issue of static members.  

Summary:
When static members are used join empty and leavewhenempty do not function at all.

By: Mark Spencer (markster) 2004-11-07 20:55:49.000-0600

So is this ready to close then?

By: Mark Spencer (markster) 2004-11-16 22:18:27.000-0600

As far as I know this is taken care of.