diff --git a/app/src/main/kotlin/com/tutpro/baresip/Utils.kt b/app/src/main/kotlin/com/tutpro/baresip/Utils.kt index c1ecb4c1..3637691d 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/Utils.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/Utils.kt @@ -162,7 +162,7 @@ object Utils { fun e164Uri(uri: String, countryCode: String): String { if (countryCode == "") return uri - val scheme = uri.substring(0, 3) + val scheme = uri.substring(0, 4) val userPart = uriUserPart(uri) return if (userPart.isDigitsOnly()) { when {