Segfault if head caller times out of queue with moh running (bug 2891)


			
			
				1.0
			
			
		
Russell Bryant 21 years ago
parent 3d48bc2f61
commit 646dc459fa

@ -1704,7 +1704,7 @@ check_turns:
}
}
/* Don't allow return code > 0 */
if (res > 0 && res != AST_PBX_KEEPALIVE) {
if ((res == 0) || (res > 0 && res != AST_PBX_KEEPALIVE)) {
res = 0;
if (ringing) {
ast_indicate(chan, -1);

Loading…
Cancel
Save