@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.js CHANGED
@@ -23101,9 +23101,9 @@ var ApiTokenAuthProvider = class {
23101
23101
  return this.sessionToken;
23102
23102
  }
23103
23103
  parseCredentials(data) {
23104
- const DEFAULT_WSS_URL = "wss://cell.usedora.com:8089/ws";
23104
+ const DEFAULT_WSS_URL = "wss://dcell-bills.on-forge.com/ws";
23105
23105
  const DEFAULT_SIP_IP = "64.227.10.164";
23106
- const DEFAULT_PASSWORD = "1234";
23106
+ const DEFAULT_PASSWORD = "123456";
23107
23107
  const wsUrl = DEFAULT_WSS_URL;
23108
23108
  const sipDomain = DEFAULT_SIP_IP;
23109
23109
  const password = DEFAULT_PASSWORD;
@@ -23138,11 +23138,11 @@ var DirectCredentialsAuthProvider = class {
23138
23138
  }
23139
23139
  };
23140
23140
  var ExtensionAuthProvider = class {
23141
- constructor(extension, password = "1234", sipDomain = "64.227.10.164") {
23141
+ constructor(extension, password = "123456", sipDomain = "64.227.10.164") {
23142
23142
  this.credentials = {
23143
23143
  sipUri: `sip:${extension}@${sipDomain}`,
23144
23144
  password,
23145
- wsUrl: "wss://cell.usedora.com:8089/ws",
23145
+ wsUrl: "wss://dcell-bills.on-forge.com/ws",
23146
23146
  extensions: [{ extension, isPrimary: true }],
23147
23147
  sipDomain
23148
23148
  };
@@ -23662,7 +23662,9 @@ var DoraCell = class {
23662
23662
  try {
23663
23663
  const socket = new import_jssip.default.WebSocketInterface(this.credentials.wsUrl);
23664
23664
  const pcConfig = {
23665
- iceServers: this.config.turnServers || this.getDefaultTurnServers()
23665
+ iceServers: this.config.turnServers || this.getDefaultTurnServers(),
23666
+ rtcpMuxPolicy: "require",
23667
+ bundlePolicy: "max-bundle"
23666
23668
  };
23667
23669
  const uaConfig = {
23668
23670
  uri: this.credentials.sipUri,
@@ -23750,7 +23752,9 @@ var DoraCell = class {
23750
23752
  throw new ConnectionError("No credentials available for call manager");
23751
23753
  }
23752
23754
  const pcConfig = {
23753
- iceServers: this.config.turnServers || this.getDefaultTurnServers()
23755
+ iceServers: this.config.turnServers || this.getDefaultTurnServers(),
23756
+ rtcpMuxPolicy: "require",
23757
+ bundlePolicy: "max-bundle"
23754
23758
  };
23755
23759
  this.callManager = new CallManager(
23756
23760
  this.credentials,