mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-18 15:28:33 +00:00
end faster when only pickup endpoints are left
This commit is contained in:
1 parent
d8fc88ea75
commit
c698de5c07
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user