Remove autohold on successful poll
This commit is contained in:
parent
b8670a5593
commit
7847728e52
@ -450,6 +450,12 @@ abstract class Protocol
|
|||||||
$slo->originate = $this->originate;
|
$slo->originate = $this->originate;
|
||||||
|
|
||||||
$so->logs()->save($slo);
|
$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
|
// @todo Optional after session execution event
|
||||||
|
Loading…
Reference in New Issue
Block a user