Change call status to "answered" only when answering incoming call
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user