[asterisk-bugs] [JIRA] (ASTERISK-22546) Despite persistentmembers=yes, various queue member attributes set with AMI actions or QUEUE_MEMBER function are not stored in ASTDB

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Oct 4 18:09:03 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-22546:
------------------------------------

    Attachment: queue_member_test.txt

Attaching queue_member_test.txt

Tested on SVN-branch-11-r400470 (latest 11 as of 10/4/2013)

Since you seem to possibly identified the issue in the source for the AMI portion, I started by testing with QUEUE_MEMBER since you had not tested that, and tested using pause status rather than penalty.

It fails to save to ASTDB despite the persistentmembers=yes setting in queues.conf

I tested pausing with the CLI commands to compare and those worked just fine, as well as reflecting in the ASTDB.

Looks the issue potentially affects both the QUEUE_MEMBER function and the related Manager commands.
                
> Despite persistentmembers=yes, various queue member attributes set with AMI actions or QUEUE_MEMBER function are not stored in ASTDB
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22546
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22546
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 11.2.1
>         Environment: Debian 6.0.4
>            Reporter: Chano Klinck Andersen
>            Assignee: Rusty Newton
>         Attachments: queue_member_test.txt
>
>
> When a queue has persistent members, and the penalty is changed through the manager interface, the new penalty is not saved to the asterisk database.
> When asterisk is restarted the penalties are lost.
> Steps to recreate:
> * Enable the asterisk manager interface in manager.conf
> * Create one or more queues in queues.conf
> * Add one or more agents to the queue, either via manager or a dialplan function
> * Use the manager interface to change the penalty. (In my case I use the http interface.
> * Restart Asterisk
> After the restart the queue should have been exactly as before the restart, however, after the restart the penalties are lost, and have to be set again.
> Browsing through the source code reveals that dump_queue_members are never called when the penalties (Or ringinuse) are changed through manager.
> I am not using the QUEUE_MEMBER dialplan function to change the penalties, so I do not know if that is affected too.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list