mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 04:31:50 +00:00
wait forever when you call a pickup endpoint by itself
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user