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