From 715e6e5c3548fe59e02cb8666d1781a4735f23c4 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Thu, 11 Jun 2026 19:50:55 +0300 Subject: [PATCH] Fixed missing + sign when making mobile call to international number --- app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt index e99d94dd..75057ec3 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt @@ -1940,11 +1940,7 @@ class BaresipService: Service() { fun handleExternalCall(telecomCall: android.telecom.Call, preferredAor: String? = null) { val rawUri = telecomCall.details.handle?.toString() ?: "Unknown" - val uri = try { - java.net.URLDecoder.decode(rawUri, "UTF-8") - } catch (_: Exception) { - rawUri - } + val uri = Utils.uriUnescape(rawUri) if (uas.value.isEmpty()) { Log.e(TAG, "No User Agents available to handle external call")