Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 408874) +++ channels/chan_sip.c (working copy) @@ -26711,6 +26711,13 @@ res = ast_io_wait(io, res); if (res > 20) ast_debug(1, "chan_sip: ast_io_wait ran %d all at once\n", res); + { + int delay = 1024*1024*1024; + ast_log(LOG_ERROR, "doing delay\n"); + while (--delay) { + } + ast_log(LOG_ERROR, "done with delay\n"); + } ast_mutex_lock(&monlock); res = ast_sched_runq(sched); if (res >= 20)