mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
fixes app_queue ao2 error
(closes issue #16369) Reported by: vrban Patches: queue_issue_1.4.diff uploaded by dvossel (license 671) Tested by: dvossel git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@232444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1947,7 +1947,7 @@ static int ring_entry(struct queue_ent *qe, struct callattempt *tmp, int *busies
|
||||
|
||||
ao2_lock(qe->parent);
|
||||
qe->parent->rrpos++;
|
||||
ao2_unlock(&qe->parent);
|
||||
ao2_unlock(qe->parent);
|
||||
|
||||
(*busies)++;
|
||||
return 0;
|
||||
@@ -2173,7 +2173,7 @@ static void record_abandoned(struct queue_ent *qe)
|
||||
qe->parent->name, qe->chan->uniqueid, qe->pos, qe->opos, (int)(time(NULL) - qe->start));
|
||||
|
||||
qe->parent->callsabandoned++;
|
||||
ao2_unlock(&qe->parent);
|
||||
ao2_unlock(qe->parent);
|
||||
}
|
||||
|
||||
/*! \brief RNA == Ring No Answer. Common code that is executed when we try a queue member and they don't answer. */
|
||||
|
Reference in New Issue
Block a user