- Added DTMF Mode account setting

- Better implementation of Answer Mode account setting
This commit is contained in:
Juha Heinanen
2021-03-11 18:01:57 +02:00
parent 6ce4064696
commit 73498c4f7c
8 changed files with 135 additions and 14 deletions
@@ -530,7 +530,7 @@ class BaresipService: Service() {
Log.d(LOG_TAG, "Incoming call $uap/$callp/$peerUri")
Call(callp, ua, peerUri, "in", "incoming",
Utils.dtmfWatcher(callp)).add()
if (ua.account.answerMode == "manual") {
if (ua.account.answerMode == Api.ANSWERMODE_MANUAL) {
if (Build.VERSION.SDK_INT >= 23) {
Log.d(LOG_TAG, "CurrentInterruptionFilter ${nm.currentInterruptionFilter}")
if (nm.currentInterruptionFilter <= NotificationManager.INTERRUPTION_FILTER_ALL)