Remove extra lock from app_queue.
authorMark Michelson <mmichelson@digium.com>
Mon, 1 Jun 2009 14:45:43 +0000 (14:45 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 1 Jun 2009 14:45:43 +0000 (14:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198530 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index d19f283..3467947 100644 (file)
@@ -2735,7 +2735,6 @@ static int ring_entry(struct queue_ent *qe, struct callattempt *tmp, int *busies
                strcpy(tmp->chan->cdr->accountcode, qe->chan->cdr->accountcode);
                strcpy(tmp->chan->cdr->userfield, qe->chan->cdr->userfield);
        }
-       ast_channel_unlock(qe->chan);
 
        /* Place the call, but don't wait on the answer */
        if ((res = ast_call(tmp->chan, location, 0))) {