Skip to content

Commit a7af8eb

Browse files
author
Antonis
committed
Fixed issue with valid characters that are removed from SIP URI
1 parent 3d6798c commit a7af8eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

restcomm.android.sdk/src/main/java/org/restcomm/android/sdk/SignalingClient/JainSipClient/JainSipMessageBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private Request buildBaseRequest(String method, String username, String domain,
124124
else {
125125
// non register
126126
// remove spaces and dashes from the sip uri
127-
String cleanUri = toSipUri.replace(" ", "").replace("-", "");
127+
String cleanUri = toSipUri.replace(" ", "");
128128
toAddress = jainSipAddressFactory.createAddress(cleanUri);
129129
requestUri = jainSipAddressFactory.createURI(cleanUri);
130130
}

0 commit comments

Comments
 (0)