Escape # when converting tel URI to SIP URI
This commit is contained in:
@ -347,7 +347,9 @@ object Utils {
|
|||||||
account.telProvider
|
account.telProvider
|
||||||
else
|
else
|
||||||
aorDomain(account.aor)
|
aorDomain(account.aor)
|
||||||
return "sip:" + telUri.substring(4).filterNot{setOf('-', ' ', '(', ')').contains(it)} +
|
return "sip:" + telUri.substring(4)
|
||||||
|
.filterNot{setOf('-', ' ', '(', ')').contains(it)}
|
||||||
|
.replace("#", "%23") +
|
||||||
"@" + hostPart + ";user=phone"
|
"@" + hostPart + ";user=phone"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user