[Home]

Summary:ASTERISK-22604: app_queue is dependent upon AMI subscribing to stasis.
Reporter:Richard Mudgett (rmudgett)Labels:
Date Opened:2013-09-26 17:50:49Date Closed:2013-10-08 10:21:08
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:Applications/app_queue
Versions:12.0.0-alpha1 Frequency of
Occurrence
Frequent
Related
Issues:
Environment:Attachments:
Description:The https://reviewboard.asterisk.org/r/2888/ review changes manager to not subscribe to stasis when it is disabled for performance reasons.  When manager is disabled, app_queue now gets the following error message when a device state changes:
{noformat}
ERROR[]: stasis.c:790 stasis_log_bad_type_access: Use of queue_member_status_type() before init/after destruction
{noformat}

The app_queue.c load_module() needs to clean up itself when it declines to load.  In this case it is still subscribed to stasis for device state changes.  It also needs to be made independent of manager being enabled.
Comments: