]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
automerge commit
authorAutomerge script <automerge@asterisk.org>
Sun, 4 Jun 2006 04:05:13 +0000 (04:05 +0000)
committerAutomerge script <automerge@asterisk.org>
Sun, 4 Jun 2006 04:05:13 +0000 (04:05 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@31951 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 53929b309dd43737da1f98312697f263e4b7961e..6e943f31b6b563a3cf09ea788b60830b19367cce 100644 (file)
@@ -2431,7 +2431,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
                if (bridge != AST_PBX_NO_HANGUP_PEER)
                        ast_hangup(peer);
                update_queue(qe->parent, member);
-               res = bridge ? -1 : 0;
+               res = bridge ? bridge : 1;
        }       
 out:
        hangupcalls(outgoing, NULL);