[asterisk-bugs] [JIRA] (ASTERISK-25442) using realtime queue agents do not be updated if there are changes in DB
Carlos Oliva (JIRA)
noreply at issues.asterisk.org
Mon Oct 5 01:09:32 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227763#comment-227763 ]
Carlos Oliva edited comment on ASTERISK-25442 at 10/5/15 1:08 AM:
------------------------------------------------------------------
This issue can be easily avoided adding in wait_our_turn function of app_queue.c the line update_realtime_members(qe->parent); inside the infinite loop. It can increase the database load, so I think should be better if this update is done for example each 5 iterations of the loop (more or less each 5 seconds)
I'll try to make a code contribution
was (Author: coliva):
This issue was easily was avoided adding in wait_our_turn function of app_queue.c the line update_realtime_members(qe->parent);
I'll try to make a code contribution
> using realtime queue agents do not be updated if there are changes in DB
> ------------------------------------------------------------------------
>
> Key: ASTERISK-25442
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25442
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_queue
> Affects Versions: 1.8.25.0, 13.4.0
> Environment: Debian 7.9
> Reporter: Carlos Oliva
> Severity: Minor
>
> using realtime (mysql) queue members are never updated in wait_our_turn function (app_queue.c)
> Asterisk never refreshes queue members from db until another event occurs (for example a new call joins the queue or a queue show is executed in cli)
> This issue causes that if a call enters the queue and a new queue member is inserted in database after it, this member never will receive the call until new call joins the queue
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list