From e396ebeb909bb4e92e0eece8de1379e842ff837e Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Wed, 13 May 2026 06:41:39 +0300 Subject: [PATCH] Fixed rejected call status --- app/src/main/kotlin/com/tutpro/baresip/Call.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/kotlin/com/tutpro/baresip/Call.kt b/app/src/main/kotlin/com/tutpro/baresip/Call.kt index 9fcec05d..79aa72c6 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/Call.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/Call.kt @@ -163,6 +163,7 @@ open class Call(val callp: Long, val ua: UserAgent, val peerUri: String, val dir } open fun reject() { + this.rejected = true hangup(486, "Busy Here") } @@ -202,6 +203,7 @@ open class Call(val callp: Long, val ua: UserAgent, val peerUri: String, val dir } override fun reject() { + this.rejected = true telecomCall.disconnect() }