Remove autohold on successful poll

This commit is contained in:
Deon George 2023-11-22 18:15:06 +11:00
parent b8670a5593
commit 7847728e52

View File

@ -450,6 +450,12 @@ abstract class Protocol
$slo->originate = $this->originate;
$so->logs()->save($slo);
// If we are autohold, then remove that
if ($so->autohold) {
$so->autohold = FALSE;
$so->save();
}
}
// @todo Optional after session execution event