Skip to content

Commit

Permalink
make the phonenumbers conform to E.164 standards
Browse files Browse the repository at this point in the history
  • Loading branch information
betheg committed Oct 1, 2012
1 parent 0fb27a6 commit 3d4529e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/net/skweez/sipgate/api/Call.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getRemoteNumber() {
}
}

return "00" + number;
return "+" + number;
}

public void setRemoteURI(Uri remoteURI) {
Expand Down
4 changes: 2 additions & 2 deletions src/net/skweez/sipgate/api/UserUri.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class UserUri {
private final boolean defaultUri;

public UserUri(String e164Out, Uri sipUri, Boolean defaultUri) {
this.e164Out = e164Out;
this.e164Out = "+" + e164Out;
this.sipUri = sipUri;
this.defaultUri = defaultUri;
}
Expand All @@ -34,4 +34,4 @@ public boolean isDefaultUri() {
return defaultUri;
}

}
}

0 comments on commit 3d4529e

Please sign in to comment.