Skip to content

Commit

Permalink
Fixed issue with valid characters that are removed from SIP URI
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonis committed Sep 6, 2017
1 parent 3d6798c commit a7af8eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private Request buildBaseRequest(String method, String username, String domain,
else {
// non register
// remove spaces and dashes from the sip uri
String cleanUri = toSipUri.replace(" ", "").replace("-", "");
String cleanUri = toSipUri.replace(" ", "");
toAddress = jainSipAddressFactory.createAddress(cleanUri);
requestUri = jainSipAddressFactory.createURI(cleanUri);
}
Expand Down

0 comments on commit a7af8eb

Please sign in to comment.