Skip to content

Commit

Permalink
Merge pull request #7 from elburu/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
elburu committed Feb 26, 2021
2 parents 18df291 + 9435147 commit 0f0faa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -733,11 +733,11 @@ export default class Endpoint extends EventEmitter {

if (!realm) {
realm = account.getDomain();
let s = realm.indexOf(":");
/*let s = realm.indexOf(":");
if (s > 0) {
realm = realm.substr(0, s + 1);
}
}*/
}

destination = "sip:" + destination + "@" + realm;
Expand Down

0 comments on commit 0f0faa1

Please sign in to comment.