@wazo/sdk 0.39.3 → 0.39.4
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.
|
@@ -659,7 +659,7 @@ export default class WebRTCPhone extends Emitter {
|
|
|
659
659
|
id: callSession ? callSession.getId() : 'n/a',
|
|
660
660
|
cameraEnabled,
|
|
661
661
|
});
|
|
662
|
-
if (this.currentSipSession) {
|
|
662
|
+
if (this.currentSipSession && !this.isCurrentCallSipSession(callSession)) {
|
|
663
663
|
this.holdSipSession(this.currentSipSession, this.currentCallSession, true);
|
|
664
664
|
}
|
|
665
665
|
if (!callSession) {
|
|
@@ -668,7 +668,7 @@ class WebRTCPhone extends Emitter_1.default {
|
|
|
668
668
|
id: callSession ? callSession.getId() : 'n/a',
|
|
669
669
|
cameraEnabled,
|
|
670
670
|
});
|
|
671
|
-
if (this.currentSipSession) {
|
|
671
|
+
if (this.currentSipSession && !this.isCurrentCallSipSession(callSession)) {
|
|
672
672
|
this.holdSipSession(this.currentSipSession, this.currentCallSession, true);
|
|
673
673
|
}
|
|
674
674
|
if (!callSession) {
|
package/package.json
CHANGED
|
@@ -819,7 +819,7 @@ export default class WebRTCPhone extends Emitter implements Phone {
|
|
|
819
819
|
cameraEnabled,
|
|
820
820
|
});
|
|
821
821
|
|
|
822
|
-
if (this.currentSipSession) {
|
|
822
|
+
if (this.currentSipSession && !this.isCurrentCallSipSession(callSession)) {
|
|
823
823
|
this.holdSipSession(this.currentSipSession, this.currentCallSession, true);
|
|
824
824
|
}
|
|
825
825
|
|