Change call status to "answered" only when answering incoming call

This commit is contained in:
Juha Heinanen
2022-01-21 20:25:29 +02:00
parent d173c929f1
commit deed5bb877

View File

@ -704,7 +704,10 @@ class BaresipService: Service() {
}
"call answered" -> {
stopMediaPlayer()
call!!.status = "answered"
if (call!!.status == "incoming")
call.status = "answered"
else
return
}
"call established" -> {
nm.cancel(CALL_NOTIFICATION_ID)