From 3658648cead7c8d54dc98112f0b1372f1d612d13 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Jun 2024 18:28:15 +0200 Subject: [PATCH] One more cancellation --- src/VoIPController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;