]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: update RT members when the 1st call joins a queue with no agents 43/1843/1
authorCarlos Oliva <carlos.oliva@invoxcontact.com>
Fri, 18 Dec 2015 15:54:41 +0000 (16:54 +0100)
committerMatt Jordan <mjordan@digium.com>
Fri, 18 Dec 2015 19:37:15 +0000 (13:37 -0600)
commit54f6f54a5fc0095a8664a9e4d4cac948c5d9ce44
tree0fc96eeb599d882235847f1e7b44d30cd445fb5e
parente0beaf4e9bcf137861fd07a8c696484cf4f9cf5e
app_queue: update RT members when the 1st call joins a queue with no agents

If a call enters on a queue and the members on that queue are updated in
realtime (ex: using mysql inserting a new agent) the queue members are
never refreshed and the call will stay in the queue until other event occurs.
This happens only if this is the first call of the queue and there is no
agents servicing.
This patch prevent this issue, ensuring realtime members are updated if
there is one call in the queue and no available agents

ASTERISK-25442 #close

Change-Id: If1e036d013a5c1d8b0bf60d71d48fe98694a8682
apps/app_queue.c