diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 0a9c82eff7..f2ae8f0f71 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -753,7 +753,7 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat } } - if (oglobals->hups + pickups == len) { + if (oglobals->hups > 0 && oglobals->hups + pickups == len) { rval = 0; } else { rval = 1;