@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.
@@ -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
- if (!this.connected) {
2993
- _Logger.default.warn("Can't send DTMF as call is not yet connected", {
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",