From 943514736d80cd90b0def6b46949c2ba1ee6fc23 Mon Sep 17 00:00:00 2001 From: elburu <69651766+elburu@users.noreply.github.com> Date: Sat, 6 Feb 2021 00:01:21 -0500 Subject: [PATCH] fix: Remove domain port stripping --- src/Endpoint.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Endpoint.ts b/src/Endpoint.ts index e16986c4..e1e79025 100644 --- a/src/Endpoint.ts +++ b/src/Endpoint.ts @@ -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;