@webex/internal-plugin-metrics 3.0.0-beta.266 → 3.0.0-beta.268
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/call-diagnostic/call-diagnostic-metrics.js +8 -0
- package/dist/call-diagnostic/call-diagnostic-metrics.js.map +1 -1
- package/dist/call-diagnostic/call-diagnostic-metrics.util.js +16 -2
- package/dist/call-diagnostic/call-diagnostic-metrics.util.js.map +1 -1
- package/dist/call-diagnostic/config.js +258 -311
- package/dist/call-diagnostic/config.js.map +1 -1
- package/dist/metrics.js +1 -1
- package/dist/types/call-diagnostic/call-diagnostic-metrics.util.d.ts +7 -0
- package/dist/types/call-diagnostic/config.d.ts +1 -0
- package/package.json +8 -8
- package/src/call-diagnostic/call-diagnostic-metrics.ts +12 -0
- package/src/call-diagnostic/call-diagnostic-metrics.util.ts +14 -0
- package/src/call-diagnostic/config.ts +7 -0
- package/test/unit/spec/call-diagnostic/call-diagnostic-metrics.ts +20 -0
- package/test/unit/spec/call-diagnostic/call-diagnostic-metrics.util.ts +31 -0
|
@@ -5,15 +5,17 @@ var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequ
|
|
|
5
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.WBX_APP_API_URL = exports.UNKNOWN_ERROR = exports.SERVICE_ERROR_CODES_TO_CLIENT_ERROR_CODES_MAP = exports.NEW_LOCUS_ERROR_CLIENT_CODE = exports.NETWORK_ERROR = exports.MEETING_INFO_LOOKUP_ERROR_CLIENT_CODE = exports.ICE_FAILURE_CLIENT_CODE = exports.CLIENT_ERROR_CODE_TO_ERROR_PAYLOAD = exports.CALL_DIAGNOSTIC_LOG_IDENTIFIER = exports.CALL_DIAGNOSTIC_EVENT_FAILED_TO_SEND = exports.BROWSER_MEDIA_ERROR_NAME_TO_CLIENT_ERROR_CODES_MAP = void 0;
|
|
8
|
+
exports.WBX_APP_API_URL = exports.UNKNOWN_ERROR = exports.SERVICE_ERROR_CODES_TO_CLIENT_ERROR_CODES_MAP = exports.NEW_LOCUS_ERROR_CLIENT_CODE = exports.NETWORK_ERROR = exports.MEETING_INFO_LOOKUP_ERROR_CLIENT_CODE = exports.ICE_FAILURE_CLIENT_CODE = exports.CLIENT_ERROR_CODE_TO_ERROR_PAYLOAD = exports.CALL_DIAGNOSTIC_LOG_IDENTIFIER = exports.CALL_DIAGNOSTIC_EVENT_FAILED_TO_SEND = exports.BROWSER_MEDIA_ERROR_NAME_TO_CLIENT_ERROR_CODES_MAP = exports.AUTHENTICATION_FAILED_CODE = void 0;
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/defineProperty"));
|
|
10
|
-
var _BROWSER_MEDIA_ERROR_;
|
|
10
|
+
var _BROWSER_MEDIA_ERROR_, _CLIENT_ERROR_CODE_TO;
|
|
11
11
|
/* eslint-disable import/prefer-default-export */
|
|
12
12
|
// Most client error codes are mapped based on
|
|
13
13
|
// https://sqbu-github.cisco.com/WebExSquared/event-dictionary/wiki/Error-codes-for-metric-events
|
|
14
14
|
|
|
15
15
|
var CALL_DIAGNOSTIC_LOG_IDENTIFIER = 'call-diagnostic-events -> ';
|
|
16
16
|
exports.CALL_DIAGNOSTIC_LOG_IDENTIFIER = CALL_DIAGNOSTIC_LOG_IDENTIFIER;
|
|
17
|
+
var AUTHENTICATION_FAILED_CODE = 1010;
|
|
18
|
+
exports.AUTHENTICATION_FAILED_CODE = AUTHENTICATION_FAILED_CODE;
|
|
17
19
|
var NETWORK_ERROR = 1026;
|
|
18
20
|
exports.NETWORK_ERROR = NETWORK_ERROR;
|
|
19
21
|
var NEW_LOCUS_ERROR_CLIENT_CODE = 4008;
|
|
@@ -48,6 +50,7 @@ var ERROR_DESCRIPTIONS = {
|
|
|
48
50
|
LOCUS_CONFLICT: 'LocusConflict',
|
|
49
51
|
TIMEOUT: 'Timeout',
|
|
50
52
|
LOCUS_INVALID_SEQUENCE_HASH: 'LocusInvalidSequenceHash',
|
|
53
|
+
AUTHENTICATION_FAILED: 'AuthenticationFailed',
|
|
51
54
|
NETWORK_ERROR: 'NetworkError',
|
|
52
55
|
UPDATE_MEDIA_FAILED: 'UpdateMediaFailed',
|
|
53
56
|
FAILED_TO_CONNECT_MEDIA: 'FailedToConnectMedia',
|
|
@@ -267,7 +270,7 @@ var SERVICE_ERROR_CODES_TO_CLIENT_ERROR_CODES_MAP = {
|
|
|
267
270
|
100004: 4103
|
|
268
271
|
};
|
|
269
272
|
exports.SERVICE_ERROR_CODES_TO_CLIENT_ERROR_CODES_MAP = SERVICE_ERROR_CODES_TO_CLIENT_ERROR_CODES_MAP;
|
|
270
|
-
var CLIENT_ERROR_CODE_TO_ERROR_PAYLOAD = {
|
|
273
|
+
var CLIENT_ERROR_CODE_TO_ERROR_PAYLOAD = (_CLIENT_ERROR_CODE_TO = {
|
|
271
274
|
1000: {
|
|
272
275
|
errorDescription: ERROR_DESCRIPTIONS.UNKNOWN_CALL_FAILURE,
|
|
273
276
|
category: 'signaling',
|
|
@@ -313,315 +316,259 @@ var CLIENT_ERROR_CODE_TO_ERROR_PAYLOAD = {
|
|
|
313
316
|
errorDescription: ERROR_DESCRIPTIONS.UPDATE_MEDIA_FAILED,
|
|
314
317
|
category: 'signaling',
|
|
315
318
|
fatal: true
|
|
316
|
-
},
|
|
317
|
-
1026: {
|
|
318
|
-
errorDescription: ERROR_DESCRIPTIONS.NETWORK_ERROR,
|
|
319
|
-
category: 'signaling',
|
|
320
|
-
fatal: true
|
|
321
|
-
},
|
|
322
|
-
2001: {
|
|
323
|
-
errorDescription: ERROR_DESCRIPTIONS.FAILED_TO_CONNECT_MEDIA,
|
|
324
|
-
category: 'signaling',
|
|
325
|
-
fatal: true
|
|
326
|
-
},
|
|
327
|
-
2002: {
|
|
328
|
-
errorDescription: ERROR_DESCRIPTIONS.MEDIA_ENGINE_LOST,
|
|
329
|
-
category: 'signaling',
|
|
330
|
-
fatal: true
|
|
331
|
-
},
|
|
332
|
-
2003: {
|
|
333
|
-
errorDescription: ERROR_DESCRIPTIONS.MEDIA_CONNECTION_LOST,
|
|
334
|
-
category: 'signaling',
|
|
335
|
-
fatal: true
|
|
336
|
-
},
|
|
337
|
-
2004: {
|
|
338
|
-
errorDescription: ERROR_DESCRIPTIONS.ICE_FAILURE,
|
|
339
|
-
category: 'signaling',
|
|
340
|
-
fatal: true
|
|
341
|
-
},
|
|
342
|
-
2005: {
|
|
343
|
-
errorDescription: ERROR_DESCRIPTIONS.MEDIA_ENGINE_HANG,
|
|
344
|
-
category: 'signaling',
|
|
345
|
-
fatal: true
|
|
346
|
-
},
|
|
347
|
-
2006: {
|
|
348
|
-
errorDescription: ERROR_DESCRIPTIONS.ICE_SERVER_REJECTED,
|
|
349
|
-
category: 'signaling',
|
|
350
|
-
fatal: true
|
|
351
|
-
},
|
|
352
|
-
3001: {
|
|
353
|
-
errorDescription: ERROR_DESCRIPTIONS.CALL_FULL,
|
|
354
|
-
category: 'expected',
|
|
355
|
-
fatal: true
|
|
356
|
-
},
|
|
357
|
-
3002: {
|
|
358
|
-
errorDescription: ERROR_DESCRIPTIONS.ROOM_TOO_LARGE,
|
|
359
|
-
category: 'expected',
|
|
360
|
-
fatal: true
|
|
361
|
-
},
|
|
362
|
-
3004: {
|
|
363
|
-
errorDescription: ERROR_DESCRIPTIONS.GUEST_ALREADY_ADDED,
|
|
364
|
-
category: 'expected',
|
|
365
|
-
fatal: false
|
|
366
|
-
},
|
|
367
|
-
3005: {
|
|
368
|
-
errorDescription: ERROR_DESCRIPTIONS.LOCUS_USER_NOT_AUTHORISED,
|
|
369
|
-
category: 'expected',
|
|
370
|
-
fatal: true
|
|
371
|
-
},
|
|
372
|
-
3006: {
|
|
373
|
-
errorDescription: ERROR_DESCRIPTIONS.CLOUDBERRY_UNAVAILABLE,
|
|
374
|
-
category: 'expected',
|
|
375
|
-
fatal: true
|
|
376
|
-
},
|
|
377
|
-
3007: {
|
|
378
|
-
errorDescription: ERROR_DESCRIPTIONS.STREAM_ERROR_NO_MEDIA,
|
|
379
|
-
category: 'expected',
|
|
380
|
-
fatal: true
|
|
381
|
-
},
|
|
382
|
-
3013: {
|
|
383
|
-
errorDescription: ERROR_DESCRIPTIONS.ROOM_TOO_LARGE_FREE_ACCOUNT,
|
|
384
|
-
category: 'expected',
|
|
385
|
-
fatal: false
|
|
386
|
-
},
|
|
387
|
-
4001: {
|
|
388
|
-
errorDescription: ERROR_DESCRIPTIONS.MEETING_INACTIVE,
|
|
389
|
-
category: 'expected',
|
|
390
|
-
fatal: true
|
|
391
|
-
},
|
|
392
|
-
4002: {
|
|
393
|
-
errorDescription: ERROR_DESCRIPTIONS.MEETING_LOCKED,
|
|
394
|
-
category: 'expected',
|
|
395
|
-
fatal: true,
|
|
396
|
-
name: 'locus.response'
|
|
397
|
-
},
|
|
398
|
-
4003: {
|
|
399
|
-
errorDescription: ERROR_DESCRIPTIONS.MEETING_TERMINATING,
|
|
400
|
-
category: 'expected',
|
|
401
|
-
fatal: true,
|
|
402
|
-
name: 'locus.leave'
|
|
403
|
-
},
|
|
404
|
-
4004: {
|
|
405
|
-
errorDescription: ERROR_DESCRIPTIONS.MODERATOR_PIN_OR_GUEST_REQUIRED,
|
|
406
|
-
category: 'expected',
|
|
407
|
-
fatal: false
|
|
408
|
-
},
|
|
409
|
-
4005: {
|
|
410
|
-
errorDescription: ERROR_DESCRIPTIONS.MODERATOR_PIN_OR_GUEST_PIN_REQUIRED,
|
|
411
|
-
category: 'expected',
|
|
412
|
-
fatal: false
|
|
413
|
-
},
|
|
414
|
-
4006: {
|
|
415
|
-
errorDescription: ERROR_DESCRIPTIONS.MODERATOR_REQUIRED,
|
|
416
|
-
category: 'expected',
|
|
417
|
-
fatal: false
|
|
418
|
-
},
|
|
419
|
-
4007: {
|
|
420
|
-
errorDescription: ERROR_DESCRIPTIONS.USER_NOT_MEMBER_OF_ROOM,
|
|
421
|
-
category: 'expected',
|
|
422
|
-
fatal: true
|
|
423
|
-
},
|
|
424
|
-
4008: {
|
|
425
|
-
errorDescription: ERROR_DESCRIPTIONS.NEW_LOCUS_ERROR,
|
|
426
|
-
category: 'signaling',
|
|
427
|
-
fatal: true
|
|
428
|
-
},
|
|
429
|
-
4009: {
|
|
430
|
-
errorDescription: ERROR_DESCRIPTIONS.NETWORK_UNAVAILABLE,
|
|
431
|
-
category: 'expected',
|
|
432
|
-
fatal: true
|
|
433
|
-
},
|
|
434
|
-
4010: {
|
|
435
|
-
errorDescription: ERROR_DESCRIPTIONS.MEETING_UNAVAILABLE,
|
|
436
|
-
category: 'expected',
|
|
437
|
-
fatal: true
|
|
438
|
-
},
|
|
439
|
-
4011: {
|
|
440
|
-
errorDescription: ERROR_DESCRIPTIONS.MEETING_ID_INVALID,
|
|
441
|
-
category: 'expected',
|
|
442
|
-
fatal: true
|
|
443
|
-
},
|
|
444
|
-
4012: {
|
|
445
|
-
errorDescription: ERROR_DESCRIPTIONS.MEETING_SITE_INVALID,
|
|
446
|
-
category: 'expected',
|
|
447
|
-
fatal: true
|
|
448
|
-
},
|
|
449
|
-
4013: {
|
|
450
|
-
errorDescription: ERROR_DESCRIPTIONS.LOCUS_INVALID_JOINTIME,
|
|
451
|
-
category: 'expected',
|
|
452
|
-
fatal: true
|
|
453
|
-
},
|
|
454
|
-
4014: {
|
|
455
|
-
errorDescription: ERROR_DESCRIPTIONS.LOBBY_EXPIRED,
|
|
456
|
-
category: 'expected',
|
|
457
|
-
fatal: true
|
|
458
|
-
},
|
|
459
|
-
4015: {
|
|
460
|
-
errorDescription: ERROR_DESCRIPTIONS.MEDIA_CONNECTION_LOST_PAIRED,
|
|
461
|
-
category: 'expected',
|
|
462
|
-
fatal: false
|
|
463
|
-
},
|
|
464
|
-
4016: {
|
|
465
|
-
errorDescription: ERROR_DESCRIPTIONS.PHONE_NUMBER_NOT_A_NUMBER,
|
|
466
|
-
category: 'expected',
|
|
467
|
-
fatal: true,
|
|
468
|
-
name: 'locus.response'
|
|
469
|
-
},
|
|
470
|
-
4017: {
|
|
471
|
-
errorDescription: ERROR_DESCRIPTIONS.PHONE_NUMBER_TOO_LONG,
|
|
472
|
-
category: 'expected',
|
|
473
|
-
fatal: true,
|
|
474
|
-
name: 'locus.response'
|
|
475
|
-
},
|
|
476
|
-
4018: {
|
|
477
|
-
errorDescription: ERROR_DESCRIPTIONS.INVALID_DIALABLE_KEY,
|
|
478
|
-
category: 'expected',
|
|
479
|
-
fatal: true,
|
|
480
|
-
name: 'locus.response'
|
|
481
|
-
},
|
|
482
|
-
4019: {
|
|
483
|
-
errorDescription: ERROR_DESCRIPTIONS.ONE_ON_ONE_TO_SELF_NOT_ALLOWED,
|
|
484
|
-
category: 'expected',
|
|
485
|
-
fatal: true
|
|
486
|
-
},
|
|
487
|
-
4020: {
|
|
488
|
-
errorDescription: ERROR_DESCRIPTIONS.REMOVED_PARTICIPANT,
|
|
489
|
-
category: 'expected',
|
|
490
|
-
fatal: true
|
|
491
|
-
},
|
|
492
|
-
4021: {
|
|
493
|
-
errorDescription: ERROR_DESCRIPTIONS.MEETING_LINK_NOT_FOUND,
|
|
494
|
-
category: 'expected',
|
|
495
|
-
fatal: true
|
|
496
|
-
},
|
|
497
|
-
4022: {
|
|
498
|
-
errorDescription: ERROR_DESCRIPTIONS.PHONE_NUMBER_TOO_SHORT_AFTER_IDD,
|
|
499
|
-
category: 'expected',
|
|
500
|
-
fatal: true
|
|
501
|
-
},
|
|
502
|
-
4023: {
|
|
503
|
-
errorDescription: ERROR_DESCRIPTIONS.INVALID_INVITEE_ADDRESS,
|
|
504
|
-
category: 'expected',
|
|
505
|
-
fatal: true
|
|
506
|
-
},
|
|
507
|
-
4024: {
|
|
508
|
-
errorDescription: ERROR_DESCRIPTIONS.PMR_USER_ACCOUNT_LOCKED_OUT,
|
|
509
|
-
category: 'expected',
|
|
510
|
-
fatal: true
|
|
511
|
-
},
|
|
512
|
-
4025: {
|
|
513
|
-
errorDescription: ERROR_DESCRIPTIONS.GUEST_FORBIDDEN,
|
|
514
|
-
category: 'expected',
|
|
515
|
-
fatal: true
|
|
516
|
-
},
|
|
517
|
-
4026: {
|
|
518
|
-
errorDescription: ERROR_DESCRIPTIONS.PMR_ACCOUNT_SUSPENDED,
|
|
519
|
-
category: 'expected',
|
|
520
|
-
fatal: true
|
|
521
|
-
},
|
|
522
|
-
4027: {
|
|
523
|
-
errorDescription: ERROR_DESCRIPTIONS.EMPTY_PHONE_NUMBER_OR_COUNTRY_CODE,
|
|
524
|
-
category: 'expected',
|
|
525
|
-
fatal: true
|
|
526
|
-
},
|
|
527
|
-
4028: {
|
|
528
|
-
errorDescription: ERROR_DESCRIPTIONS.CONVERSATION_NOT_FOUND,
|
|
529
|
-
category: 'expected',
|
|
530
|
-
fatal: true
|
|
531
|
-
},
|
|
532
|
-
4029: {
|
|
533
|
-
errorDescription: ERROR_DESCRIPTIONS.START_RECORDING_FAILED,
|
|
534
|
-
category: 'expected',
|
|
535
|
-
fatal: true
|
|
536
|
-
},
|
|
537
|
-
4030: {
|
|
538
|
-
errorDescription: ERROR_DESCRIPTIONS.RECORDING_IN_PROGRESS_FAILED,
|
|
539
|
-
category: 'expected',
|
|
540
|
-
fatal: true
|
|
541
|
-
},
|
|
542
|
-
4032: {
|
|
543
|
-
errorDescription: ERROR_DESCRIPTIONS.CAMERA_PERMISSION_DENIED,
|
|
544
|
-
category: 'expected',
|
|
545
|
-
fatal: true
|
|
546
|
-
},
|
|
547
|
-
4036: {
|
|
548
|
-
errorDescription: ERROR_DESCRIPTIONS.REQUIRE_WEBEX_LOGIN,
|
|
549
|
-
category: 'expected',
|
|
550
|
-
fatal: true
|
|
551
|
-
},
|
|
552
|
-
5000: {
|
|
553
|
-
errorDescription: ERROR_DESCRIPTIONS.SIP_CALLEE_BUSY,
|
|
554
|
-
category: 'expected',
|
|
555
|
-
fatal: true
|
|
556
|
-
},
|
|
557
|
-
5001: {
|
|
558
|
-
errorDescription: ERROR_DESCRIPTIONS.SIP_CALLEE_NOT_FOUND,
|
|
559
|
-
category: 'expected',
|
|
560
|
-
fatal: true
|
|
561
|
-
},
|
|
562
|
-
// Webex App API Error Codes
|
|
563
|
-
4100: {
|
|
564
|
-
errorDescription: ERROR_DESCRIPTIONS.MEETING_INFO_LOOKUP_ERROR,
|
|
565
|
-
category: 'signaling',
|
|
566
|
-
fatal: true
|
|
567
|
-
},
|
|
568
|
-
3003: {
|
|
569
|
-
errorDescription: ERROR_DESCRIPTIONS.CALL_FULL_ADD_GUEST,
|
|
570
|
-
category: 'expected',
|
|
571
|
-
fatal: false
|
|
572
|
-
},
|
|
573
|
-
4101: {
|
|
574
|
-
errorDescription: ERROR_DESCRIPTIONS.USER_NOT_ALLOWED_ACCESS_MEETING,
|
|
575
|
-
category: 'expected',
|
|
576
|
-
fatal: true
|
|
577
|
-
},
|
|
578
|
-
4102: {
|
|
579
|
-
errorDescription: ERROR_DESCRIPTIONS.USER_NEEDS_ACTIVATION,
|
|
580
|
-
category: 'expected',
|
|
581
|
-
fatal: true
|
|
582
|
-
},
|
|
583
|
-
4103: {
|
|
584
|
-
errorDescription: ERROR_DESCRIPTIONS.SIGN_UP_INVALID_EMAIL,
|
|
585
|
-
category: 'expected',
|
|
586
|
-
fatal: true
|
|
587
|
-
},
|
|
588
|
-
2729: {
|
|
589
|
-
errorDescription: ERROR_DESCRIPTIONS.NO_MEDIA_FOUND,
|
|
590
|
-
category: 'expected',
|
|
591
|
-
fatal: false
|
|
592
|
-
},
|
|
593
|
-
9999: {
|
|
594
|
-
errorDescription: ERROR_DESCRIPTIONS.UNKNOWN_ERROR,
|
|
595
|
-
category: 'other',
|
|
596
|
-
fatal: true
|
|
597
|
-
},
|
|
598
|
-
12000: {
|
|
599
|
-
errorDescription: ERROR_DESCRIPTIONS.FRAUD_DETECTION,
|
|
600
|
-
category: 'expected',
|
|
601
|
-
fatal: true,
|
|
602
|
-
name: 'locus.response',
|
|
603
|
-
shownToUser: true
|
|
604
|
-
},
|
|
605
|
-
12001: {
|
|
606
|
-
errorDescription: ERROR_DESCRIPTIONS.LOCUS_LOBBY_FULL_CMR,
|
|
607
|
-
category: 'expected',
|
|
608
|
-
fatal: true,
|
|
609
|
-
name: 'locus.response',
|
|
610
|
-
shownToUser: true
|
|
611
|
-
},
|
|
612
|
-
12002: {
|
|
613
|
-
errorDescription: ERROR_DESCRIPTIONS.E2EE_NOT_SUPPORTED,
|
|
614
|
-
category: 'expected',
|
|
615
|
-
fatal: true,
|
|
616
|
-
name: 'locus.response',
|
|
617
|
-
shownToUser: true
|
|
618
|
-
},
|
|
619
|
-
12003: {
|
|
620
|
-
errorDescription: ERROR_DESCRIPTIONS.USER_NOT_INVITED_TO_JOIN,
|
|
621
|
-
category: 'expected',
|
|
622
|
-
fatal: true
|
|
623
319
|
}
|
|
624
|
-
}
|
|
320
|
+
}, (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, AUTHENTICATION_FAILED_CODE, {
|
|
321
|
+
errorDescription: ERROR_DESCRIPTIONS.AUTHENTICATION_FAILED,
|
|
322
|
+
category: 'signaling',
|
|
323
|
+
fatal: true
|
|
324
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 1026, {
|
|
325
|
+
errorDescription: ERROR_DESCRIPTIONS.NETWORK_ERROR,
|
|
326
|
+
category: 'signaling',
|
|
327
|
+
fatal: true
|
|
328
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 2001, {
|
|
329
|
+
errorDescription: ERROR_DESCRIPTIONS.FAILED_TO_CONNECT_MEDIA,
|
|
330
|
+
category: 'signaling',
|
|
331
|
+
fatal: true
|
|
332
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 2002, {
|
|
333
|
+
errorDescription: ERROR_DESCRIPTIONS.MEDIA_ENGINE_LOST,
|
|
334
|
+
category: 'signaling',
|
|
335
|
+
fatal: true
|
|
336
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 2003, {
|
|
337
|
+
errorDescription: ERROR_DESCRIPTIONS.MEDIA_CONNECTION_LOST,
|
|
338
|
+
category: 'signaling',
|
|
339
|
+
fatal: true
|
|
340
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 2004, {
|
|
341
|
+
errorDescription: ERROR_DESCRIPTIONS.ICE_FAILURE,
|
|
342
|
+
category: 'signaling',
|
|
343
|
+
fatal: true
|
|
344
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 2005, {
|
|
345
|
+
errorDescription: ERROR_DESCRIPTIONS.MEDIA_ENGINE_HANG,
|
|
346
|
+
category: 'signaling',
|
|
347
|
+
fatal: true
|
|
348
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 2006, {
|
|
349
|
+
errorDescription: ERROR_DESCRIPTIONS.ICE_SERVER_REJECTED,
|
|
350
|
+
category: 'signaling',
|
|
351
|
+
fatal: true
|
|
352
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 3001, {
|
|
353
|
+
errorDescription: ERROR_DESCRIPTIONS.CALL_FULL,
|
|
354
|
+
category: 'expected',
|
|
355
|
+
fatal: true
|
|
356
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 3002, {
|
|
357
|
+
errorDescription: ERROR_DESCRIPTIONS.ROOM_TOO_LARGE,
|
|
358
|
+
category: 'expected',
|
|
359
|
+
fatal: true
|
|
360
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 3004, {
|
|
361
|
+
errorDescription: ERROR_DESCRIPTIONS.GUEST_ALREADY_ADDED,
|
|
362
|
+
category: 'expected',
|
|
363
|
+
fatal: false
|
|
364
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 3005, {
|
|
365
|
+
errorDescription: ERROR_DESCRIPTIONS.LOCUS_USER_NOT_AUTHORISED,
|
|
366
|
+
category: 'expected',
|
|
367
|
+
fatal: true
|
|
368
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 3006, {
|
|
369
|
+
errorDescription: ERROR_DESCRIPTIONS.CLOUDBERRY_UNAVAILABLE,
|
|
370
|
+
category: 'expected',
|
|
371
|
+
fatal: true
|
|
372
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 3007, {
|
|
373
|
+
errorDescription: ERROR_DESCRIPTIONS.STREAM_ERROR_NO_MEDIA,
|
|
374
|
+
category: 'expected',
|
|
375
|
+
fatal: true
|
|
376
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 3013, {
|
|
377
|
+
errorDescription: ERROR_DESCRIPTIONS.ROOM_TOO_LARGE_FREE_ACCOUNT,
|
|
378
|
+
category: 'expected',
|
|
379
|
+
fatal: false
|
|
380
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4001, {
|
|
381
|
+
errorDescription: ERROR_DESCRIPTIONS.MEETING_INACTIVE,
|
|
382
|
+
category: 'expected',
|
|
383
|
+
fatal: true
|
|
384
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4002, {
|
|
385
|
+
errorDescription: ERROR_DESCRIPTIONS.MEETING_LOCKED,
|
|
386
|
+
category: 'expected',
|
|
387
|
+
fatal: true,
|
|
388
|
+
name: 'locus.response'
|
|
389
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4003, {
|
|
390
|
+
errorDescription: ERROR_DESCRIPTIONS.MEETING_TERMINATING,
|
|
391
|
+
category: 'expected',
|
|
392
|
+
fatal: true,
|
|
393
|
+
name: 'locus.leave'
|
|
394
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4004, {
|
|
395
|
+
errorDescription: ERROR_DESCRIPTIONS.MODERATOR_PIN_OR_GUEST_REQUIRED,
|
|
396
|
+
category: 'expected',
|
|
397
|
+
fatal: false
|
|
398
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4005, {
|
|
399
|
+
errorDescription: ERROR_DESCRIPTIONS.MODERATOR_PIN_OR_GUEST_PIN_REQUIRED,
|
|
400
|
+
category: 'expected',
|
|
401
|
+
fatal: false
|
|
402
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4006, {
|
|
403
|
+
errorDescription: ERROR_DESCRIPTIONS.MODERATOR_REQUIRED,
|
|
404
|
+
category: 'expected',
|
|
405
|
+
fatal: false
|
|
406
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4007, {
|
|
407
|
+
errorDescription: ERROR_DESCRIPTIONS.USER_NOT_MEMBER_OF_ROOM,
|
|
408
|
+
category: 'expected',
|
|
409
|
+
fatal: true
|
|
410
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4008, {
|
|
411
|
+
errorDescription: ERROR_DESCRIPTIONS.NEW_LOCUS_ERROR,
|
|
412
|
+
category: 'signaling',
|
|
413
|
+
fatal: true
|
|
414
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4009, {
|
|
415
|
+
errorDescription: ERROR_DESCRIPTIONS.NETWORK_UNAVAILABLE,
|
|
416
|
+
category: 'expected',
|
|
417
|
+
fatal: true
|
|
418
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4010, {
|
|
419
|
+
errorDescription: ERROR_DESCRIPTIONS.MEETING_UNAVAILABLE,
|
|
420
|
+
category: 'expected',
|
|
421
|
+
fatal: true
|
|
422
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4011, {
|
|
423
|
+
errorDescription: ERROR_DESCRIPTIONS.MEETING_ID_INVALID,
|
|
424
|
+
category: 'expected',
|
|
425
|
+
fatal: true
|
|
426
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4012, {
|
|
427
|
+
errorDescription: ERROR_DESCRIPTIONS.MEETING_SITE_INVALID,
|
|
428
|
+
category: 'expected',
|
|
429
|
+
fatal: true
|
|
430
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4013, {
|
|
431
|
+
errorDescription: ERROR_DESCRIPTIONS.LOCUS_INVALID_JOINTIME,
|
|
432
|
+
category: 'expected',
|
|
433
|
+
fatal: true
|
|
434
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4014, {
|
|
435
|
+
errorDescription: ERROR_DESCRIPTIONS.LOBBY_EXPIRED,
|
|
436
|
+
category: 'expected',
|
|
437
|
+
fatal: true
|
|
438
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4015, {
|
|
439
|
+
errorDescription: ERROR_DESCRIPTIONS.MEDIA_CONNECTION_LOST_PAIRED,
|
|
440
|
+
category: 'expected',
|
|
441
|
+
fatal: false
|
|
442
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4016, {
|
|
443
|
+
errorDescription: ERROR_DESCRIPTIONS.PHONE_NUMBER_NOT_A_NUMBER,
|
|
444
|
+
category: 'expected',
|
|
445
|
+
fatal: true,
|
|
446
|
+
name: 'locus.response'
|
|
447
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4017, {
|
|
448
|
+
errorDescription: ERROR_DESCRIPTIONS.PHONE_NUMBER_TOO_LONG,
|
|
449
|
+
category: 'expected',
|
|
450
|
+
fatal: true,
|
|
451
|
+
name: 'locus.response'
|
|
452
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4018, {
|
|
453
|
+
errorDescription: ERROR_DESCRIPTIONS.INVALID_DIALABLE_KEY,
|
|
454
|
+
category: 'expected',
|
|
455
|
+
fatal: true,
|
|
456
|
+
name: 'locus.response'
|
|
457
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4019, {
|
|
458
|
+
errorDescription: ERROR_DESCRIPTIONS.ONE_ON_ONE_TO_SELF_NOT_ALLOWED,
|
|
459
|
+
category: 'expected',
|
|
460
|
+
fatal: true
|
|
461
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4020, {
|
|
462
|
+
errorDescription: ERROR_DESCRIPTIONS.REMOVED_PARTICIPANT,
|
|
463
|
+
category: 'expected',
|
|
464
|
+
fatal: true
|
|
465
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4021, {
|
|
466
|
+
errorDescription: ERROR_DESCRIPTIONS.MEETING_LINK_NOT_FOUND,
|
|
467
|
+
category: 'expected',
|
|
468
|
+
fatal: true
|
|
469
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4022, {
|
|
470
|
+
errorDescription: ERROR_DESCRIPTIONS.PHONE_NUMBER_TOO_SHORT_AFTER_IDD,
|
|
471
|
+
category: 'expected',
|
|
472
|
+
fatal: true
|
|
473
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4023, {
|
|
474
|
+
errorDescription: ERROR_DESCRIPTIONS.INVALID_INVITEE_ADDRESS,
|
|
475
|
+
category: 'expected',
|
|
476
|
+
fatal: true
|
|
477
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4024, {
|
|
478
|
+
errorDescription: ERROR_DESCRIPTIONS.PMR_USER_ACCOUNT_LOCKED_OUT,
|
|
479
|
+
category: 'expected',
|
|
480
|
+
fatal: true
|
|
481
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4025, {
|
|
482
|
+
errorDescription: ERROR_DESCRIPTIONS.GUEST_FORBIDDEN,
|
|
483
|
+
category: 'expected',
|
|
484
|
+
fatal: true
|
|
485
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4026, {
|
|
486
|
+
errorDescription: ERROR_DESCRIPTIONS.PMR_ACCOUNT_SUSPENDED,
|
|
487
|
+
category: 'expected',
|
|
488
|
+
fatal: true
|
|
489
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4027, {
|
|
490
|
+
errorDescription: ERROR_DESCRIPTIONS.EMPTY_PHONE_NUMBER_OR_COUNTRY_CODE,
|
|
491
|
+
category: 'expected',
|
|
492
|
+
fatal: true
|
|
493
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4028, {
|
|
494
|
+
errorDescription: ERROR_DESCRIPTIONS.CONVERSATION_NOT_FOUND,
|
|
495
|
+
category: 'expected',
|
|
496
|
+
fatal: true
|
|
497
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4029, {
|
|
498
|
+
errorDescription: ERROR_DESCRIPTIONS.START_RECORDING_FAILED,
|
|
499
|
+
category: 'expected',
|
|
500
|
+
fatal: true
|
|
501
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4030, {
|
|
502
|
+
errorDescription: ERROR_DESCRIPTIONS.RECORDING_IN_PROGRESS_FAILED,
|
|
503
|
+
category: 'expected',
|
|
504
|
+
fatal: true
|
|
505
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4032, {
|
|
506
|
+
errorDescription: ERROR_DESCRIPTIONS.CAMERA_PERMISSION_DENIED,
|
|
507
|
+
category: 'expected',
|
|
508
|
+
fatal: true
|
|
509
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4036, {
|
|
510
|
+
errorDescription: ERROR_DESCRIPTIONS.REQUIRE_WEBEX_LOGIN,
|
|
511
|
+
category: 'expected',
|
|
512
|
+
fatal: true
|
|
513
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 5000, {
|
|
514
|
+
errorDescription: ERROR_DESCRIPTIONS.SIP_CALLEE_BUSY,
|
|
515
|
+
category: 'expected',
|
|
516
|
+
fatal: true
|
|
517
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 5001, {
|
|
518
|
+
errorDescription: ERROR_DESCRIPTIONS.SIP_CALLEE_NOT_FOUND,
|
|
519
|
+
category: 'expected',
|
|
520
|
+
fatal: true
|
|
521
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4100, {
|
|
522
|
+
errorDescription: ERROR_DESCRIPTIONS.MEETING_INFO_LOOKUP_ERROR,
|
|
523
|
+
category: 'signaling',
|
|
524
|
+
fatal: true
|
|
525
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 3003, {
|
|
526
|
+
errorDescription: ERROR_DESCRIPTIONS.CALL_FULL_ADD_GUEST,
|
|
527
|
+
category: 'expected',
|
|
528
|
+
fatal: false
|
|
529
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4101, {
|
|
530
|
+
errorDescription: ERROR_DESCRIPTIONS.USER_NOT_ALLOWED_ACCESS_MEETING,
|
|
531
|
+
category: 'expected',
|
|
532
|
+
fatal: true
|
|
533
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4102, {
|
|
534
|
+
errorDescription: ERROR_DESCRIPTIONS.USER_NEEDS_ACTIVATION,
|
|
535
|
+
category: 'expected',
|
|
536
|
+
fatal: true
|
|
537
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4103, {
|
|
538
|
+
errorDescription: ERROR_DESCRIPTIONS.SIGN_UP_INVALID_EMAIL,
|
|
539
|
+
category: 'expected',
|
|
540
|
+
fatal: true
|
|
541
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 2729, {
|
|
542
|
+
errorDescription: ERROR_DESCRIPTIONS.NO_MEDIA_FOUND,
|
|
543
|
+
category: 'expected',
|
|
544
|
+
fatal: false
|
|
545
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 9999, {
|
|
546
|
+
errorDescription: ERROR_DESCRIPTIONS.UNKNOWN_ERROR,
|
|
547
|
+
category: 'other',
|
|
548
|
+
fatal: true
|
|
549
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 12000, {
|
|
550
|
+
errorDescription: ERROR_DESCRIPTIONS.FRAUD_DETECTION,
|
|
551
|
+
category: 'expected',
|
|
552
|
+
fatal: true,
|
|
553
|
+
name: 'locus.response',
|
|
554
|
+
shownToUser: true
|
|
555
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 12001, {
|
|
556
|
+
errorDescription: ERROR_DESCRIPTIONS.LOCUS_LOBBY_FULL_CMR,
|
|
557
|
+
category: 'expected',
|
|
558
|
+
fatal: true,
|
|
559
|
+
name: 'locus.response',
|
|
560
|
+
shownToUser: true
|
|
561
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 12002, {
|
|
562
|
+
errorDescription: ERROR_DESCRIPTIONS.E2EE_NOT_SUPPORTED,
|
|
563
|
+
category: 'expected',
|
|
564
|
+
fatal: true,
|
|
565
|
+
name: 'locus.response',
|
|
566
|
+
shownToUser: true
|
|
567
|
+
}), (0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 12003, {
|
|
568
|
+
errorDescription: ERROR_DESCRIPTIONS.USER_NOT_INVITED_TO_JOIN,
|
|
569
|
+
category: 'expected',
|
|
570
|
+
fatal: true
|
|
571
|
+
}), _CLIENT_ERROR_CODE_TO);
|
|
625
572
|
exports.CLIENT_ERROR_CODE_TO_ERROR_PAYLOAD = CLIENT_ERROR_CODE_TO_ERROR_PAYLOAD;
|
|
626
573
|
var CALL_DIAGNOSTIC_EVENT_FAILED_TO_SEND = 'js_sdk_call_diagnostic_event_failed_to_send';
|
|
627
574
|
exports.CALL_DIAGNOSTIC_EVENT_FAILED_TO_SEND = CALL_DIAGNOSTIC_EVENT_FAILED_TO_SEND;
|