opensips-js 0.1.39 → 0.1.41

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.
@@ -24610,7 +24610,9 @@ class hS {
24610
24610
  });
24611
24611
  }
24612
24612
  const r = n, _ = this.hasAutoAnswerHeaders(t), d = r.direction === "incoming" && !this.hasActiveCalls && (_ || this.autoAnswer);
24613
- r.roomId = a, r.localMuted = !1, r.autoAnswer = d, d ? this.addCall(r, !1) : this.addCall(r), this.addCallStatus(n.id), this.addRoom(s), d && this.answerCall(r._id);
24613
+ r.roomId = a, r.localMuted = !1, r.autoAnswer = d, d ? this.addCall(r, !1) : this.addCall(r), this.addCallStatus(n.id), this.addRoom(s), d && setTimeout(() => {
24614
+ this.answerCall(r._id);
24615
+ }, 250);
24614
24616
  }
24615
24617
  removeCall(t) {
24616
24618
  const n = { ...this.activeCalls };