diff --git a/app/src/main/cpp/baresip.c b/app/src/main/cpp/baresip.c index 23267a4e..82c5edf3 100644 --- a/app/src/main/cpp/baresip.c +++ b/app/src/main/cpp/baresip.c @@ -209,8 +209,6 @@ static void event_handler(enum bevent_ev ev, struct bevent *event, void *arg) len = re_snprintf(event_buf, sizeof event_buf, "call established", ""); break; case BEVENT_CALL_REMOTE_SDP: - if (strcmp(prm, "offer") != 0) - return; ardir = sdp_media_rdir(stream_sdpmedia(audio_strm(call_audio(call)))); len = re_snprintf(event_buf, sizeof event_buf, "call update,%d", ardir); break; diff --git a/app/src/main/kotlin/com/tutpro/baresip/MainScreen.kt b/app/src/main/kotlin/com/tutpro/baresip/MainScreen.kt index 4e382caa..d47c10ba 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/MainScreen.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/MainScreen.kt @@ -1414,7 +1414,6 @@ private fun CallRow(ctx: Context, viewModel: ViewModel) { ) call.resume() call.onhold = false - callOnHold.value = false } else { Log.d( TAG, @@ -1422,7 +1421,6 @@ private fun CallRow(ctx: Context, viewModel: ViewModel) { ) call.hold() call.onhold = true - callOnHold.value = true } } },