diff --git a/app/src/main/kotlin/com/tutpro/baresip/Account.kt b/app/src/main/kotlin/com/tutpro/baresip/Account.kt index d48259ac..05394dd1 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/Account.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/Account.kt @@ -76,7 +76,7 @@ class Account(val accp: String) { else res = "" - res = res + "<${aor}>" + res = res + "<$uri>" if (authUser != "") res = res + ";auth_user=\"${authUser}\"" diff --git a/app/src/main/kotlin/com/tutpro/baresip/AccountsActivity.kt b/app/src/main/kotlin/com/tutpro/baresip/AccountsActivity.kt index f9356fae..91edc7c7 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/AccountsActivity.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/AccountsActivity.kt @@ -47,7 +47,7 @@ class AccountsActivity : AppCompatActivity() { Utils.alertView(this, getString(R.string.notice), getString(R.string.account_allocation_failure)) } else { - Log.d("Baresip", "Allocated UA ${ua.uap} for $aor") + Log.d("Baresip", "Allocated UA ${ua.uap} for ${ua.account.uri}") newAorView.setText("") newAorView.hint = getString(R.string.user_domain) newAorView.clearFocus()