[Home]

Summary:ASTERISK-26671: app_queue: QueueMemberStatus event missing
Reporter:Roland Rusch (rrusch)Labels:
Date Opened:2016-12-22 09:40:51.000-0600Date Closed:
Priority:MajorRegression?
Status:Open/NewComponents:Applications/app_queue
Versions:13.13.1 14.1.2 14.2.1 Frequency of
Occurrence
Constant
Related
Issues:
Environment:CentOS 7Attachments:( 0) debug_26671.log
( 1) dialplan.conf
( 2) fimapbx_manager.conf
( 3) fimapbx_queues.conf
( 4) manager.conf
( 5) queuerules.conf
( 6) queues.conf
Description:Hi all.

I'm using Asterisk 14.2.1 (14.1.2 before; same issue) and I'm trying to connect a CTI software via AMI. The software is able to also display the status of the queue member but Asterisk is not sendig the QueueMemberStatus event.

Checked the log of the software and also watched the traffic on the manager port. There is no QueueMemberStatus event.
If i do `queue pause member xxxx` a QueueMemberPause event is sent but no QueueMemberStatus.


This was also posted at community forums: https://community.asterisk.org/t/queuememberstatus-event-missing/69035?u=rrusch


Thank you.

Roland
Comments:By: Asterisk Team (asteriskteam) 2016-12-22 09:40:51.839-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Rusty Newton (rnewton) 2016-12-22 15:22:06.957-0600

"boch" on IRC reports that this issue happens on 13.13.1 as well.

By: Rusty Newton (rnewton) 2016-12-22 15:27:59.375-0600

[~rrusch] , if you can provide some Asterisk logs with the manager events and verbose dialplan logs showing where the event is missing that would be awesome.

Please attach your manager and queue configuration as well as dialplan too.

By: Francisco Seratti (fseratti) 2016-12-22 15:30:07.608-0600

Im having the same problem using 13.13.1 using static members:
{noformat}
[ncp-queue-1]
strategy = ringall
wrapuptime=3
member => SIP/ncp-user-3
member => SIP/ncp-user-6
member => SIP/ncp-user-22
{noformat}
Running on Centos 6.8.

This are the events received as i queue a call by hand via CLI:
{noformat}
Newchannel
Newchannel
Newexten
LocalBridge
Newexten
DialBegin
Newstate
DeviceStateChange
Newexten
Newstate
DeviceStateChange
DialEnd
Newstate
DeviceStateChange
DeviceStateChange
QueueCallerJoin
MusicOnHoldStart
Newchannel
VarSet
AgentCalled
DialBegin
Newexten
MusicOnHoldStart
Newstate
Newexten
Newstate
DialEnd
NewConnectedLine
MusicOnHoldStop
DeviceStateChange
QueueCallerLeave
VarSet
AgentConnect
BridgeCreate
BridgeEnter
BridgeEnter
VarSet
VarSet
VarSet
RTCPReceived
RTCPReceived
RTCPSent
RTCPReceived
RTCPReceived
RTCPSent
RTCPReceived
...
{noformat}

By: Francisco Seratti (fseratti) 2016-12-22 16:14:04.363-0600

Same scenario, i have downgraded to 13.2.0 and still no QueueMemberStatus event FYI.

By: Roland Rusch (rrusch) 2016-12-28 10:25:27.614-0600

This is the log you requested. It was extracted with the following commands:
{code}
logger add channel debug_log_26671 notice,warning,error,debug,verbose,dtmf,dialplan,manager

core set verbose 5

core set debug 5
{code}


At line 1154 the command PauseQueueMember is executed by the dialplan (see file dialplan.conf) which results in an event QueueMemberPause at line 1249. A QueueMemberStatus event is never thrown.