diff --git a/src/VoIPController.php b/src/VoIPController.php index 6ad16d7de..8ddf23671 100644 --- a/src/VoIPController.php +++ b/src/VoIPController.php @@ -310,7 +310,7 @@ final class VoIPController return $this; } catch (CallAlreadyDeclinedError) { $this->log(Lang::$current_lang['call_already_declined']); - $this->discard(DiscardReason::HANGUP, cancellation: $cancellation); + $this->discard(DiscardReason::HANGUP); return $this; } $this->call['b'] = $b;