Re: [asterisk-users] Asterisk 1.8.7.0- Incorrect information in Queue events-AMI

2011-10-13 Thread Asterisk Man
Opened the issue: ASTERISK-18707

On 10/12/11, Warren Selby wcse...@selbytech.com wrote:
 Just a guess at this point, but I'd say because you had two agents
 registered to the queue, but only one was available?  If you dynamically
 logout the Unavailable agent, it should not show up in the QueueStatus
 response, however if you dynamically log him in then just shut off the
 phone, he'll still be listed as a member even if unavailable.

 Apparently, QueueSummary takes the available status into consideration when
 listing the number of logged in agents. You may be able to make a case that
 this behavior is inconsistent, and thus, a bug, but I could see it going
 either way.

 If you open a ticket on the issue, respond here with the issue id, I'd like
 to track it.

 Thanks,
 --Warren Selby, dCAP

 On Oct 11, 2011, at 11:39 PM, Asterisk Man theasterisk...@gmail.com wrote:

 Thanks Warren,
 I have been using X-lite for member and the system from where it is
 running was down at that time.
 My concern was, if 'Queuestatus' shows two members as logged in for the
 Queue then why not 'Queuesummary'?

 Any other pointer?
 --AM

 On Tue, Oct 11, 2011 at 8:34 PM, Warren Selby wcse...@selbytech.com
 wrote:
 On Tue, Oct 11, 2011 at 12:58 AM, Asterisk Man theasterisk...@gmail.com
 wrote:

 snip

 Event: QueueMember
 Queue: 1
 Name: 3
 Location: SIP/
 Membership: dynamic
 Penalty: 2
 CallsTaken: 0
 LastCall: 0
 Status: 5
 Paused: 0

 I would first troubleshoot why this Queue Member is showing up as Status:
 5 (Unavailable).

 --
 Thanks,
 --Warren Selby, dCAP
 http://www.SelbyTech.com


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

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



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


Re: [asterisk-users] Asterisk 1.8.7.0- Incorrect information in Queue events-AMI

2011-10-12 Thread Warren Selby
Just a guess at this point, but I'd say because you had two agents registered 
to the queue, but only one was available?  If you dynamically logout the 
Unavailable agent, it should not show up in the QueueStatus response, however 
if you dynamically log him in then just shut off the phone, he'll still be 
listed as a member even if unavailable. 

Apparently, QueueSummary takes the available status into consideration when 
listing the number of logged in agents. You may be able to make a case that 
this behavior is inconsistent, and thus, a bug, but I could see it going either 
way. 

If you open a ticket on the issue, respond here with the issue id, I'd like to 
track it. 

Thanks,
--Warren Selby, dCAP

On Oct 11, 2011, at 11:39 PM, Asterisk Man theasterisk...@gmail.com wrote:

 Thanks Warren,
 I have been using X-lite for member and the system from where it is running 
 was down at that time.
 My concern was, if 'Queuestatus' shows two members as logged in for the Queue 
 then why not 'Queuesummary'?
 
 Any other pointer?
 --AM
 
 On Tue, Oct 11, 2011 at 8:34 PM, Warren Selby wcse...@selbytech.com wrote:
 On Tue, Oct 11, 2011 at 12:58 AM, Asterisk Man theasterisk...@gmail.com 
 wrote:
 
 snip 
  
 Event: QueueMember
 Queue: 1
 Name: 3
 Location: SIP/
 Membership: dynamic
 Penalty: 2
 CallsTaken: 0
 LastCall: 0
 Status: 5
 Paused: 0
 
 I would first troubleshoot why this Queue Member is showing up as Status: 5 
 (Unavailable).
 
 -- 
 Thanks,
 --Warren Selby, dCAP
 http://www.SelbyTech.com
 
 
 --
 _
 -- 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
 
 --
 _
 -- 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

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

Re: [asterisk-users] Asterisk 1.8.7.0- Incorrect information in Queue events-AMI

2011-10-11 Thread Warren Selby
On Tue, Oct 11, 2011 at 12:58 AM, Asterisk Man theasterisk...@gmail.comwrote:

snip


 Event: QueueMember
 Queue: 1
 Name: 3
 Location: SIP/
 Membership: dynamic
 Penalty: 2
 CallsTaken: 0
 LastCall: 0
 Status: 5
 Paused: 0


I would first troubleshoot why this Queue Member is showing up as Status: 5
(Unavailable).

-- 
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com http://www.selbytech.com
--
_
-- 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

Re: [asterisk-users] Asterisk 1.8.7.0- Incorrect information in Queue events-AMI

2011-10-11 Thread Asterisk Man
Thanks Warren,
I have been using X-lite for member and the system from where it is running
was down at that time.
My concern was, if 'Queuestatus' shows two members as logged in for the
Queue then why not 'Queuesummary'?

Any other pointer?
--AM

On Tue, Oct 11, 2011 at 8:34 PM, Warren Selby wcse...@selbytech.com wrote:

 On Tue, Oct 11, 2011 at 12:58 AM, Asterisk Man 
 theasterisk...@gmail.comwrote:

 snip


 Event: QueueMember
 Queue: 1
 Name: 3
 Location: SIP/
 Membership: dynamic
 Penalty: 2
 CallsTaken: 0
 LastCall: 0
 Status: 5
 Paused: 0


 I would first troubleshoot why this Queue Member is showing up as Status: 5
 (Unavailable).

 --
 Thanks,
 --Warren Selby, dCAP
 http://www.SelbyTech.com http://www.selbytech.com


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

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

[asterisk-users] Asterisk 1.8.7.0- Incorrect information in Queue events-AMI

2011-10-10 Thread Asterisk Man
Friends,
I was just playing with couple of manager actions for Queue statistics on
Asterisk 1.8.7.0 and found some inconsistency in information(I may be wrong
somewhere interpreting the information!).
Let me paste the outputs of my test for your reference.
=
[1] QueueStatus
action: queuestatus
queue: 1

Response: Success
Message: Queue status will follow

Event: QueueParams
Queue: 1
Max: 0
Strategy: ringall
Calls: 0
Holdtime: 2
TalkTime: 26
Completed: 20
Abandoned: 3
ServiceLevel: 0
ServicelevelPerf: 0.0
Weight: 0

Event: QueueMember
Queue: 1
Name: 2
Location: SIP/1112
Membership: dynamic
Penalty: 1
CallsTaken: 16
LastCall: 1318251310
Status: 1
Paused: 0

Event: QueueMember
Queue: 1
Name: 3
Location: SIP/
Membership: dynamic
Penalty: 2
CallsTaken: 0
LastCall: 0
Status: 5
Paused: 0

Event: QueueStatusComplete
---
[2]QueueSummary
action: queuesummary
queue: 1

Response: Success
Message: Queue summary will follow

Event: QueueSummary
Queue: 1
LoggedIn: 1
Available: 1
Callers: 0
HoldTime: 2
TalkTime: 26
LongestHoldTime: 0

Event: QueueSummaryComplete
---
[3]CLI: Queue Show

10:35:00DEMO* queue show 1
1 has 0 calls (max unlimited) in 'ringall' strategy (2s holdtime, 26s
talktime), W:0, C:20, A:3, SL:0.0% within 0s
Members:
2 (SIP/1112) with penalty 1 (dynamic) (Not in use) has taken 16 calls (last
was 58190 secs ago)
3 (SIP/) with penalty 2 (dynamic) (Unavailable) has taken no calls yet
No Callers
=

You can see,
=Response for action 'Queuestatus' shows 2 members logged in(Event:
QueueMember) for Queue 1, whereas action 'Queuesummary' shows just 1(Event:
QueueSummary Queue: 1 LoggedIn: 1 ...).

Should I open the bug or am I missing something?
Thanks,
--AM
--
_
-- 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