[Home]

Summary:ASTERISK-27486: Static members lost "pause" on asterisk restart or module unload/load
Reporter:wushumasters (wushumasters)Labels:
Date Opened:2017-12-17 06:25:21.000-0600Date Closed:2017-12-22 09:26:39.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_queue
Versions:13.17.0 13.18.4 Frequency of
Occurrence
Related
Issues:
Environment:Debian 8 64 bits Attachments:
Description:Hi,

When i use static members on queue, after restart asterisk or unload/load app_queue, all mebers need to be paused again

ebian8-teste*CLI> queue show TESTE
TESTE has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:1, C:0, A:0, SL:0.0% within 60s
  Members:
     SIP/1140634444 (Local/9998@queue-dial from SIP/1140634444) (ringinuse enabled) (paused) (Not in use) has taken no calls yet
  No Callers

debian8-teste*CLI> module unload app_queue.so
debian8-teste*CLI> module load app_queue.so
debian8-teste*CLI> queue show TESTE
TESTE has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:1, C:0, A:0, SL:0.0% within 60s
  Members:
     SIP/1140634444 (Local/9998@queue-dial from SIP/1140634444) (ringinuse enabled) (Not in use) has taken no calls yet
  No Callers

The option "persistentmembers" is "yes"

Sorry my english

Thanks
Comments:By: Asterisk Team (asteriskteam) 2017-12-17 06:25:22.544-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: Joshua C. Colp (jcolp) 2017-12-22 07:49:52.592-0600

The "persistent members" functionality is only applicable to members added dynamically. It does not apply to static members and thus does not persist pause state.

This would be a feature request to change that behavior (probably behind another option, and it would require further changes).

Is this something you would be interested in doing? Otherwise we don't accept feature requests on the issue tracker.

By: wushumasters (wushumasters) 2017-12-22 09:22:59.498-0600

Joshua,

I do not have the knowledge to do this.

Thanks



By: Joshua C. Colp (jcolp) 2017-12-22 09:26:39.735-0600

As this is a feature request I'm suspending this for now. If someone would like to pick it up they can comment and we can reopen it.