@dora-cell/sdk 4.1.3 → 4.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -23097,9 +23097,9 @@ var ApiTokenAuthProvider = class {
23097
23097
  return this.sessionToken;
23098
23098
  }
23099
23099
  parseCredentials(data) {
23100
- const DEFAULT_WSS_URL = "wss://cell.usedora.com:8089/ws";
23100
+ const DEFAULT_WSS_URL = "wss://dcell-bills.on-forge.com/ws";
23101
23101
  const DEFAULT_SIP_IP = "64.227.10.164";
23102
- const DEFAULT_PASSWORD = "1234";
23102
+ const DEFAULT_PASSWORD = "123456";
23103
23103
  const wsUrl = DEFAULT_WSS_URL;
23104
23104
  const sipDomain = DEFAULT_SIP_IP;
23105
23105
  const password = DEFAULT_PASSWORD;
@@ -23134,11 +23134,11 @@ var DirectCredentialsAuthProvider = class {
23134
23134
  }
23135
23135
  };
23136
23136
  var ExtensionAuthProvider = class {
23137
- constructor(extension, password = "1234", sipDomain = "64.227.10.164") {
23137
+ constructor(extension, password = "123456", sipDomain = "64.227.10.164") {
23138
23138
  this.credentials = {
23139
23139
  sipUri: `sip:${extension}@${sipDomain}`,
23140
23140
  password,
23141
- wsUrl: "wss://cell.usedora.com:8089/ws",
23141
+ wsUrl: "wss://dcell-bills.on-forge.com/ws",
23142
23142
  extensions: [{ extension, isPrimary: true }],
23143
23143
  sipDomain
23144
23144
  };
@@ -23658,7 +23658,9 @@ var DoraCell = class {
23658
23658
  try {
23659
23659
  const socket = new import_jssip.default.WebSocketInterface(this.credentials.wsUrl);
23660
23660
  const pcConfig = {
23661
- iceServers: this.config.turnServers || this.getDefaultTurnServers()
23661
+ iceServers: this.config.turnServers || this.getDefaultTurnServers(),
23662
+ rtcpMuxPolicy: "require",
23663
+ bundlePolicy: "max-bundle"
23662
23664
  };
23663
23665
  const uaConfig = {
23664
23666
  uri: this.credentials.sipUri,
@@ -23746,7 +23748,9 @@ var DoraCell = class {
23746
23748
  throw new ConnectionError("No credentials available for call manager");
23747
23749
  }
23748
23750
  const pcConfig = {
23749
- iceServers: this.config.turnServers || this.getDefaultTurnServers()
23751
+ iceServers: this.config.turnServers || this.getDefaultTurnServers(),
23752
+ rtcpMuxPolicy: "require",
23753
+ bundlePolicy: "max-bundle"
23750
23754
  };
23751
23755
  this.callManager = new CallManager(
23752
23756
  this.credentials,