From dddc8a22f6ac6e5c72806843889f6cf058c1f2fd Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Tue, 21 Apr 2026 12:01:07 +0300 Subject: [PATCH] Allow perticipant to hold/unhold from/to conference call --- app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt index e216da4d..768daa31 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt @@ -888,16 +888,11 @@ class BaresipService: Service() { return } "call update" -> { - if (call!!.conferenceCall) { - Log.d(TAG, "Refusing to update conference call ${call.callp}") - Api.bevent_stop(ev[2].toLong()) - return - } val newHeldState = when (ev[1].toInt()) {Api.SDP_INACTIVE, Api.SDP_RECVONLY -> true else -> false } val connection = ConnectionService.connections[callp] - if (call.held && !newHeldState) { + if (call!!.held && !newHeldState) { Log.d(TAG, "Call ${call.callp} un-held by peer.") call.onhold = false // Use a Coroutine with a small delay to let the SIP