- Let user fix the Settings that prevented baresip from starting.

This commit is contained in:
Juha Heinanen
2020-02-18 04:13:52 +02:00
parent 4e22726e60
commit 7eca0a4b1b
4 changed files with 19 additions and 27 deletions
@@ -847,12 +847,6 @@ class BaresipService: Service() {
fun stopped(error: String) {
Log.d(LOG_TAG, "Received 'stopped' from baresip with param '$error'")
isServiceRunning = false
if (error == "ua_init") {
Config.removeVariable("sip_listen")
Config.removeVariable("net_interface")
Config.removeVariable("sip_certificate")
Config.removeVariable("sip_cafile")
}
val intent = Intent("service event")
intent.putExtra("event", "stopped")
intent.putExtra("params", arrayListOf(error))