@wazo/sdk 0.38.2 → 0.38.3
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/README.md +50 -3
- package/dist/wazo-sdk.js +5 -5
- package/esm/index.js +39 -9
- package/esm/simple/Auth.js +39 -9
- package/esm/simple/Configuration.js +39 -9
- package/esm/simple/Phone.js +39 -9
- package/esm/simple/Softphone.js +39 -9
- package/esm/simple/index.js +39 -9
- package/esm/simple/room/LocalParticipant.js +39 -9
- package/esm/simple/room/Participant.js +39 -9
- package/esm/simple/room/RemoteParticipant.js +39 -9
- package/esm/simple/room/Room.js +39 -9
- package/esm/simple/room/SipRoom.js +39 -9
- package/esm/simple/room/Stream.js +39 -9
- package/esm/simple/room/__tests__/RemoteParticipant.test.js +39 -9
- package/esm/simple/utils.js +39 -9
- package/lib/index.js +39 -9
- package/lib/simple/Auth.js +39 -9
- package/lib/simple/Configuration.js +39 -9
- package/lib/simple/Phone.js +39 -9
- package/lib/simple/Softphone.js +39 -9
- package/lib/simple/index.js +39 -9
- package/lib/simple/room/LocalParticipant.js +39 -9
- package/lib/simple/room/Participant.js +39 -9
- package/lib/simple/room/RemoteParticipant.js +39 -9
- package/lib/simple/room/Room.js +39 -9
- package/lib/simple/room/SipRoom.js +39 -9
- package/lib/simple/room/Stream.js +39 -9
- package/lib/simple/room/__tests__/RemoteParticipant.test.js +39 -9
- package/lib/simple/utils.js +39 -9
- package/package.json +1 -1
- package/src/simple/Softphone.js +39 -9
|
@@ -12854,7 +12854,9 @@ const BRIDGE_ON_AGENT_LOGGED_OUT = 'bridge/BRIDGE_ON_AGENT_LOGGED_OUT';
|
|
|
12854
12854
|
const BRIDGE_ON_AGENT_PAUSED = 'bridge/BRIDGE_ON_AGENT_PAUSED';
|
|
12855
12855
|
const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
|
|
12856
12856
|
const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
|
|
12857
|
-
const
|
|
12857
|
+
const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
|
|
12858
|
+
const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
|
|
12859
|
+
const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
|
|
12858
12860
|
const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
|
|
12859
12861
|
const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
|
|
12860
12862
|
const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
|
|
@@ -12871,12 +12873,13 @@ const BRIDGE_ON_STOP_RECORDING = 'bridge/BRIDGE_ON_STOP_RECORDING';
|
|
|
12871
12873
|
const BRIDGE_ON_CARD_CANCELED = 'bridge/BRIDGE_ON_CARD_CANCELED';
|
|
12872
12874
|
const BRIDGE_ENABLE_AGENT = 'bridge/BRIDGE_ENABLE_AGENT';
|
|
12873
12875
|
const BRIDGE_SET_CARD_CONTENT = 'bridge/BRIDGE_SET_CARD_CONTENT';
|
|
12876
|
+
const BRIDGE_ENABLE_DEBUG = 'bridge/BRIDGE_ENABLE_DEBUG';
|
|
12874
12877
|
|
|
12875
12878
|
const BRIDGE_INJECT_CSS = 'bridge/BRIDGE_INJECT_CSS';
|
|
12876
12879
|
const BRIDGE_CUSTOMIZE_APPEARANCE = 'bridge/BRIDGE_CUSTOMIZE_APPEARANCE';
|
|
12877
12880
|
|
|
12878
12881
|
const SDK_CLICK_TO_CALL = 'sdk/CLICK_TO_CALL';
|
|
12879
|
-
const
|
|
12882
|
+
const SDK_ON_OUTGOING_CALL_MADE = 'sdk/SDK_ON_OUTGOING_CALL_MADE';
|
|
12880
12883
|
const SDK_CALL_ENDED = 'sdk/ON_CALL_ENDED';
|
|
12881
12884
|
const SDK_CALL_INCOMING = 'sdk/SDK_CALL_INCOMING';
|
|
12882
12885
|
const SDK_AUTHENTICATED = 'sdk/SDK_AUTHENTICATED';
|
|
@@ -12896,10 +12899,13 @@ class Softphone {
|
|
|
12896
12899
|
onLinkEnabled(link ) {}
|
|
12897
12900
|
onIFrameLoaded() {}
|
|
12898
12901
|
|
|
12899
|
-
|
|
12900
|
-
|
|
12902
|
+
onCallLocallyAnswered(call ) {}
|
|
12903
|
+
onCallRemotelyAnswered(call ) {}
|
|
12904
|
+
onOutgoingCallMade(call ) {}
|
|
12901
12905
|
onCallIncoming(call ) {}
|
|
12906
|
+
onCallRejected(call ) {}
|
|
12902
12907
|
onCallEnded(call , card , direction , fromExtension ) {}
|
|
12908
|
+
|
|
12903
12909
|
onCardSaved(card ) {}
|
|
12904
12910
|
onCardCanceled() {}
|
|
12905
12911
|
onAuthenticated(session ) {}
|
|
@@ -12931,7 +12937,18 @@ class Softphone {
|
|
|
12931
12937
|
onStopRecording() {}
|
|
12932
12938
|
onUnHandledEvent(event ) {}
|
|
12933
12939
|
|
|
12934
|
-
init({
|
|
12940
|
+
init({
|
|
12941
|
+
url,
|
|
12942
|
+
width,
|
|
12943
|
+
height,
|
|
12944
|
+
server,
|
|
12945
|
+
port,
|
|
12946
|
+
language,
|
|
12947
|
+
wrapUpDuration,
|
|
12948
|
+
enableAgent = true,
|
|
12949
|
+
tenantId,
|
|
12950
|
+
debug = false,
|
|
12951
|
+
} = {}) {
|
|
12935
12952
|
this.url = url || 'https://softphone.wazo.io';
|
|
12936
12953
|
this.width = width || 500;
|
|
12937
12954
|
this.height = height || 600;
|
|
@@ -12954,6 +12971,9 @@ class Softphone {
|
|
|
12954
12971
|
if (port) {
|
|
12955
12972
|
config.port = port;
|
|
12956
12973
|
}
|
|
12974
|
+
if (tenantId) {
|
|
12975
|
+
config.tenantId = tenantId;
|
|
12976
|
+
}
|
|
12957
12977
|
if (wrapUpDuration) {
|
|
12958
12978
|
config.wrapUpDuration = wrapUpDuration;
|
|
12959
12979
|
}
|
|
@@ -12964,6 +12984,10 @@ class Softphone {
|
|
|
12964
12984
|
this._sendMessage(BRIDGE_ENABLE_AGENT);
|
|
12965
12985
|
}
|
|
12966
12986
|
|
|
12987
|
+
if (debug) {
|
|
12988
|
+
this._sendMessage(BRIDGE_ENABLE_DEBUG);
|
|
12989
|
+
}
|
|
12990
|
+
|
|
12967
12991
|
this._createIframe(() => {
|
|
12968
12992
|
this.iframeLoaded = true;
|
|
12969
12993
|
this._pendingMessages.forEach(([type, payload]) => this._sendMessage(type, payload));
|
|
@@ -13084,8 +13108,8 @@ class Softphone {
|
|
|
13084
13108
|
}
|
|
13085
13109
|
|
|
13086
13110
|
switch (event.data.type) {
|
|
13087
|
-
case
|
|
13088
|
-
this.
|
|
13111
|
+
case SDK_ON_OUTGOING_CALL_MADE:
|
|
13112
|
+
this.onOutgoingCallMade(event.data.callSession);
|
|
13089
13113
|
break;
|
|
13090
13114
|
case SDK_CALL_ENDED: {
|
|
13091
13115
|
const { callSession, content, direction, userExtension } = event.data;
|
|
@@ -13176,8 +13200,14 @@ class Softphone {
|
|
|
13176
13200
|
case BRIDGE_ON_CARD_CANCELED:
|
|
13177
13201
|
this.onCardCanceled();
|
|
13178
13202
|
break;
|
|
13179
|
-
case
|
|
13180
|
-
this.
|
|
13203
|
+
case BRIDGE_ON_CALL_LOCALLY_ACCEPTED:
|
|
13204
|
+
this.onCallLocallyAnswered(event.data.call);
|
|
13205
|
+
break;
|
|
13206
|
+
case BRIDGE_ON_CALL_REJECTED:
|
|
13207
|
+
this.onCallRejected(event.data.call);
|
|
13208
|
+
break;
|
|
13209
|
+
case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
|
|
13210
|
+
this.onCallRemotelyAnswered(event.data.call);
|
|
13181
13211
|
break;
|
|
13182
13212
|
default:
|
|
13183
13213
|
this.onUnHandledEvent(event);
|
|
@@ -12859,7 +12859,9 @@ const BRIDGE_ON_AGENT_LOGGED_OUT = 'bridge/BRIDGE_ON_AGENT_LOGGED_OUT';
|
|
|
12859
12859
|
const BRIDGE_ON_AGENT_PAUSED = 'bridge/BRIDGE_ON_AGENT_PAUSED';
|
|
12860
12860
|
const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
|
|
12861
12861
|
const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
|
|
12862
|
-
const
|
|
12862
|
+
const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
|
|
12863
|
+
const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
|
|
12864
|
+
const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
|
|
12863
12865
|
const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
|
|
12864
12866
|
const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
|
|
12865
12867
|
const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
|
|
@@ -12876,12 +12878,13 @@ const BRIDGE_ON_STOP_RECORDING = 'bridge/BRIDGE_ON_STOP_RECORDING';
|
|
|
12876
12878
|
const BRIDGE_ON_CARD_CANCELED = 'bridge/BRIDGE_ON_CARD_CANCELED';
|
|
12877
12879
|
const BRIDGE_ENABLE_AGENT = 'bridge/BRIDGE_ENABLE_AGENT';
|
|
12878
12880
|
const BRIDGE_SET_CARD_CONTENT = 'bridge/BRIDGE_SET_CARD_CONTENT';
|
|
12881
|
+
const BRIDGE_ENABLE_DEBUG = 'bridge/BRIDGE_ENABLE_DEBUG';
|
|
12879
12882
|
|
|
12880
12883
|
const BRIDGE_INJECT_CSS = 'bridge/BRIDGE_INJECT_CSS';
|
|
12881
12884
|
const BRIDGE_CUSTOMIZE_APPEARANCE = 'bridge/BRIDGE_CUSTOMIZE_APPEARANCE';
|
|
12882
12885
|
|
|
12883
12886
|
const SDK_CLICK_TO_CALL = 'sdk/CLICK_TO_CALL';
|
|
12884
|
-
const
|
|
12887
|
+
const SDK_ON_OUTGOING_CALL_MADE = 'sdk/SDK_ON_OUTGOING_CALL_MADE';
|
|
12885
12888
|
const SDK_CALL_ENDED = 'sdk/ON_CALL_ENDED';
|
|
12886
12889
|
const SDK_CALL_INCOMING = 'sdk/SDK_CALL_INCOMING';
|
|
12887
12890
|
const SDK_AUTHENTICATED = 'sdk/SDK_AUTHENTICATED';
|
|
@@ -12901,10 +12904,13 @@ class Softphone {
|
|
|
12901
12904
|
onLinkEnabled(link ) {}
|
|
12902
12905
|
onIFrameLoaded() {}
|
|
12903
12906
|
|
|
12904
|
-
|
|
12905
|
-
|
|
12907
|
+
onCallLocallyAnswered(call ) {}
|
|
12908
|
+
onCallRemotelyAnswered(call ) {}
|
|
12909
|
+
onOutgoingCallMade(call ) {}
|
|
12906
12910
|
onCallIncoming(call ) {}
|
|
12911
|
+
onCallRejected(call ) {}
|
|
12907
12912
|
onCallEnded(call , card , direction , fromExtension ) {}
|
|
12913
|
+
|
|
12908
12914
|
onCardSaved(card ) {}
|
|
12909
12915
|
onCardCanceled() {}
|
|
12910
12916
|
onAuthenticated(session ) {}
|
|
@@ -12936,7 +12942,18 @@ class Softphone {
|
|
|
12936
12942
|
onStopRecording() {}
|
|
12937
12943
|
onUnHandledEvent(event ) {}
|
|
12938
12944
|
|
|
12939
|
-
init({
|
|
12945
|
+
init({
|
|
12946
|
+
url,
|
|
12947
|
+
width,
|
|
12948
|
+
height,
|
|
12949
|
+
server,
|
|
12950
|
+
port,
|
|
12951
|
+
language,
|
|
12952
|
+
wrapUpDuration,
|
|
12953
|
+
enableAgent = true,
|
|
12954
|
+
tenantId,
|
|
12955
|
+
debug = false,
|
|
12956
|
+
} = {}) {
|
|
12940
12957
|
this.url = url || 'https://softphone.wazo.io';
|
|
12941
12958
|
this.width = width || 500;
|
|
12942
12959
|
this.height = height || 600;
|
|
@@ -12959,6 +12976,9 @@ class Softphone {
|
|
|
12959
12976
|
if (port) {
|
|
12960
12977
|
config.port = port;
|
|
12961
12978
|
}
|
|
12979
|
+
if (tenantId) {
|
|
12980
|
+
config.tenantId = tenantId;
|
|
12981
|
+
}
|
|
12962
12982
|
if (wrapUpDuration) {
|
|
12963
12983
|
config.wrapUpDuration = wrapUpDuration;
|
|
12964
12984
|
}
|
|
@@ -12969,6 +12989,10 @@ class Softphone {
|
|
|
12969
12989
|
this._sendMessage(BRIDGE_ENABLE_AGENT);
|
|
12970
12990
|
}
|
|
12971
12991
|
|
|
12992
|
+
if (debug) {
|
|
12993
|
+
this._sendMessage(BRIDGE_ENABLE_DEBUG);
|
|
12994
|
+
}
|
|
12995
|
+
|
|
12972
12996
|
this._createIframe(() => {
|
|
12973
12997
|
this.iframeLoaded = true;
|
|
12974
12998
|
this._pendingMessages.forEach(([type, payload]) => this._sendMessage(type, payload));
|
|
@@ -13089,8 +13113,8 @@ class Softphone {
|
|
|
13089
13113
|
}
|
|
13090
13114
|
|
|
13091
13115
|
switch (event.data.type) {
|
|
13092
|
-
case
|
|
13093
|
-
this.
|
|
13116
|
+
case SDK_ON_OUTGOING_CALL_MADE:
|
|
13117
|
+
this.onOutgoingCallMade(event.data.callSession);
|
|
13094
13118
|
break;
|
|
13095
13119
|
case SDK_CALL_ENDED: {
|
|
13096
13120
|
const { callSession, content, direction, userExtension } = event.data;
|
|
@@ -13181,8 +13205,14 @@ class Softphone {
|
|
|
13181
13205
|
case BRIDGE_ON_CARD_CANCELED:
|
|
13182
13206
|
this.onCardCanceled();
|
|
13183
13207
|
break;
|
|
13184
|
-
case
|
|
13185
|
-
this.
|
|
13208
|
+
case BRIDGE_ON_CALL_LOCALLY_ACCEPTED:
|
|
13209
|
+
this.onCallLocallyAnswered(event.data.call);
|
|
13210
|
+
break;
|
|
13211
|
+
case BRIDGE_ON_CALL_REJECTED:
|
|
13212
|
+
this.onCallRejected(event.data.call);
|
|
13213
|
+
break;
|
|
13214
|
+
case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
|
|
13215
|
+
this.onCallRemotelyAnswered(event.data.call);
|
|
13186
13216
|
break;
|
|
13187
13217
|
default:
|
|
13188
13218
|
this.onUnHandledEvent(event);
|
|
@@ -13138,7 +13138,9 @@ const BRIDGE_ON_AGENT_LOGGED_OUT = 'bridge/BRIDGE_ON_AGENT_LOGGED_OUT';
|
|
|
13138
13138
|
const BRIDGE_ON_AGENT_PAUSED = 'bridge/BRIDGE_ON_AGENT_PAUSED';
|
|
13139
13139
|
const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
|
|
13140
13140
|
const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
|
|
13141
|
-
const
|
|
13141
|
+
const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
|
|
13142
|
+
const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
|
|
13143
|
+
const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
|
|
13142
13144
|
const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
|
|
13143
13145
|
const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
|
|
13144
13146
|
const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
|
|
@@ -13155,12 +13157,13 @@ const BRIDGE_ON_STOP_RECORDING = 'bridge/BRIDGE_ON_STOP_RECORDING';
|
|
|
13155
13157
|
const BRIDGE_ON_CARD_CANCELED = 'bridge/BRIDGE_ON_CARD_CANCELED';
|
|
13156
13158
|
const BRIDGE_ENABLE_AGENT = 'bridge/BRIDGE_ENABLE_AGENT';
|
|
13157
13159
|
const BRIDGE_SET_CARD_CONTENT = 'bridge/BRIDGE_SET_CARD_CONTENT';
|
|
13160
|
+
const BRIDGE_ENABLE_DEBUG = 'bridge/BRIDGE_ENABLE_DEBUG';
|
|
13158
13161
|
|
|
13159
13162
|
const BRIDGE_INJECT_CSS = 'bridge/BRIDGE_INJECT_CSS';
|
|
13160
13163
|
const BRIDGE_CUSTOMIZE_APPEARANCE = 'bridge/BRIDGE_CUSTOMIZE_APPEARANCE';
|
|
13161
13164
|
|
|
13162
13165
|
const SDK_CLICK_TO_CALL = 'sdk/CLICK_TO_CALL';
|
|
13163
|
-
const
|
|
13166
|
+
const SDK_ON_OUTGOING_CALL_MADE = 'sdk/SDK_ON_OUTGOING_CALL_MADE';
|
|
13164
13167
|
const SDK_CALL_ENDED = 'sdk/ON_CALL_ENDED';
|
|
13165
13168
|
const SDK_CALL_INCOMING = 'sdk/SDK_CALL_INCOMING';
|
|
13166
13169
|
const SDK_AUTHENTICATED = 'sdk/SDK_AUTHENTICATED';
|
|
@@ -13180,10 +13183,13 @@ class Softphone {
|
|
|
13180
13183
|
onLinkEnabled(link ) {}
|
|
13181
13184
|
onIFrameLoaded() {}
|
|
13182
13185
|
|
|
13183
|
-
|
|
13184
|
-
|
|
13186
|
+
onCallLocallyAnswered(call ) {}
|
|
13187
|
+
onCallRemotelyAnswered(call ) {}
|
|
13188
|
+
onOutgoingCallMade(call ) {}
|
|
13185
13189
|
onCallIncoming(call ) {}
|
|
13190
|
+
onCallRejected(call ) {}
|
|
13186
13191
|
onCallEnded(call , card , direction , fromExtension ) {}
|
|
13192
|
+
|
|
13187
13193
|
onCardSaved(card ) {}
|
|
13188
13194
|
onCardCanceled() {}
|
|
13189
13195
|
onAuthenticated(session ) {}
|
|
@@ -13215,7 +13221,18 @@ class Softphone {
|
|
|
13215
13221
|
onStopRecording() {}
|
|
13216
13222
|
onUnHandledEvent(event ) {}
|
|
13217
13223
|
|
|
13218
|
-
init({
|
|
13224
|
+
init({
|
|
13225
|
+
url,
|
|
13226
|
+
width,
|
|
13227
|
+
height,
|
|
13228
|
+
server,
|
|
13229
|
+
port,
|
|
13230
|
+
language,
|
|
13231
|
+
wrapUpDuration,
|
|
13232
|
+
enableAgent = true,
|
|
13233
|
+
tenantId,
|
|
13234
|
+
debug = false,
|
|
13235
|
+
} = {}) {
|
|
13219
13236
|
this.url = url || 'https://softphone.wazo.io';
|
|
13220
13237
|
this.width = width || 500;
|
|
13221
13238
|
this.height = height || 600;
|
|
@@ -13238,6 +13255,9 @@ class Softphone {
|
|
|
13238
13255
|
if (port) {
|
|
13239
13256
|
config.port = port;
|
|
13240
13257
|
}
|
|
13258
|
+
if (tenantId) {
|
|
13259
|
+
config.tenantId = tenantId;
|
|
13260
|
+
}
|
|
13241
13261
|
if (wrapUpDuration) {
|
|
13242
13262
|
config.wrapUpDuration = wrapUpDuration;
|
|
13243
13263
|
}
|
|
@@ -13248,6 +13268,10 @@ class Softphone {
|
|
|
13248
13268
|
this._sendMessage(BRIDGE_ENABLE_AGENT);
|
|
13249
13269
|
}
|
|
13250
13270
|
|
|
13271
|
+
if (debug) {
|
|
13272
|
+
this._sendMessage(BRIDGE_ENABLE_DEBUG);
|
|
13273
|
+
}
|
|
13274
|
+
|
|
13251
13275
|
this._createIframe(() => {
|
|
13252
13276
|
this.iframeLoaded = true;
|
|
13253
13277
|
this._pendingMessages.forEach(([type, payload]) => this._sendMessage(type, payload));
|
|
@@ -13368,8 +13392,8 @@ class Softphone {
|
|
|
13368
13392
|
}
|
|
13369
13393
|
|
|
13370
13394
|
switch (event.data.type) {
|
|
13371
|
-
case
|
|
13372
|
-
this.
|
|
13395
|
+
case SDK_ON_OUTGOING_CALL_MADE:
|
|
13396
|
+
this.onOutgoingCallMade(event.data.callSession);
|
|
13373
13397
|
break;
|
|
13374
13398
|
case SDK_CALL_ENDED: {
|
|
13375
13399
|
const { callSession, content, direction, userExtension } = event.data;
|
|
@@ -13460,8 +13484,14 @@ class Softphone {
|
|
|
13460
13484
|
case BRIDGE_ON_CARD_CANCELED:
|
|
13461
13485
|
this.onCardCanceled();
|
|
13462
13486
|
break;
|
|
13463
|
-
case
|
|
13464
|
-
this.
|
|
13487
|
+
case BRIDGE_ON_CALL_LOCALLY_ACCEPTED:
|
|
13488
|
+
this.onCallLocallyAnswered(event.data.call);
|
|
13489
|
+
break;
|
|
13490
|
+
case BRIDGE_ON_CALL_REJECTED:
|
|
13491
|
+
this.onCallRejected(event.data.call);
|
|
13492
|
+
break;
|
|
13493
|
+
case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
|
|
13494
|
+
this.onCallRemotelyAnswered(event.data.call);
|
|
13465
13495
|
break;
|
|
13466
13496
|
default:
|
|
13467
13497
|
this.onUnHandledEvent(event);
|
package/esm/simple/room/Room.js
CHANGED
|
@@ -13149,7 +13149,9 @@ const BRIDGE_ON_AGENT_LOGGED_OUT = 'bridge/BRIDGE_ON_AGENT_LOGGED_OUT';
|
|
|
13149
13149
|
const BRIDGE_ON_AGENT_PAUSED = 'bridge/BRIDGE_ON_AGENT_PAUSED';
|
|
13150
13150
|
const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
|
|
13151
13151
|
const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
|
|
13152
|
-
const
|
|
13152
|
+
const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
|
|
13153
|
+
const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
|
|
13154
|
+
const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
|
|
13153
13155
|
const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
|
|
13154
13156
|
const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
|
|
13155
13157
|
const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
|
|
@@ -13166,12 +13168,13 @@ const BRIDGE_ON_STOP_RECORDING = 'bridge/BRIDGE_ON_STOP_RECORDING';
|
|
|
13166
13168
|
const BRIDGE_ON_CARD_CANCELED = 'bridge/BRIDGE_ON_CARD_CANCELED';
|
|
13167
13169
|
const BRIDGE_ENABLE_AGENT = 'bridge/BRIDGE_ENABLE_AGENT';
|
|
13168
13170
|
const BRIDGE_SET_CARD_CONTENT = 'bridge/BRIDGE_SET_CARD_CONTENT';
|
|
13171
|
+
const BRIDGE_ENABLE_DEBUG = 'bridge/BRIDGE_ENABLE_DEBUG';
|
|
13169
13172
|
|
|
13170
13173
|
const BRIDGE_INJECT_CSS = 'bridge/BRIDGE_INJECT_CSS';
|
|
13171
13174
|
const BRIDGE_CUSTOMIZE_APPEARANCE = 'bridge/BRIDGE_CUSTOMIZE_APPEARANCE';
|
|
13172
13175
|
|
|
13173
13176
|
const SDK_CLICK_TO_CALL = 'sdk/CLICK_TO_CALL';
|
|
13174
|
-
const
|
|
13177
|
+
const SDK_ON_OUTGOING_CALL_MADE = 'sdk/SDK_ON_OUTGOING_CALL_MADE';
|
|
13175
13178
|
const SDK_CALL_ENDED = 'sdk/ON_CALL_ENDED';
|
|
13176
13179
|
const SDK_CALL_INCOMING = 'sdk/SDK_CALL_INCOMING';
|
|
13177
13180
|
const SDK_AUTHENTICATED = 'sdk/SDK_AUTHENTICATED';
|
|
@@ -13191,10 +13194,13 @@ class Softphone {
|
|
|
13191
13194
|
onLinkEnabled(link ) {}
|
|
13192
13195
|
onIFrameLoaded() {}
|
|
13193
13196
|
|
|
13194
|
-
|
|
13195
|
-
|
|
13197
|
+
onCallLocallyAnswered(call ) {}
|
|
13198
|
+
onCallRemotelyAnswered(call ) {}
|
|
13199
|
+
onOutgoingCallMade(call ) {}
|
|
13196
13200
|
onCallIncoming(call ) {}
|
|
13201
|
+
onCallRejected(call ) {}
|
|
13197
13202
|
onCallEnded(call , card , direction , fromExtension ) {}
|
|
13203
|
+
|
|
13198
13204
|
onCardSaved(card ) {}
|
|
13199
13205
|
onCardCanceled() {}
|
|
13200
13206
|
onAuthenticated(session ) {}
|
|
@@ -13226,7 +13232,18 @@ class Softphone {
|
|
|
13226
13232
|
onStopRecording() {}
|
|
13227
13233
|
onUnHandledEvent(event ) {}
|
|
13228
13234
|
|
|
13229
|
-
init({
|
|
13235
|
+
init({
|
|
13236
|
+
url,
|
|
13237
|
+
width,
|
|
13238
|
+
height,
|
|
13239
|
+
server,
|
|
13240
|
+
port,
|
|
13241
|
+
language,
|
|
13242
|
+
wrapUpDuration,
|
|
13243
|
+
enableAgent = true,
|
|
13244
|
+
tenantId,
|
|
13245
|
+
debug = false,
|
|
13246
|
+
} = {}) {
|
|
13230
13247
|
this.url = url || 'https://softphone.wazo.io';
|
|
13231
13248
|
this.width = width || 500;
|
|
13232
13249
|
this.height = height || 600;
|
|
@@ -13249,6 +13266,9 @@ class Softphone {
|
|
|
13249
13266
|
if (port) {
|
|
13250
13267
|
config.port = port;
|
|
13251
13268
|
}
|
|
13269
|
+
if (tenantId) {
|
|
13270
|
+
config.tenantId = tenantId;
|
|
13271
|
+
}
|
|
13252
13272
|
if (wrapUpDuration) {
|
|
13253
13273
|
config.wrapUpDuration = wrapUpDuration;
|
|
13254
13274
|
}
|
|
@@ -13259,6 +13279,10 @@ class Softphone {
|
|
|
13259
13279
|
this._sendMessage(BRIDGE_ENABLE_AGENT);
|
|
13260
13280
|
}
|
|
13261
13281
|
|
|
13282
|
+
if (debug) {
|
|
13283
|
+
this._sendMessage(BRIDGE_ENABLE_DEBUG);
|
|
13284
|
+
}
|
|
13285
|
+
|
|
13262
13286
|
this._createIframe(() => {
|
|
13263
13287
|
this.iframeLoaded = true;
|
|
13264
13288
|
this._pendingMessages.forEach(([type, payload]) => this._sendMessage(type, payload));
|
|
@@ -13379,8 +13403,8 @@ class Softphone {
|
|
|
13379
13403
|
}
|
|
13380
13404
|
|
|
13381
13405
|
switch (event.data.type) {
|
|
13382
|
-
case
|
|
13383
|
-
this.
|
|
13406
|
+
case SDK_ON_OUTGOING_CALL_MADE:
|
|
13407
|
+
this.onOutgoingCallMade(event.data.callSession);
|
|
13384
13408
|
break;
|
|
13385
13409
|
case SDK_CALL_ENDED: {
|
|
13386
13410
|
const { callSession, content, direction, userExtension } = event.data;
|
|
@@ -13471,8 +13495,14 @@ class Softphone {
|
|
|
13471
13495
|
case BRIDGE_ON_CARD_CANCELED:
|
|
13472
13496
|
this.onCardCanceled();
|
|
13473
13497
|
break;
|
|
13474
|
-
case
|
|
13475
|
-
this.
|
|
13498
|
+
case BRIDGE_ON_CALL_LOCALLY_ACCEPTED:
|
|
13499
|
+
this.onCallLocallyAnswered(event.data.call);
|
|
13500
|
+
break;
|
|
13501
|
+
case BRIDGE_ON_CALL_REJECTED:
|
|
13502
|
+
this.onCallRejected(event.data.call);
|
|
13503
|
+
break;
|
|
13504
|
+
case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
|
|
13505
|
+
this.onCallRemotelyAnswered(event.data.call);
|
|
13476
13506
|
break;
|
|
13477
13507
|
default:
|
|
13478
13508
|
this.onUnHandledEvent(event);
|
|
@@ -13846,7 +13846,9 @@ const BRIDGE_ON_AGENT_LOGGED_OUT = 'bridge/BRIDGE_ON_AGENT_LOGGED_OUT';
|
|
|
13846
13846
|
const BRIDGE_ON_AGENT_PAUSED = 'bridge/BRIDGE_ON_AGENT_PAUSED';
|
|
13847
13847
|
const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
|
|
13848
13848
|
const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
|
|
13849
|
-
const
|
|
13849
|
+
const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
|
|
13850
|
+
const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
|
|
13851
|
+
const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
|
|
13850
13852
|
const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
|
|
13851
13853
|
const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
|
|
13852
13854
|
const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
|
|
@@ -13863,12 +13865,13 @@ const BRIDGE_ON_STOP_RECORDING = 'bridge/BRIDGE_ON_STOP_RECORDING';
|
|
|
13863
13865
|
const BRIDGE_ON_CARD_CANCELED = 'bridge/BRIDGE_ON_CARD_CANCELED';
|
|
13864
13866
|
const BRIDGE_ENABLE_AGENT = 'bridge/BRIDGE_ENABLE_AGENT';
|
|
13865
13867
|
const BRIDGE_SET_CARD_CONTENT = 'bridge/BRIDGE_SET_CARD_CONTENT';
|
|
13868
|
+
const BRIDGE_ENABLE_DEBUG = 'bridge/BRIDGE_ENABLE_DEBUG';
|
|
13866
13869
|
|
|
13867
13870
|
const BRIDGE_INJECT_CSS = 'bridge/BRIDGE_INJECT_CSS';
|
|
13868
13871
|
const BRIDGE_CUSTOMIZE_APPEARANCE = 'bridge/BRIDGE_CUSTOMIZE_APPEARANCE';
|
|
13869
13872
|
|
|
13870
13873
|
const SDK_CLICK_TO_CALL = 'sdk/CLICK_TO_CALL';
|
|
13871
|
-
const
|
|
13874
|
+
const SDK_ON_OUTGOING_CALL_MADE = 'sdk/SDK_ON_OUTGOING_CALL_MADE';
|
|
13872
13875
|
const SDK_CALL_ENDED = 'sdk/ON_CALL_ENDED';
|
|
13873
13876
|
const SDK_CALL_INCOMING = 'sdk/SDK_CALL_INCOMING';
|
|
13874
13877
|
const SDK_AUTHENTICATED = 'sdk/SDK_AUTHENTICATED';
|
|
@@ -13888,10 +13891,13 @@ class Softphone {
|
|
|
13888
13891
|
onLinkEnabled(link ) {}
|
|
13889
13892
|
onIFrameLoaded() {}
|
|
13890
13893
|
|
|
13891
|
-
|
|
13892
|
-
|
|
13894
|
+
onCallLocallyAnswered(call ) {}
|
|
13895
|
+
onCallRemotelyAnswered(call ) {}
|
|
13896
|
+
onOutgoingCallMade(call ) {}
|
|
13893
13897
|
onCallIncoming(call ) {}
|
|
13898
|
+
onCallRejected(call ) {}
|
|
13894
13899
|
onCallEnded(call , card , direction , fromExtension ) {}
|
|
13900
|
+
|
|
13895
13901
|
onCardSaved(card ) {}
|
|
13896
13902
|
onCardCanceled() {}
|
|
13897
13903
|
onAuthenticated(session ) {}
|
|
@@ -13923,7 +13929,18 @@ class Softphone {
|
|
|
13923
13929
|
onStopRecording() {}
|
|
13924
13930
|
onUnHandledEvent(event ) {}
|
|
13925
13931
|
|
|
13926
|
-
init({
|
|
13932
|
+
init({
|
|
13933
|
+
url,
|
|
13934
|
+
width,
|
|
13935
|
+
height,
|
|
13936
|
+
server,
|
|
13937
|
+
port,
|
|
13938
|
+
language,
|
|
13939
|
+
wrapUpDuration,
|
|
13940
|
+
enableAgent = true,
|
|
13941
|
+
tenantId,
|
|
13942
|
+
debug = false,
|
|
13943
|
+
} = {}) {
|
|
13927
13944
|
this.url = url || 'https://softphone.wazo.io';
|
|
13928
13945
|
this.width = width || 500;
|
|
13929
13946
|
this.height = height || 600;
|
|
@@ -13946,6 +13963,9 @@ class Softphone {
|
|
|
13946
13963
|
if (port) {
|
|
13947
13964
|
config.port = port;
|
|
13948
13965
|
}
|
|
13966
|
+
if (tenantId) {
|
|
13967
|
+
config.tenantId = tenantId;
|
|
13968
|
+
}
|
|
13949
13969
|
if (wrapUpDuration) {
|
|
13950
13970
|
config.wrapUpDuration = wrapUpDuration;
|
|
13951
13971
|
}
|
|
@@ -13956,6 +13976,10 @@ class Softphone {
|
|
|
13956
13976
|
this._sendMessage(BRIDGE_ENABLE_AGENT);
|
|
13957
13977
|
}
|
|
13958
13978
|
|
|
13979
|
+
if (debug) {
|
|
13980
|
+
this._sendMessage(BRIDGE_ENABLE_DEBUG);
|
|
13981
|
+
}
|
|
13982
|
+
|
|
13959
13983
|
this._createIframe(() => {
|
|
13960
13984
|
this.iframeLoaded = true;
|
|
13961
13985
|
this._pendingMessages.forEach(([type, payload]) => this._sendMessage(type, payload));
|
|
@@ -14076,8 +14100,8 @@ class Softphone {
|
|
|
14076
14100
|
}
|
|
14077
14101
|
|
|
14078
14102
|
switch (event.data.type) {
|
|
14079
|
-
case
|
|
14080
|
-
this.
|
|
14103
|
+
case SDK_ON_OUTGOING_CALL_MADE:
|
|
14104
|
+
this.onOutgoingCallMade(event.data.callSession);
|
|
14081
14105
|
break;
|
|
14082
14106
|
case SDK_CALL_ENDED: {
|
|
14083
14107
|
const { callSession, content, direction, userExtension } = event.data;
|
|
@@ -14168,8 +14192,14 @@ class Softphone {
|
|
|
14168
14192
|
case BRIDGE_ON_CARD_CANCELED:
|
|
14169
14193
|
this.onCardCanceled();
|
|
14170
14194
|
break;
|
|
14171
|
-
case
|
|
14172
|
-
this.
|
|
14195
|
+
case BRIDGE_ON_CALL_LOCALLY_ACCEPTED:
|
|
14196
|
+
this.onCallLocallyAnswered(event.data.call);
|
|
14197
|
+
break;
|
|
14198
|
+
case BRIDGE_ON_CALL_REJECTED:
|
|
14199
|
+
this.onCallRejected(event.data.call);
|
|
14200
|
+
break;
|
|
14201
|
+
case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
|
|
14202
|
+
this.onCallRemotelyAnswered(event.data.call);
|
|
14173
14203
|
break;
|
|
14174
14204
|
default:
|
|
14175
14205
|
this.onUnHandledEvent(event);
|
|
@@ -13927,7 +13927,9 @@ const BRIDGE_ON_AGENT_LOGGED_OUT = 'bridge/BRIDGE_ON_AGENT_LOGGED_OUT';
|
|
|
13927
13927
|
const BRIDGE_ON_AGENT_PAUSED = 'bridge/BRIDGE_ON_AGENT_PAUSED';
|
|
13928
13928
|
const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
|
|
13929
13929
|
const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
|
|
13930
|
-
const
|
|
13930
|
+
const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
|
|
13931
|
+
const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
|
|
13932
|
+
const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
|
|
13931
13933
|
const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
|
|
13932
13934
|
const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
|
|
13933
13935
|
const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
|
|
@@ -13944,12 +13946,13 @@ const BRIDGE_ON_STOP_RECORDING = 'bridge/BRIDGE_ON_STOP_RECORDING';
|
|
|
13944
13946
|
const BRIDGE_ON_CARD_CANCELED = 'bridge/BRIDGE_ON_CARD_CANCELED';
|
|
13945
13947
|
const BRIDGE_ENABLE_AGENT = 'bridge/BRIDGE_ENABLE_AGENT';
|
|
13946
13948
|
const BRIDGE_SET_CARD_CONTENT = 'bridge/BRIDGE_SET_CARD_CONTENT';
|
|
13949
|
+
const BRIDGE_ENABLE_DEBUG = 'bridge/BRIDGE_ENABLE_DEBUG';
|
|
13947
13950
|
|
|
13948
13951
|
const BRIDGE_INJECT_CSS = 'bridge/BRIDGE_INJECT_CSS';
|
|
13949
13952
|
const BRIDGE_CUSTOMIZE_APPEARANCE = 'bridge/BRIDGE_CUSTOMIZE_APPEARANCE';
|
|
13950
13953
|
|
|
13951
13954
|
const SDK_CLICK_TO_CALL = 'sdk/CLICK_TO_CALL';
|
|
13952
|
-
const
|
|
13955
|
+
const SDK_ON_OUTGOING_CALL_MADE = 'sdk/SDK_ON_OUTGOING_CALL_MADE';
|
|
13953
13956
|
const SDK_CALL_ENDED = 'sdk/ON_CALL_ENDED';
|
|
13954
13957
|
const SDK_CALL_INCOMING = 'sdk/SDK_CALL_INCOMING';
|
|
13955
13958
|
const SDK_AUTHENTICATED = 'sdk/SDK_AUTHENTICATED';
|
|
@@ -13969,10 +13972,13 @@ class Softphone {
|
|
|
13969
13972
|
onLinkEnabled(link ) {}
|
|
13970
13973
|
onIFrameLoaded() {}
|
|
13971
13974
|
|
|
13972
|
-
|
|
13973
|
-
|
|
13975
|
+
onCallLocallyAnswered(call ) {}
|
|
13976
|
+
onCallRemotelyAnswered(call ) {}
|
|
13977
|
+
onOutgoingCallMade(call ) {}
|
|
13974
13978
|
onCallIncoming(call ) {}
|
|
13979
|
+
onCallRejected(call ) {}
|
|
13975
13980
|
onCallEnded(call , card , direction , fromExtension ) {}
|
|
13981
|
+
|
|
13976
13982
|
onCardSaved(card ) {}
|
|
13977
13983
|
onCardCanceled() {}
|
|
13978
13984
|
onAuthenticated(session ) {}
|
|
@@ -14004,7 +14010,18 @@ class Softphone {
|
|
|
14004
14010
|
onStopRecording() {}
|
|
14005
14011
|
onUnHandledEvent(event ) {}
|
|
14006
14012
|
|
|
14007
|
-
init({
|
|
14013
|
+
init({
|
|
14014
|
+
url,
|
|
14015
|
+
width,
|
|
14016
|
+
height,
|
|
14017
|
+
server,
|
|
14018
|
+
port,
|
|
14019
|
+
language,
|
|
14020
|
+
wrapUpDuration,
|
|
14021
|
+
enableAgent = true,
|
|
14022
|
+
tenantId,
|
|
14023
|
+
debug = false,
|
|
14024
|
+
} = {}) {
|
|
14008
14025
|
this.url = url || 'https://softphone.wazo.io';
|
|
14009
14026
|
this.width = width || 500;
|
|
14010
14027
|
this.height = height || 600;
|
|
@@ -14027,6 +14044,9 @@ class Softphone {
|
|
|
14027
14044
|
if (port) {
|
|
14028
14045
|
config.port = port;
|
|
14029
14046
|
}
|
|
14047
|
+
if (tenantId) {
|
|
14048
|
+
config.tenantId = tenantId;
|
|
14049
|
+
}
|
|
14030
14050
|
if (wrapUpDuration) {
|
|
14031
14051
|
config.wrapUpDuration = wrapUpDuration;
|
|
14032
14052
|
}
|
|
@@ -14037,6 +14057,10 @@ class Softphone {
|
|
|
14037
14057
|
this._sendMessage(BRIDGE_ENABLE_AGENT);
|
|
14038
14058
|
}
|
|
14039
14059
|
|
|
14060
|
+
if (debug) {
|
|
14061
|
+
this._sendMessage(BRIDGE_ENABLE_DEBUG);
|
|
14062
|
+
}
|
|
14063
|
+
|
|
14040
14064
|
this._createIframe(() => {
|
|
14041
14065
|
this.iframeLoaded = true;
|
|
14042
14066
|
this._pendingMessages.forEach(([type, payload]) => this._sendMessage(type, payload));
|
|
@@ -14157,8 +14181,8 @@ class Softphone {
|
|
|
14157
14181
|
}
|
|
14158
14182
|
|
|
14159
14183
|
switch (event.data.type) {
|
|
14160
|
-
case
|
|
14161
|
-
this.
|
|
14184
|
+
case SDK_ON_OUTGOING_CALL_MADE:
|
|
14185
|
+
this.onOutgoingCallMade(event.data.callSession);
|
|
14162
14186
|
break;
|
|
14163
14187
|
case SDK_CALL_ENDED: {
|
|
14164
14188
|
const { callSession, content, direction, userExtension } = event.data;
|
|
@@ -14249,8 +14273,14 @@ class Softphone {
|
|
|
14249
14273
|
case BRIDGE_ON_CARD_CANCELED:
|
|
14250
14274
|
this.onCardCanceled();
|
|
14251
14275
|
break;
|
|
14252
|
-
case
|
|
14253
|
-
this.
|
|
14276
|
+
case BRIDGE_ON_CALL_LOCALLY_ACCEPTED:
|
|
14277
|
+
this.onCallLocallyAnswered(event.data.call);
|
|
14278
|
+
break;
|
|
14279
|
+
case BRIDGE_ON_CALL_REJECTED:
|
|
14280
|
+
this.onCallRejected(event.data.call);
|
|
14281
|
+
break;
|
|
14282
|
+
case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
|
|
14283
|
+
this.onCallRemotelyAnswered(event.data.call);
|
|
14254
14284
|
break;
|
|
14255
14285
|
default:
|
|
14256
14286
|
this.onUnHandledEvent(event);
|