@webex/calling 3.0.0-next.34 → 3.0.0-next.36
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/CallingClient/calling/call.js +13 -9
- package/dist/CallingClient/calling/call.js.map +1 -1
- package/dist/CallingClient/calling/call.test.js +523 -412
- package/dist/CallingClient/calling/call.test.js.map +1 -1
- package/dist/module/CallingClient/calling/call.js +15 -9
- package/dist/types/CallingClient/calling/call.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -328,6 +328,10 @@ var Call = exports.Call = /*#__PURE__*/function (_Eventing) {
|
|
|
328
328
|
target: 'S_RECV_CALL_PROGRESS',
|
|
329
329
|
actions: ['incomingCallProgress']
|
|
330
330
|
},
|
|
331
|
+
E_RECV_CALL_CONNECT: {
|
|
332
|
+
target: 'S_RECV_CALL_CONNECT',
|
|
333
|
+
actions: ['incomingCallConnect']
|
|
334
|
+
},
|
|
331
335
|
E_RECV_CALL_DISCONNECT: {
|
|
332
336
|
target: 'S_RECV_CALL_DISCONNECT',
|
|
333
337
|
actions: ['incomingCallDisconnect']
|
|
@@ -1817,7 +1821,7 @@ var Call = exports.Call = /*#__PURE__*/function (_Eventing) {
|
|
|
1817
1821
|
method: 'handleRoapEstablished'
|
|
1818
1822
|
});
|
|
1819
1823
|
_context13.prev = 5;
|
|
1820
|
-
if (this.callStateMachine.state.value === 'S_RECV_CALL_PROGRESS') {
|
|
1824
|
+
if (this.callStateMachine.state.value === 'S_RECV_CALL_PROGRESS' || this.callStateMachine.state.value === 'S_SEND_CALL_SETUP') {
|
|
1821
1825
|
_Logger.default.info('Media negotiation completed before call connect. Setting media negotiation completed flag.', {
|
|
1822
1826
|
file: _constants.CALL_FILE,
|
|
1823
1827
|
method: 'handleRoapEstablished'
|
|
@@ -2989,18 +2993,18 @@ var Call = exports.Call = /*#__PURE__*/function (_Eventing) {
|
|
|
2989
2993
|
key: "sendDigit",
|
|
2990
2994
|
value: function sendDigit(tone) {
|
|
2991
2995
|
/* istanbul ignore else */
|
|
2992
|
-
|
|
2993
|
-
_Logger.default.
|
|
2996
|
+
try {
|
|
2997
|
+
_Logger.default.info("Sending digit : ".concat(tone), {
|
|
2998
|
+
file: _constants.CALL_FILE,
|
|
2999
|
+
method: 'sendDigit'
|
|
3000
|
+
});
|
|
3001
|
+
this.mediaConnection.insertDTMF(tone);
|
|
3002
|
+
} catch (e) {
|
|
3003
|
+
_Logger.default.warn("Unable to send digit on call: ".concat(e.message), {
|
|
2994
3004
|
file: _constants.CALL_FILE,
|
|
2995
3005
|
method: 'sendDigit'
|
|
2996
3006
|
});
|
|
2997
|
-
return;
|
|
2998
3007
|
}
|
|
2999
|
-
_Logger.default.info("Sending digit : ".concat(tone), {
|
|
3000
|
-
file: _constants.CALL_FILE,
|
|
3001
|
-
method: 'sendDigit'
|
|
3002
|
-
});
|
|
3003
|
-
this.mediaConnection.insertDTMF(tone);
|
|
3004
3008
|
}
|
|
3005
3009
|
}, {
|
|
3006
3010
|
key: "setBroadworksCorrelationInfo",
|