From d8d73e14ae5a6956847ab6c13431315b6c209ba8 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Tue, 23 Jun 2026 09:54:51 +0300 Subject: [PATCH] Remove incoming call notification when call is declined --- app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt index 008ef137..c7b97b1c 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt @@ -636,6 +636,7 @@ class BaresipService: Service() { "Call Reject" -> { val callp = intent!!.getLongExtra("callp", 0L) val call = Call.ofCallp(callp) + nm.cancel(CALL_NOTIFICATION_ID) stopRinging() stopMediaPlayer() if (call == null) {