return bridge exit logic to what it was before i broke it :-(

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-06-04 03:43:35 +00:00
parent 9c5890a138
commit 5684ba5966

View 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) if (bridge != AST_PBX_NO_HANGUP_PEER)
ast_hangup(peer); ast_hangup(peer);
update_queue(qe->parent, member); update_queue(qe->parent, member);
res = bridge ? -1 : 0; res = bridge ? bridge : 1;
} }
out: out:
hangupcalls(outgoing, NULL); hangupcalls(outgoing, NULL);