strategy "ringall" is really int value of 0, not 1.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25801 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
1eaf7ae6ca
commit
27c5645379
|
@ -1925,7 +1925,7 @@ static int is_our_turn(struct queue_ent *qe)
|
|||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "There are %d available members.\n", avl);
|
||||
|
||||
if (qe->parent->strategy == 1) {
|
||||
if (qe->parent->strategy == 0) {
|
||||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "Even though there are %d available members, the strategy is ringall so only the head call is allowed in!\n", avl);
|
||||
avl = 1;
|
||||
|
|
Reference in New Issue