Fix transfer to parking
authorMark Spencer <markster@digium.com>
Fri, 13 Jun 2003 08:09:43 +0000 (08:09 +0000)
committerMark Spencer <markster@digium.com>
Fri, 13 Jun 2003 08:09:43 +0000 (08:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1087 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 098cd4e..ae47553 100755 (executable)
@@ -718,7 +718,7 @@ static int queue_exec(struct ast_channel *chan, void *data)
                        }
                }
                /* Don't allow return code > 0 */
                        }
                }
                /* Don't allow return code > 0 */
-               if (res > 0)
+               if (res > 0 && res != AST_PBX_KEEPALIVE)
                        res = 0;        
                ast_moh_stop(chan);
                leave_queue(&qe);
                        res = 0;        
                ast_moh_stop(chan);
                leave_queue(&qe);