Many fixed and improvements related to asking passwords
This commit is contained in:
@@ -87,7 +87,7 @@ class Account(val accp: Long) {
|
||||
|
||||
if (authUser != "") res += ";auth_user=\"${authUser}\""
|
||||
|
||||
if ((authPass != "") && !MainActivity.aorPasswords.containsKey(aor))
|
||||
if ((authPass != "") && !BaresipService.aorPasswords.containsKey(aor))
|
||||
res += ";auth_pass=\"${authPass}\""
|
||||
|
||||
if (outbound.size > 0) {
|
||||
@@ -142,7 +142,8 @@ class Account(val accp: Long) {
|
||||
if (!callHistory)
|
||||
extra += ";call_history=no"
|
||||
|
||||
extra += ";tel_provider=${URLEncoder.encode(telProvider, "UTF-8")}"
|
||||
if (telProvider != "")
|
||||
extra += ";tel_provider=${URLEncoder.encode(telProvider, "UTF-8")}"
|
||||
|
||||
if (countryCode != "")
|
||||
extra += ";country_code=$countryCode"
|
||||
|
||||
Reference in New Issue
Block a user