@telegenta/webclient 2.0.12 → 3.0.1

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.
Files changed (105) hide show
  1. package/README.md +102 -81
  2. package/demos/add_phone_number.html +8 -7
  3. package/demos/calldata_available.html +5 -5
  4. package/demos/embedded_config.html +3 -3
  5. package/demos/event_client.html +226 -211
  6. package/demos/phone_client.html +540 -514
  7. package/demos/styles.css +0 -0
  8. package/dist/telegenta.js +3663 -0
  9. package/dist/telegenta.min.js +1 -0
  10. package/docs/EventClient.html +3 -1093
  11. package/docs/EventServiceNotConnected.html +3 -0
  12. package/docs/InvalidMediaDevice.html +3 -0
  13. package/docs/InvalidOptions.html +3 -0
  14. package/docs/InvalidParameter.html +3 -0
  15. package/docs/LogHandler.html +7 -0
  16. package/docs/MediaNotPrepared.html +3 -0
  17. package/docs/NoActiveSession.html +3 -0
  18. package/docs/NotAllowed.html +3 -0
  19. package/docs/NotReady.html +3 -0
  20. package/docs/Phone.html +4 -2837
  21. package/docs/Request.html +3 -0
  22. package/docs/Requestor.html +3 -0
  23. package/docs/Session.html +3 -2599
  24. package/docs/UnableToConnect.html +3 -0
  25. package/docs/data/search.json +1 -0
  26. package/docs/event-client.js.html +352 -0
  27. package/docs/exceptions.js.html +104 -0
  28. package/docs/fonts/Inconsolata-Regular.ttf +0 -0
  29. package/docs/fonts/OpenSans-Regular.ttf +0 -0
  30. package/docs/fonts/WorkSans-Bold.ttf +0 -0
  31. package/docs/global.html +5 -4950
  32. package/docs/index.html +3 -66
  33. package/docs/logger.js.html +106 -0
  34. package/docs/phone-client.js.html +2175 -0
  35. package/docs/requestor.js.html +223 -0
  36. package/docs/scripts/core.js +726 -0
  37. package/docs/scripts/core.min.js +23 -0
  38. package/docs/scripts/resize.js +90 -0
  39. package/docs/scripts/search.js +265 -0
  40. package/docs/scripts/search.min.js +6 -0
  41. package/docs/scripts/{prettify → third-party}/Apache-License-2.0.txt +202 -202
  42. package/docs/scripts/third-party/fuse.js +9 -0
  43. package/docs/scripts/third-party/hljs-line-num-original.js +369 -0
  44. package/docs/scripts/third-party/hljs-line-num.js +1 -0
  45. package/docs/scripts/third-party/hljs-original.js +5171 -0
  46. package/docs/scripts/third-party/hljs.js +1 -0
  47. package/docs/scripts/third-party/popper.js +5 -0
  48. package/docs/scripts/third-party/tippy.js +1 -0
  49. package/docs/scripts/third-party/tocbot.js +672 -0
  50. package/docs/scripts/third-party/tocbot.min.js +1 -0
  51. package/docs/styles/clean-jsdoc-theme-base.css +1159 -0
  52. package/docs/styles/clean-jsdoc-theme-dark.css +412 -0
  53. package/docs/styles/clean-jsdoc-theme-light.css +482 -0
  54. package/docs/styles/clean-jsdoc-theme-scrollbar.css +30 -0
  55. package/docs/styles/clean-jsdoc-theme-without-scrollbar.min.css +1 -0
  56. package/docs/styles/clean-jsdoc-theme.min.css +1 -0
  57. package/package.json +38 -26
  58. package/babel.config.js +0 -16
  59. package/browser/telegenta.min.js +0 -1
  60. package/demos/telegenta.min.js +0 -1
  61. package/docs/fonts/OpenSans-Bold-webfont.eot +0 -0
  62. package/docs/fonts/OpenSans-Bold-webfont.svg +0 -1830
  63. package/docs/fonts/OpenSans-Bold-webfont.woff +0 -0
  64. package/docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  65. package/docs/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  66. package/docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  67. package/docs/fonts/OpenSans-Italic-webfont.eot +0 -0
  68. package/docs/fonts/OpenSans-Italic-webfont.svg +0 -1830
  69. package/docs/fonts/OpenSans-Italic-webfont.woff +0 -0
  70. package/docs/fonts/OpenSans-Light-webfont.eot +0 -0
  71. package/docs/fonts/OpenSans-Light-webfont.svg +0 -1831
  72. package/docs/fonts/OpenSans-Light-webfont.woff +0 -0
  73. package/docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  74. package/docs/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  75. package/docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  76. package/docs/fonts/OpenSans-Regular-webfont.eot +0 -0
  77. package/docs/fonts/OpenSans-Regular-webfont.svg +0 -1831
  78. package/docs/fonts/OpenSans-Regular-webfont.woff +0 -0
  79. package/docs/fonts/OpenSans-Semibold-webfont.eot +0 -0
  80. package/docs/fonts/OpenSans-Semibold-webfont.svg +0 -1830
  81. package/docs/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  82. package/docs/fonts/OpenSans-Semibold-webfont.woff +0 -0
  83. package/docs/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  84. package/docs/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
  85. package/docs/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  86. package/docs/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  87. package/docs/scripts/linenumber.js +0 -25
  88. package/docs/scripts/prettify/lang-css.js +0 -2
  89. package/docs/scripts/prettify/prettify.js +0 -28
  90. package/docs/styles/jsdoc-default.css +0 -692
  91. package/docs/styles/prettify-jsdoc.css +0 -111
  92. package/docs/styles/prettify-tomorrow.css +0 -132
  93. package/embedded_client/embedded_phone.js +0 -325
  94. package/embedded_client/index.html +0 -201
  95. package/embedded_client/server.php +0 -28
  96. package/embedded_client/styles.css +0 -310
  97. package/embedded_client/tiny_rest_client.php +0 -73
  98. package/embedded_client/webphone_sprites.png +0 -0
  99. package/es5/event-client.js +0 -277
  100. package/es5/index.js +0 -44
  101. package/es5/phone-client.js +0 -1336
  102. package/src/event-client.js +0 -1
  103. package/src/index.js +0 -10
  104. package/src/phone-client.js +0 -1
  105. package/webpack.config.js +0 -39
package/docs/global.html CHANGED
@@ -1,4955 +1,10 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <title>Global - Documentation</title>
7
-
8
- <script src="scripts/prettify/prettify.js"></script>
9
- <script src="scripts/prettify/lang-css.js"></script>
10
- <!--[if lt IE 9]>
11
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
12
- <![endif]-->
13
- <link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
14
- <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
15
- <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
16
- </head>
17
- <body>
18
-
19
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
20
- <label for="nav-trigger" class="navicon-button x">
21
- <div class="navicon"></div>
22
- </label>
23
-
24
- <label for="nav-trigger" class="overlay"></label>
25
-
26
- <nav>
27
- <li class="nav-link nav-home-link"><a href="index.html">Home</a></li><li class="nav-heading">Classes</li><li class="nav-heading"><span class="nav-item-type type-class">C</span><span class="nav-item-name"><a href="EventClient.html">EventClient</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="EventClient.html#connect">connect</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="EventClient.html#disconnect">disconnect</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="EventClient.html#fireEvent">fireEvent</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="EventClient.html#isConnected">isConnected</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="EventClient.html#subscribe">subscribe</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="EventClient.html#unsubscribe">unsubscribe</a></span></li><li class="nav-heading"><span class="nav-item-type type-class">C</span><span class="nav-item-name"><a href="Phone.html">Phone</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Phone.html#call">call</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Phone.html#getSessionByUUID">getSessionByUUID</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Phone.html#holdAllCalls">holdAllCalls</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Phone.html#listen">listen</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Phone.html#playTone">playTone</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Phone.html#prepareMedia">prepareMedia</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Phone.html#start">start</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Phone.html#stop">stop</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Phone.html#stopTone">stopTone</a></span></li><li class="nav-heading"><span class="nav-item-type type-class">C</span><span class="nav-item-name"><a href="Session.html">Session</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#answer">answer</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#getOtherSessions">getOtherSessions</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#hangup">hangup</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#hold">hold</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#muteMic">muteMic</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#playback">playback</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#reject">reject</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#sendDTMF">sendDTMF</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#setWhisperMode">setWhisperMode</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#startRecording">startRecording</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#stopRecording">stopRecording</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#toggleHold">toggleHold</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#toggleMute">toggleMute</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#toggleRecording">toggleRecording</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#transfer">transfer</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#unhold">unhold</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Session.html#unmuteMic">unmuteMic</a></span></li><li class="nav-heading">Events</li><li class="nav-heading"><span class="nav-item-type type-event">E</span><span class="nav-item-name"><a href="global.html#event:callDataInfo">callDataInfo</a></span></li><li class="nav-heading"><span class="nav-item-type type-event">E</span><span class="nav-item-name"><a href="global.html#event:callDurationUpdate">callDurationUpdate</a></span></li><li class="nav-heading"><span class="nav-item-type type-event">E</span><span class="nav-item-name"><a href="global.html#event:callEnded">callEnded</a></span></li><li class="nav-heading"><span class="nav-item-type type-event">E</span><span class="nav-item-name"><a href="global.html#event:callQualityReportUpdate">callQualityReportUpdate</a></span></li><li class="nav-heading"><span class="nav-item-type type-event">E</span><span class="nav-item-name"><a href="global.html#event:connectionStateChange">connectionStateChange</a></span></li><li class="nav-heading"><span class="nav-item-type type-event">E</span><span class="nav-item-name"><a href="global.html#event:holdStateChange">holdStateChange</a></span></li><li class="nav-heading"><span class="nav-item-type type-event">E</span><span class="nav-item-name"><a href="global.html#event:incomingCall">incomingCall</a></span></li><li class="nav-heading"><span class="nav-item-type type-event">E</span><span class="nav-item-name"><a href="global.html#event:muteStateChange">muteStateChange</a></span></li><li class="nav-heading"><span class="nav-item-type type-event">E</span><span class="nav-item-name"><a href="global.html#event:recordingStateChange">recordingStateChange</a></span></li><li class="nav-heading"><span class="nav-item-type type-event">E</span><span class="nav-item-name"><a href="global.html#event:sessionCreated">sessionCreated</a></span></li><li class="nav-heading"><span class="nav-item-type type-event">E</span><span class="nav-item-name"><a href="global.html#event:sessionRemoved">sessionRemoved</a></span></li><li class="nav-heading"><span class="nav-item-type type-event">E</span><span class="nav-item-name"><a href="global.html#event:sessionStateChange">sessionStateChange</a></span></li><li class="nav-heading"><span class="nav-item-type type-event">E</span><span class="nav-item-name"><a href="global.html#event:whisperModeChange">whisperModeChange</a></span></li><li class="nav-heading"><a href="global.html">Globals</a></li>
28
- </nav>
29
-
30
- <div id="main">
31
-
32
- <h1 class="page-title">Global</h1>
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
- <section>
41
-
42
- <header>
43
-
44
- <h2>
45
-
46
- </h2>
47
-
48
-
49
- </header>
50
-
51
- <article>
52
- <div class="container-overview">
53
-
54
-
55
-
56
-
57
-
58
-
59
- <dl class="details">
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
- </dl>
93
-
94
-
95
-
96
-
97
- </div>
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
- <h3 class="subsection-title">Type Definitions</h3>
115
-
116
-
117
-
118
- <div class="section-members">
119
- <h4 class="name" id="CALL_DIRECTION">CALL_DIRECTION</h4>
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
- <h5 class="subsection-title">Properties:</h5>
129
-
130
-
131
-
132
- <table class="props">
133
- <thead>
134
- <tr>
135
-
136
- <th>Name</th>
137
-
138
-
139
- <th>Type</th>
140
-
141
-
142
-
143
-
144
-
145
- <th class="last">Description</th>
146
- </tr>
147
- </thead>
148
-
149
- <tbody>
150
-
151
-
152
- <tr>
153
-
154
- <td class="name"><code>INBOUND</code></td>
155
-
156
-
157
- <td class="type">
158
-
159
-
160
- <span class="param-type"><code>string</code></span>
161
-
162
-
163
-
164
- </td>
165
-
166
-
167
-
168
-
169
-
170
- <td class="description last">Incoming call</td>
171
- </tr>
172
-
173
-
174
-
175
-
176
-
177
- <tr>
178
-
179
- <td class="name"><code>OUTBOUND</code></td>
180
-
181
-
182
- <td class="type">
183
-
184
-
185
- <span class="param-type"><code>string</code></span>
186
-
187
-
188
-
189
- </td>
190
-
191
-
192
-
193
-
194
-
195
- <td class="description last">Outgoing call</td>
196
- </tr>
197
-
198
-
199
-
200
-
201
-
202
- <tr>
203
-
204
- <td class="name"><code>TRANSFER</code></td>
205
-
206
-
207
- <td class="type">
208
-
209
-
210
- <span class="param-type"><code>string</code></span>
211
-
212
-
213
-
214
- </td>
215
-
216
-
217
-
218
-
219
-
220
- <td class="description last">Transferred call</td>
221
- </tr>
222
-
223
-
224
-
225
-
226
-
227
- <tr>
228
-
229
- <td class="name"><code>LOCAL</code></td>
230
-
231
-
232
- <td class="type">
233
-
234
-
235
- <span class="param-type"><code>string</code></span>
236
-
237
-
238
-
239
- </td>
240
-
241
-
242
-
243
-
244
-
245
- <td class="description last">Local call (sip account <-> sip account)</td>
246
- </tr>
247
-
248
-
249
-
250
-
251
-
252
- <tr>
253
-
254
- <td class="name"><code>AUTOMATED</code></td>
255
-
256
-
257
- <td class="type">
258
-
259
-
260
- <span class="param-type"><code>string</code></span>
261
-
262
-
263
-
264
- </td>
265
-
266
-
267
-
268
-
269
-
270
- <td class="description last">Call triggered from api / server</td>
271
- </tr>
272
-
273
-
274
-
275
-
276
-
277
- <tr>
278
-
279
- <td class="name"><code>LISTEN</code></td>
280
-
281
-
282
- <td class="type">
283
-
284
-
285
- <span class="param-type"><code>string</code></span>
286
-
287
-
288
-
289
- </td>
290
-
291
-
292
-
293
-
294
-
295
- <td class="description last">Listen call</td>
296
- </tr>
297
-
298
-
299
-
300
-
301
- </tbody>
302
- </table>
303
-
304
-
305
-
306
-
307
- <dl class="details">
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
-
318
-
319
-
320
-
321
-
322
-
323
-
324
-
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
-
337
-
338
-
339
-
340
- </dl>
341
-
342
-
343
-
344
- <h5>Type:</h5>
345
- <ul>
346
- <li>
347
-
348
- <span class="param-type"><code>string</code></span>
349
-
350
-
351
- </li>
352
- </ul>
353
-
354
-
355
-
356
-
357
-
358
- </div>
359
-
360
-
361
-
362
- <div class="section-members">
363
- <h4 class="name" id="CALL_DISPOSITION">CALL_DISPOSITION</h4>
364
-
365
-
366
-
367
-
368
-
369
-
370
-
371
-
372
- <h5 class="subsection-title">Properties:</h5>
373
-
374
-
375
-
376
- <table class="props">
377
- <thead>
378
- <tr>
379
-
380
- <th>Name</th>
381
-
382
-
383
- <th>Type</th>
384
-
385
-
386
-
387
-
388
-
389
- <th class="last">Description</th>
390
- </tr>
391
- </thead>
392
-
393
- <tbody>
394
-
395
-
396
- <tr>
397
-
398
- <td class="name"><code>BUSY</code></td>
399
-
400
-
401
- <td class="type">
402
-
403
-
404
- <span class="param-type"><code>string</code></span>
405
-
406
-
407
-
408
- </td>
409
-
410
-
411
-
412
-
413
-
414
- <td class="description last">Number was busy</td>
415
- </tr>
416
-
417
-
418
-
419
-
420
-
421
- <tr>
422
-
423
- <td class="name"><code>INVALID_NUMBER</code></td>
424
-
425
-
426
- <td class="type">
427
-
428
-
429
- <span class="param-type"><code>string</code></span>
430
-
431
-
432
-
433
- </td>
434
-
435
-
436
-
437
-
438
-
439
- <td class="description last">Number call does not exist</td>
440
- </tr>
441
-
442
-
443
-
444
-
445
-
446
- <tr>
447
-
448
- <td class="name"><code>NO_ANSWER</code></td>
449
-
450
-
451
- <td class="type">
452
-
453
-
454
- <span class="param-type"><code>string</code></span>
455
-
456
-
457
-
458
- </td>
459
-
460
-
461
-
462
-
463
-
464
- <td class="description last">Call was not picked up before cancelling</td>
465
- </tr>
466
-
467
-
468
-
469
-
470
-
471
- <tr>
472
-
473
- <td class="name"><code>TEMP_UNAVAIL</code></td>
474
-
475
-
476
- <td class="type">
477
-
478
-
479
- <span class="param-type"><code>string</code></span>
480
-
481
-
482
-
483
- </td>
484
-
485
-
486
-
487
-
488
-
489
- <td class="description last">Remote is temporarily unavailable</td>
490
- </tr>
491
-
492
-
493
-
494
-
495
-
496
- <tr>
497
-
498
- <td class="name"><code>NORMAL</code></td>
499
-
500
-
501
- <td class="type">
502
-
503
-
504
- <span class="param-type"><code>string</code></span>
505
-
506
-
507
-
508
- </td>
509
-
510
-
511
-
512
-
513
-
514
- <td class="description last">Call was terminated normally</td>
515
- </tr>
516
-
517
-
518
-
519
-
520
-
521
- <tr>
522
-
523
- <td class="name"><code>FAILED</code></td>
524
-
525
-
526
- <td class="type">
527
-
528
-
529
- <span class="param-type"><code>string</code></span>
530
-
531
-
532
-
533
- </td>
534
-
535
-
536
-
537
-
538
-
539
- <td class="description last">There was a failure connecting the call</td>
540
- </tr>
541
-
542
-
543
-
544
-
545
-
546
- <tr>
547
-
548
- <td class="name"><code>BARRED</code></td>
549
-
550
-
551
- <td class="type">
552
-
553
-
554
- <span class="param-type"><code>string</code></span>
555
-
556
-
557
-
558
- </td>
559
-
560
-
561
-
562
-
563
-
564
- <td class="description last">Call was prohibited by server</td>
565
- </tr>
566
-
567
-
568
-
569
-
570
-
571
- <tr>
572
-
573
- <td class="name"><code>REJECTED</code></td>
574
-
575
-
576
- <td class="type">
577
-
578
-
579
- <span class="param-type"><code>string</code></span>
580
-
581
-
582
-
583
- </td>
584
-
585
-
586
-
587
-
588
-
589
- <td class="description last">Incoming call was rejected</td>
590
- </tr>
591
-
592
-
593
-
594
-
595
- </tbody>
596
- </table>
597
-
598
-
599
-
600
-
601
- <dl class="details">
602
-
603
-
604
-
605
-
606
-
607
-
608
-
609
-
610
-
611
-
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
-
624
-
625
-
626
-
627
-
628
-
629
-
630
-
631
-
632
-
633
-
634
- </dl>
635
-
636
-
637
-
638
- <h5>Type:</h5>
639
- <ul>
640
- <li>
641
-
642
- <span class="param-type"><code>string</code></span>
643
-
644
-
645
- </li>
646
- </ul>
647
-
648
-
649
-
650
-
651
-
652
- </div>
653
-
654
-
655
-
656
- <div class="section-members">
657
- <h4 class="name" id="CONNECTION_STATE">CONNECTION_STATE</h4>
658
-
659
-
660
-
661
-
662
-
663
-
664
-
665
-
666
- <h5 class="subsection-title">Properties:</h5>
667
-
668
-
669
-
670
- <table class="props">
671
- <thead>
672
- <tr>
673
-
674
- <th>Name</th>
675
-
676
-
677
- <th>Type</th>
678
-
679
-
680
-
681
-
682
-
683
- <th class="last">Description</th>
684
- </tr>
685
- </thead>
686
-
687
- <tbody>
688
-
689
-
690
- <tr>
691
-
692
- <td class="name"><code>CONNECTING</code></td>
693
-
694
-
695
- <td class="type">
696
-
697
-
698
- <span class="param-type"><code>string</code></span>
699
-
700
-
701
-
702
- </td>
703
-
704
-
705
-
706
-
707
-
708
- <td class="description last">Connecting to server</td>
709
- </tr>
710
-
711
-
712
-
713
-
714
-
715
- <tr>
716
-
717
- <td class="name"><code>CONNECTED</code></td>
718
-
719
-
720
- <td class="type">
721
-
722
-
723
- <span class="param-type"><code>string</code></span>
724
-
725
-
726
-
727
- </td>
728
-
729
-
730
-
731
-
732
-
733
- <td class="description last">Connected to server</td>
734
- </tr>
735
-
736
-
737
-
738
-
739
-
740
- <tr>
741
-
742
- <td class="name"><code>DISCONNECTED</code></td>
743
-
744
-
745
- <td class="type">
746
-
747
-
748
- <span class="param-type"><code>string</code></span>
749
-
750
-
751
-
752
- </td>
753
-
754
-
755
-
756
-
757
-
758
- <td class="description last">Disconnected from server</td>
759
- </tr>
760
-
761
-
762
-
763
-
764
-
765
- <tr>
766
-
767
- <td class="name"><code>REGISTERED</code></td>
768
-
769
-
770
- <td class="type">
771
-
772
-
773
- <span class="param-type"><code>string</code></span>
774
-
775
-
776
-
777
- </td>
778
-
779
-
780
-
781
-
782
-
783
- <td class="description last">Registered on server</td>
784
- </tr>
785
-
786
-
787
-
788
-
789
-
790
- <tr>
791
-
792
- <td class="name"><code>UNREGISTERED</code></td>
793
-
794
-
795
- <td class="type">
796
-
797
-
798
- <span class="param-type"><code>string</code></span>
799
-
800
-
801
-
802
- </td>
803
-
804
-
805
-
806
-
807
-
808
- <td class="description last">De-registered from server</td>
809
- </tr>
810
-
811
-
812
-
813
-
814
-
815
- <tr>
816
-
817
- <td class="name"><code>REGISTRATION_FAILED</code></td>
818
-
819
-
820
- <td class="type">
821
-
822
-
823
- <span class="param-type"><code>string</code></span>
824
-
825
-
826
-
827
- </td>
828
-
829
-
830
-
831
-
832
-
833
- <td class="description last">Registration failed</td>
834
- </tr>
835
-
836
-
837
-
838
-
839
- </tbody>
840
- </table>
841
-
842
-
843
-
844
-
845
- <dl class="details">
846
-
847
-
848
-
849
-
850
-
851
-
852
-
853
-
854
-
855
-
856
-
857
-
858
-
859
-
860
-
861
-
862
-
863
-
864
-
865
-
866
-
867
-
868
-
869
-
870
-
871
-
872
-
873
-
874
-
875
-
876
-
877
-
878
- </dl>
879
-
880
-
881
-
882
- <h5>Type:</h5>
883
- <ul>
884
- <li>
885
-
886
- <span class="param-type"><code>string</code></span>
887
-
888
-
889
- </li>
890
- </ul>
891
-
892
-
893
-
894
-
895
-
896
- </div>
897
-
898
-
899
-
900
- <div class="section-members">
901
- <h4 class="name" id="SESSION_STATE">SESSION_STATE</h4>
902
-
903
-
904
-
905
-
906
-
907
-
908
-
909
-
910
- <h5 class="subsection-title">Properties:</h5>
911
-
912
-
913
-
914
- <table class="props">
915
- <thead>
916
- <tr>
917
-
918
- <th>Name</th>
919
-
920
-
921
- <th>Type</th>
922
-
923
-
924
-
925
-
926
-
927
- <th class="last">Description</th>
928
- </tr>
929
- </thead>
930
-
931
- <tbody>
932
-
933
-
934
- <tr>
935
-
936
- <td class="name"><code>INITIALIZING</code></td>
937
-
938
-
939
- <td class="type">
940
-
941
-
942
- <span class="param-type"><code>string</code></span>
943
-
944
-
945
-
946
- </td>
947
-
948
-
949
-
950
-
951
-
952
- <td class="description last">Session is initializing (Gather ICE candidates)</td>
953
- </tr>
954
-
955
-
956
-
957
-
958
-
959
- <tr>
960
-
961
- <td class="name"><code>CALLING</code></td>
962
-
963
-
964
- <td class="type">
965
-
966
-
967
- <span class="param-type"><code>string</code></span>
968
-
969
-
970
-
971
- </td>
972
-
973
-
974
-
975
-
976
-
977
- <td class="description last">Sending INVITE to server</td>
978
- </tr>
979
-
980
-
981
-
982
-
983
-
984
- <tr>
985
-
986
- <td class="name"><code>PROGRESS</code></td>
987
-
988
-
989
- <td class="type">
990
-
991
-
992
- <span class="param-type"><code>string</code></span>
993
-
994
-
995
-
996
- </td>
997
-
998
-
999
-
1000
-
1001
-
1002
- <td class="description last">Call progress received ('event.code' has new progress status)</td>
1003
- </tr>
1004
-
1005
-
1006
-
1007
-
1008
-
1009
- <tr>
1010
-
1011
- <td class="name"><code>ACTIVE</code></td>
1012
-
1013
-
1014
- <td class="type">
1015
-
1016
-
1017
- <span class="param-type"><code>string</code></span>
1018
-
1019
-
1020
-
1021
- </td>
1022
-
1023
-
1024
-
1025
-
1026
-
1027
- <td class="description last">Call is active (answered)</td>
1028
- </tr>
1029
-
1030
-
1031
-
1032
-
1033
-
1034
- <tr>
1035
-
1036
- <td class="name"><code>TERMINATED</code></td>
1037
-
1038
-
1039
- <td class="type">
1040
-
1041
-
1042
- <span class="param-type"><code>string</code></span>
1043
-
1044
-
1045
-
1046
- </td>
1047
-
1048
-
1049
-
1050
-
1051
-
1052
- <td class="description last">Call ended</td>
1053
- </tr>
1054
-
1055
-
1056
-
1057
-
1058
-
1059
- <tr>
1060
-
1061
- <td class="name"><code>FAILED</code></td>
1062
-
1063
-
1064
- <td class="type">
1065
-
1066
-
1067
- <span class="param-type"><code>string</code></span>
1068
-
1069
-
1070
-
1071
- </td>
1072
-
1073
-
1074
-
1075
-
1076
-
1077
- <td class="description last">Call failed (see 'event.cause' for more info)</td>
1078
- </tr>
1079
-
1080
-
1081
-
1082
-
1083
-
1084
- <tr>
1085
-
1086
- <td class="name"><code>ON_HOLD</code></td>
1087
-
1088
-
1089
- <td class="type">
1090
-
1091
-
1092
- <span class="param-type"><code>string</code></span>
1093
-
1094
-
1095
-
1096
- </td>
1097
-
1098
-
1099
-
1100
-
1101
-
1102
- <td class="description last">Call is on-hold</td>
1103
- </tr>
1104
-
1105
-
1106
-
1107
-
1108
-
1109
- <tr>
1110
-
1111
- <td class="name"><code>INCOMING</code></td>
1112
-
1113
-
1114
- <td class="type">
1115
-
1116
-
1117
- <span class="param-type"><code>string</code></span>
1118
-
1119
-
1120
-
1121
- </td>
1122
-
1123
-
1124
-
1125
-
1126
-
1127
- <td class="description last">Incoming call is waiting</td>
1128
- </tr>
1129
-
1130
-
1131
-
1132
-
1133
-
1134
- <tr>
1135
-
1136
- <td class="name"><code>PLAYBACK</code></td>
1137
-
1138
-
1139
- <td class="type">
1140
-
1141
-
1142
- <span class="param-type"><code>string</code></span>
1143
-
1144
-
1145
-
1146
- </td>
1147
-
1148
-
1149
-
1150
-
1151
-
1152
- <td class="description last">Playback with pending hangup in progress</td>
1153
- </tr>
1154
-
1155
-
1156
-
1157
-
1158
- </tbody>
1159
- </table>
1160
-
1161
-
1162
-
1163
-
1164
- <dl class="details">
1165
-
1166
-
1167
-
1168
-
1169
-
1170
-
1171
-
1172
-
1173
-
1174
-
1175
-
1176
-
1177
-
1178
-
1179
-
1180
-
1181
-
1182
-
1183
-
1184
-
1185
-
1186
-
1187
-
1188
-
1189
-
1190
-
1191
-
1192
-
1193
-
1194
-
1195
-
1196
-
1197
- </dl>
1198
-
1199
-
1200
-
1201
- <h5>Type:</h5>
1202
- <ul>
1203
- <li>
1204
-
1205
- <span class="param-type"><code>string</code></span>
1206
-
1207
-
1208
- </li>
1209
- </ul>
1210
-
1211
-
1212
-
1213
-
1214
-
1215
- </div>
1216
-
1217
-
1218
-
1219
-
1220
-
1221
- <h3 class="subsection-title">Events</h3>
1222
-
1223
-
1224
-
1225
- <div class="section-method">
1226
-
1227
-
1228
-
1229
- <h4 class="name" id="event:callDataInfo">callDataInfo</h4>
1230
-
1231
-
1232
-
1233
-
1234
-
1235
-
1236
-
1237
-
1238
-
1239
- <h5 class="subsection-title">Properties:</h5>
1240
-
1241
-
1242
-
1243
- <table class="props">
1244
- <thead>
1245
- <tr>
1246
-
1247
- <th>Name</th>
1248
-
1249
-
1250
- <th>Type</th>
1251
-
1252
-
1253
-
1254
-
1255
-
1256
- <th class="last">Description</th>
1257
- </tr>
1258
- </thead>
1259
-
1260
- <tbody>
1261
-
1262
-
1263
- <tr>
1264
-
1265
- <td class="name"><code>uuid</code></td>
1266
-
1267
-
1268
- <td class="type">
1269
-
1270
-
1271
- <span class="param-type"><code>uuid</code></span>
1272
-
1273
-
1274
-
1275
- </td>
1276
-
1277
-
1278
-
1279
-
1280
-
1281
- <td class="description last">Customer Call UUID for session</td>
1282
- </tr>
1283
-
1284
-
1285
-
1286
-
1287
- </tbody>
1288
- </table>
1289
-
1290
-
1291
-
1292
-
1293
- <dl class="details">
1294
-
1295
-
1296
-
1297
-
1298
-
1299
-
1300
-
1301
-
1302
-
1303
-
1304
-
1305
-
1306
-
1307
-
1308
-
1309
-
1310
-
1311
-
1312
-
1313
-
1314
-
1315
-
1316
-
1317
-
1318
-
1319
-
1320
-
1321
-
1322
-
1323
-
1324
-
1325
-
1326
- </dl>
1327
-
1328
-
1329
-
1330
-
1331
-
1332
- <div class="section-type">
1333
- <h5>Type:</h5>
1334
- <ul>
1335
- <li>
1336
-
1337
- <span class="param-type"><code>object</code></span>
1338
-
1339
-
1340
- </li>
1341
- </ul>
1342
- </div>
1343
-
1344
-
1345
-
1346
-
1347
-
1348
- <h5>Parameters:</h5>
1349
-
1350
-
1351
- <table class="params">
1352
- <thead>
1353
- <tr>
1354
-
1355
- <th>Name</th>
1356
-
1357
-
1358
- <th>Type</th>
1359
-
1360
-
1361
-
1362
-
1363
-
1364
- <th class="last">Description</th>
1365
- </tr>
1366
- </thead>
1367
-
1368
- <tbody>
1369
-
1370
-
1371
- <tr>
1372
-
1373
- <td class="name"><code>direction</code></td>
1374
-
1375
-
1376
- <td class="type">
1377
-
1378
-
1379
- <span class="param-type"><code><a href="global.html#CALL_DIRECTION">CALL_DIRECTION</a></code></span>
1380
-
1381
-
1382
-
1383
- </td>
1384
-
1385
-
1386
-
1387
-
1388
-
1389
- <td class="description last">
1390
- Call direction
1391
-
1392
- </td>
1393
- </tr>
1394
-
1395
-
1396
-
1397
- <tr>
1398
-
1399
- <td class="name"><code>disposition</code></td>
1400
-
1401
-
1402
- <td class="type">
1403
-
1404
-
1405
- <span class="param-type"><code><a href="global.html#CALL_DISPOSITION">CALL_DISPOSITION</a></code></span>
1406
-
1407
-
1408
-
1409
- </td>
1410
-
1411
-
1412
-
1413
-
1414
-
1415
- <td class="description last">
1416
- The final call disposition
1417
-
1418
- </td>
1419
- </tr>
1420
-
1421
-
1422
-
1423
- <tr>
1424
-
1425
- <td class="name"><code>originatingNumber</code></td>
1426
-
1427
-
1428
- <td class="type">
1429
-
1430
-
1431
- <span class="param-type"><code>string</code></span>
1432
-
1433
-
1434
-
1435
- </td>
1436
-
1437
-
1438
-
1439
-
1440
-
1441
- <td class="description last">
1442
- Caller ID number (a-number) used for call
1443
-
1444
- </td>
1445
- </tr>
1446
-
1447
-
1448
-
1449
- <tr>
1450
-
1451
- <td class="name"><code>destinationNumber</code></td>
1452
-
1453
-
1454
- <td class="type">
1455
-
1456
-
1457
- <span class="param-type"><code>string</code></span>
1458
-
1459
-
1460
-
1461
- </td>
1462
-
1463
-
1464
-
1465
-
1466
-
1467
- <td class="description last">
1468
- Destination number (b-number) used for call
1469
-
1470
- </td>
1471
- </tr>
1472
-
1473
-
1474
-
1475
- <tr>
1476
-
1477
- <td class="name"><code>startTime</code></td>
1478
-
1479
-
1480
- <td class="type">
1481
-
1482
-
1483
- <span class="param-type"><code>Date</code></span>
1484
-
1485
-
1486
-
1487
- </td>
1488
-
1489
-
1490
-
1491
-
1492
-
1493
- <td class="description last">
1494
- Start time of call
1495
-
1496
- </td>
1497
- </tr>
1498
-
1499
-
1500
-
1501
- <tr>
1502
-
1503
- <td class="name"><code>answerTime</code></td>
1504
-
1505
-
1506
- <td class="type">
1507
-
1508
-
1509
- <span class="param-type"><code>Date</code></span>
1510
-
1511
-
1512
-
1513
- </td>
1514
-
1515
-
1516
-
1517
-
1518
-
1519
- <td class="description last">
1520
- Time call was answered
1521
-
1522
- </td>
1523
- </tr>
1524
-
1525
-
1526
-
1527
- <tr>
1528
-
1529
- <td class="name"><code>endTime</code></td>
1530
-
1531
-
1532
- <td class="type">
1533
-
1534
-
1535
- <span class="param-type"><code>Date</code></span>
1536
-
1537
-
1538
-
1539
- </td>
1540
-
1541
-
1542
-
1543
-
1544
-
1545
- <td class="description last">
1546
- End time of call
1547
-
1548
- </td>
1549
- </tr>
1550
-
1551
-
1552
-
1553
- <tr>
1554
-
1555
- <td class="name"><code>duration</code></td>
1556
-
1557
-
1558
- <td class="type">
1559
-
1560
-
1561
- <span class="param-type"><code>number</code></span>
1562
-
1563
-
1564
-
1565
- </td>
1566
-
1567
-
1568
-
1569
-
1570
-
1571
- <td class="description last">
1572
- Total duration of the call (including call setup and remote answer time) (millisec)
1573
-
1574
- </td>
1575
- </tr>
1576
-
1577
-
1578
-
1579
- <tr>
1580
-
1581
- <td class="name"><code>durationStr</code></td>
1582
-
1583
-
1584
- <td class="type">
1585
-
1586
-
1587
- <span class="param-type"><code>String</code></span>
1588
-
1589
-
1590
-
1591
- </td>
1592
-
1593
-
1594
-
1595
-
1596
-
1597
- <td class="description last">
1598
- Total duration of the call formatted as (mm:ss)
1599
-
1600
- </td>
1601
- </tr>
1602
-
1603
-
1604
-
1605
- <tr>
1606
-
1607
- <td class="name"><code>answerDuration</code></td>
1608
-
1609
-
1610
- <td class="type">
1611
-
1612
-
1613
- <span class="param-type"><code>number</code></span>
1614
-
1615
-
1616
-
1617
- </td>
1618
-
1619
-
1620
-
1621
-
1622
-
1623
- <td class="description last">
1624
- Time before call was answered (millisec)
1625
-
1626
- </td>
1627
- </tr>
1628
-
1629
-
1630
-
1631
- <tr>
1632
-
1633
- <td class="name"><code>answerDurationStr</code></td>
1634
-
1635
-
1636
- <td class="type">
1637
-
1638
-
1639
- <span class="param-type"><code>String</code></span>
1640
-
1641
-
1642
-
1643
- </td>
1644
-
1645
-
1646
-
1647
-
1648
-
1649
- <td class="description last">
1650
- Time before call was answered formatted as (mm:ss)
1651
-
1652
- </td>
1653
- </tr>
1654
-
1655
-
1656
-
1657
- <tr>
1658
-
1659
- <td class="name"><code>activeDuration</code></td>
1660
-
1661
-
1662
- <td class="type">
1663
-
1664
-
1665
- <span class="param-type"><code>number</code></span>
1666
-
1667
-
1668
-
1669
- </td>
1670
-
1671
-
1672
-
1673
-
1674
-
1675
- <td class="description last">
1676
- Active duration of the call (time spend talking) (millisec)
1677
-
1678
- </td>
1679
- </tr>
1680
-
1681
-
1682
-
1683
- <tr>
1684
-
1685
- <td class="name"><code>activeDurationStr</code></td>
1686
-
1687
-
1688
- <td class="type">
1689
-
1690
-
1691
- <span class="param-type"><code>String</code></span>
1692
-
1693
-
1694
-
1695
- </td>
1696
-
1697
-
1698
-
1699
-
1700
-
1701
- <td class="description last">
1702
- Active duration of the call formatted as (mm:ss)
1703
-
1704
- </td>
1705
- </tr>
1706
-
1707
-
1708
-
1709
- <tr>
1710
-
1711
- <td class="name"><code>rateDestinationId</code></td>
1712
-
1713
-
1714
- <td class="type">
1715
-
1716
-
1717
- <span class="param-type"><code>number</code></span>
1718
-
1719
-
1720
-
1721
- </td>
1722
-
1723
-
1724
-
1725
-
1726
-
1727
- <td class="description last">
1728
- Rate destination id
1729
-
1730
- </td>
1731
- </tr>
1732
-
1733
-
1734
-
1735
- <tr>
1736
-
1737
- <td class="name"><code>rateDestinationStr</code></td>
1738
-
1739
-
1740
- <td class="type">
1741
-
1742
-
1743
- <span class="param-type"><code>string</code></span>
1744
-
1745
-
1746
-
1747
- </td>
1748
-
1749
-
1750
-
1751
-
1752
-
1753
- <td class="description last">
1754
- Rate destination name
1755
-
1756
- </td>
1757
- </tr>
1758
-
1759
-
1760
-
1761
- <tr>
1762
-
1763
- <td class="name"><code>rateDestinationCost</code></td>
1764
-
1765
-
1766
- <td class="type">
1767
-
1768
-
1769
- <span class="param-type"><code>number</code></span>
1770
-
1771
-
1772
-
1773
- </td>
1774
-
1775
-
1776
-
1777
-
1778
-
1779
- <td class="description last">
1780
- Rate destination cost / minute
1781
-
1782
- </td>
1783
- </tr>
1784
-
1785
-
1786
-
1787
- <tr>
1788
-
1789
- <td class="name"><code>callConnectFee</code></td>
1790
-
1791
-
1792
- <td class="type">
1793
-
1794
-
1795
- <span class="param-type"><code>number</code></span>
1796
-
1797
-
1798
-
1799
- </td>
1800
-
1801
-
1802
-
1803
-
1804
-
1805
- <td class="description last">
1806
- Call attempt/connect cost
1807
-
1808
- </td>
1809
- </tr>
1810
-
1811
-
1812
-
1813
- <tr>
1814
-
1815
- <td class="name"><code>effectiveCidId</code></td>
1816
-
1817
-
1818
- <td class="type">
1819
-
1820
-
1821
- <span class="param-type"><code>number</code></span>
1822
-
1823
-
1824
-
1825
- </td>
1826
-
1827
-
1828
-
1829
-
1830
-
1831
- <td class="description last">
1832
- Phone number id used as a-number for call
1833
-
1834
- </td>
1835
- </tr>
1836
-
1837
-
1838
-
1839
- <tr>
1840
-
1841
- <td class="name"><code>effectiveCidNumberStr</code></td>
1842
-
1843
-
1844
- <td class="type">
1845
-
1846
-
1847
- <span class="param-type"><code>number</code></span>
1848
-
1849
-
1850
-
1851
- </td>
1852
-
1853
-
1854
-
1855
-
1856
-
1857
- <td class="description last">
1858
- Phone number used as a-number for call
1859
-
1860
- </td>
1861
- </tr>
1862
-
1863
-
1864
-
1865
- <tr>
1866
-
1867
- <td class="name"><code>effectiveCidNameStr</code></td>
1868
-
1869
-
1870
- <td class="type">
1871
-
1872
-
1873
- <span class="param-type"><code>string</code></span>
1874
-
1875
-
1876
-
1877
- </td>
1878
-
1879
-
1880
-
1881
-
1882
-
1883
- <td class="description last">
1884
- Phone number name used as a-number for call
1885
-
1886
- </td>
1887
- </tr>
1888
-
1889
-
1890
-
1891
- <tr>
1892
-
1893
- <td class="name"><code>callPrivacy</code></td>
1894
-
1895
-
1896
- <td class="type">
1897
-
1898
-
1899
- <span class="param-type"><code>boolean</code></span>
1900
-
1901
-
1902
-
1903
- </td>
1904
-
1905
-
1906
-
1907
-
1908
-
1909
- <td class="description last">
1910
- Call privacy used for call (number hidden)
1911
-
1912
- </td>
1913
- </tr>
1914
-
1915
-
1916
-
1917
- <tr>
1918
-
1919
- <td class="name"><code>hangupCauseQ850</code></td>
1920
-
1921
-
1922
- <td class="type">
1923
-
1924
-
1925
- <span class="param-type"><code>number</code></span>
1926
-
1927
-
1928
-
1929
- </td>
1930
-
1931
-
1932
-
1933
-
1934
-
1935
- <td class="description last">
1936
- Q.850 hangup cause code
1937
-
1938
- </td>
1939
- </tr>
1940
-
1941
-
1942
-
1943
- <tr>
1944
-
1945
- <td class="name"><code>recordings</code></td>
1946
-
1947
-
1948
- <td class="type">
1949
-
1950
-
1951
- <span class="param-type"><code>Array.&lt;Object></code></span>
1952
-
1953
-
1954
-
1955
- </td>
1956
-
1957
-
1958
-
1959
-
1960
-
1961
- <td class="description last">
1962
- List of recordings done for this call
1963
-
1964
-
1965
-
1966
- <table class="params">
1967
- <thead>
1968
- <tr>
1969
-
1970
- <th>Name</th>
1971
-
1972
-
1973
- <th>Type</th>
1974
-
1975
-
1976
-
1977
-
1978
-
1979
- <th class="last">Description</th>
1980
- </tr>
1981
- </thead>
1982
-
1983
- <tbody>
1984
-
1985
-
1986
- <tr>
1987
-
1988
- <td class="name"><code>startTime</code></td>
1989
-
1990
-
1991
- <td class="type">
1992
-
1993
-
1994
- <span class="param-type"><code>number</code></span>
1995
-
1996
-
1997
-
1998
- </td>
1999
-
2000
-
2001
-
2002
-
2003
-
2004
- <td class="description last">
2005
- Time recording was started
2006
-
2007
- </td>
2008
- </tr>
2009
-
2010
-
2011
-
2012
- <tr>
2013
-
2014
- <td class="name"><code>length</code></td>
2015
-
2016
-
2017
- <td class="type">
2018
-
2019
-
2020
- <span class="param-type"><code>number</code></span>
2021
-
2022
-
2023
-
2024
- </td>
2025
-
2026
-
2027
-
2028
-
2029
-
2030
- <td class="description last">
2031
- Recording length in milliseconds
2032
-
2033
- </td>
2034
- </tr>
2035
-
2036
-
2037
-
2038
- <tr>
2039
-
2040
- <td class="name"><code>size</code></td>
2041
-
2042
-
2043
- <td class="type">
2044
-
2045
-
2046
- <span class="param-type"><code>number</code></span>
2047
-
2048
-
2049
-
2050
- </td>
2051
-
2052
-
2053
-
2054
-
2055
-
2056
- <td class="description last">
2057
- Recording size (bytes)
2058
-
2059
- </td>
2060
- </tr>
2061
-
2062
-
2063
-
2064
- <tr>
2065
-
2066
- <td class="name"><code>urlPlayer</code></td>
2067
-
2068
-
2069
- <td class="type">
2070
-
2071
-
2072
- <span class="param-type"><code>number</code></span>
2073
-
2074
-
2075
-
2076
- </td>
2077
-
2078
-
2079
-
2080
-
2081
-
2082
- <td class="description last">
2083
- URL for recording with player
2084
-
2085
- </td>
2086
- </tr>
2087
-
2088
-
2089
-
2090
- <tr>
2091
-
2092
- <td class="name"><code>url</code></td>
2093
-
2094
-
2095
- <td class="type">
2096
-
2097
-
2098
- <span class="param-type"><code>number</code></span>
2099
-
2100
-
2101
-
2102
- </td>
2103
-
2104
-
2105
-
2106
-
2107
-
2108
- <td class="description last">
2109
- URL for recording without player
2110
-
2111
- </td>
2112
- </tr>
2113
-
2114
-
2115
-
2116
- <tr>
2117
-
2118
- <td class="name"><code>retentionDate</code></td>
2119
-
2120
-
2121
- <td class="type">
2122
-
2123
-
2124
- <span class="param-type"><code>number</code></span>
2125
-
2126
-
2127
-
2128
- </td>
2129
-
2130
-
2131
-
2132
-
2133
-
2134
- <td class="description last">
2135
- Date recording will be automatically deleted
2136
-
2137
- </td>
2138
- </tr>
2139
-
2140
-
2141
- </tbody>
2142
- </table>
2143
-
2144
-
2145
- </td>
2146
- </tr>
2147
-
2148
-
2149
- </tbody>
2150
- </table>
2151
-
2152
-
2153
-
2154
-
2155
-
2156
-
2157
-
2158
-
2159
-
2160
-
2161
-
2162
-
2163
-
2164
-
2165
-
2166
-
2167
- </div>
2168
-
2169
-
2170
- <div class="section-method">
2171
-
2172
-
2173
-
2174
- <h4 class="name" id="event:callDurationUpdate">callDurationUpdate</h4>
2175
-
2176
-
2177
-
2178
-
2179
-
2180
-
2181
-
2182
-
2183
-
2184
- <h5 class="subsection-title">Properties:</h5>
2185
-
2186
-
2187
-
2188
- <table class="props">
2189
- <thead>
2190
- <tr>
2191
-
2192
- <th>Name</th>
2193
-
2194
-
2195
- <th>Type</th>
2196
-
2197
-
2198
-
2199
-
2200
-
2201
- <th class="last">Description</th>
2202
- </tr>
2203
- </thead>
2204
-
2205
- <tbody>
2206
-
2207
-
2208
- <tr>
2209
-
2210
- <td class="name"><code>uuid</code></td>
2211
-
2212
-
2213
- <td class="type">
2214
-
2215
-
2216
- <span class="param-type"><code>String</code></span>
2217
-
2218
-
2219
-
2220
- </td>
2221
-
2222
-
2223
-
2224
-
2225
-
2226
- <td class="description last">UUID of session</td>
2227
- </tr>
2228
-
2229
-
2230
-
2231
-
2232
-
2233
- <tr>
2234
-
2235
- <td class="name"><code>beginTime</code></td>
2236
-
2237
-
2238
- <td class="type">
2239
-
2240
-
2241
- <span class="param-type"><code>Date</code></span>
2242
-
2243
-
2244
-
2245
- </td>
2246
-
2247
-
2248
-
2249
-
2250
-
2251
- <td class="description last">Time session was created</td>
2252
- </tr>
2253
-
2254
-
2255
-
2256
-
2257
-
2258
- <tr>
2259
-
2260
- <td class="name"><code>answerTime</code></td>
2261
-
2262
-
2263
- <td class="type">
2264
-
2265
-
2266
- <span class="param-type"><code>Date</code></span>
2267
-
2268
-
2269
-
2270
- </td>
2271
-
2272
-
2273
-
2274
-
2275
-
2276
- <td class="description last">Time session was answered</td>
2277
- </tr>
2278
-
2279
-
2280
-
2281
-
2282
-
2283
- <tr>
2284
-
2285
- <td class="name"><code>duration</code></td>
2286
-
2287
-
2288
- <td class="type">
2289
-
2290
-
2291
- <span class="param-type"><code>Date</code></span>
2292
-
2293
-
2294
-
2295
- </td>
2296
-
2297
-
2298
-
2299
-
2300
-
2301
- <td class="description last">The total duration of the session</td>
2302
- </tr>
2303
-
2304
-
2305
-
2306
-
2307
-
2308
- <tr>
2309
-
2310
- <td class="name"><code>durationStr</code></td>
2311
-
2312
-
2313
- <td class="type">
2314
-
2315
-
2316
- <span class="param-type"><code>String</code></span>
2317
-
2318
-
2319
-
2320
- </td>
2321
-
2322
-
2323
-
2324
-
2325
-
2326
- <td class="description last">The duration of the session string formated (mm:ss)</td>
2327
- </tr>
2328
-
2329
-
2330
-
2331
-
2332
-
2333
- <tr>
2334
-
2335
- <td class="name"><code>activeDuration</code></td>
2336
-
2337
-
2338
- <td class="type">
2339
-
2340
-
2341
- <span class="param-type"><code>Date</code></span>
2342
-
2343
-
2344
-
2345
- </td>
2346
-
2347
-
2348
-
2349
-
2350
-
2351
- <td class="description last">The active duration of the session</td>
2352
- </tr>
2353
-
2354
-
2355
-
2356
-
2357
-
2358
- <tr>
2359
-
2360
- <td class="name"><code>activeDurationStr</code></td>
2361
-
2362
-
2363
- <td class="type">
2364
-
2365
-
2366
- <span class="param-type"><code>String</code></span>
2367
-
2368
-
2369
-
2370
- </td>
2371
-
2372
-
2373
-
2374
-
2375
-
2376
- <td class="description last">The active duration of the session string formated (mm:ss)</td>
2377
- </tr>
2378
-
2379
-
2380
-
2381
-
2382
- </tbody>
2383
- </table>
2384
-
2385
-
2386
-
2387
-
2388
- <dl class="details">
2389
-
2390
-
2391
-
2392
-
2393
-
2394
-
2395
-
2396
-
2397
-
2398
-
2399
-
2400
-
2401
-
2402
-
2403
-
2404
-
2405
-
2406
-
2407
-
2408
-
2409
-
2410
-
2411
-
2412
-
2413
-
2414
-
2415
-
2416
-
2417
-
2418
-
2419
-
2420
-
2421
- </dl>
2422
-
2423
-
2424
-
2425
-
2426
-
2427
- <div class="section-type">
2428
- <h5>Type:</h5>
2429
- <ul>
2430
- <li>
2431
-
2432
- <span class="param-type"><code>object</code></span>
2433
-
2434
-
2435
- </li>
2436
- </ul>
2437
- </div>
2438
-
2439
-
2440
-
2441
-
2442
-
2443
-
2444
-
2445
-
2446
-
2447
-
2448
-
2449
-
2450
-
2451
-
2452
-
2453
-
2454
-
2455
-
2456
-
2457
- <div class="section-examples">
2458
- <h5>Example</h5>
2459
-
2460
- <pre class="prettyprint"><code>// Update duration text on screen
1
+ <!DOCTYPE html><html lang="en" style="font-size:16px"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Global</title><!--[if lt IE 9]>
2
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
3
+ <![endif]--><script src="scripts/third-party/hljs.js" defer="defer"></script><script src="scripts/third-party/hljs-line-num.js" defer="defer"></script><script src="scripts/third-party/popper.js" defer="defer"></script><script src="scripts/third-party/tippy.js" defer="defer"></script><script src="scripts/third-party/tocbot.min.js"></script><script>var baseURL="/",locationPathname="";baseURL=(locationPathname=document.location.pathname).substr(0,locationPathname.lastIndexOf("/")+1)</script><link rel="stylesheet" href="styles/clean-jsdoc-theme.min.css"><svg aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:none"><defs><symbol id="copy-icon" viewbox="0 0 488.3 488.3"><g><path d="M314.25,85.4h-227c-21.3,0-38.6,17.3-38.6,38.6v325.7c0,21.3,17.3,38.6,38.6,38.6h227c21.3,0,38.6-17.3,38.6-38.6V124 C352.75,102.7,335.45,85.4,314.25,85.4z M325.75,449.6c0,6.4-5.2,11.6-11.6,11.6h-227c-6.4,0-11.6-5.2-11.6-11.6V124 c0-6.4,5.2-11.6,11.6-11.6h227c6.4,0,11.6,5.2,11.6,11.6V449.6z"/><path d="M401.05,0h-227c-21.3,0-38.6,17.3-38.6,38.6c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5c0-6.4,5.2-11.6,11.6-11.6h227 c6.4,0,11.6,5.2,11.6,11.6v325.7c0,6.4-5.2,11.6-11.6,11.6c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5c21.3,0,38.6-17.3,38.6-38.6 V38.6C439.65,17.3,422.35,0,401.05,0z"/></g></symbol><symbol id="search-icon" viewBox="0 0 512 512"><g><g><path d="M225.474,0C101.151,0,0,101.151,0,225.474c0,124.33,101.151,225.474,225.474,225.474 c124.33,0,225.474-101.144,225.474-225.474C450.948,101.151,349.804,0,225.474,0z M225.474,409.323 c-101.373,0-183.848-82.475-183.848-183.848S124.101,41.626,225.474,41.626s183.848,82.475,183.848,183.848 S326.847,409.323,225.474,409.323z"/></g></g><g><g><path d="M505.902,476.472L386.574,357.144c-8.131-8.131-21.299-8.131-29.43,0c-8.131,8.124-8.131,21.306,0,29.43l119.328,119.328 c4.065,4.065,9.387,6.098,14.715,6.098c5.321,0,10.649-2.033,14.715-6.098C514.033,497.778,514.033,484.596,505.902,476.472z"/></g></g></symbol><symbol id="font-size-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M11.246 15H4.754l-2 5H.6L7 4h2l6.4 16h-2.154l-2-5zm-.8-2L8 6.885 5.554 13h4.892zM21 12.535V12h2v8h-2v-.535a4 4 0 1 1 0-6.93zM19 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/></symbol><symbol id="add-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"/></symbol><symbol id="minus-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M5 11h14v2H5z"/></symbol><symbol id="dark-theme-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2h.1A6.979 6.979 0 0 0 10 7zm-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938 7.999 7.999 0 0 0 4 12z"/></symbol><symbol id="light-theme-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-2a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"/></symbol><symbol id="reset-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M18.537 19.567A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10c0 2.136-.67 4.116-1.81 5.74L17 12h3a8 8 0 1 0-2.46 5.772l.997 1.795z"/></symbol><symbol id="down-icon" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.7803 6.21967C13.0732 6.51256 13.0732 6.98744 12.7803 7.28033L8.53033 11.5303C8.23744 11.8232 7.76256 11.8232 7.46967 11.5303L3.21967 7.28033C2.92678 6.98744 2.92678 6.51256 3.21967 6.21967C3.51256 5.92678 3.98744 5.92678 4.28033 6.21967L8 9.93934L11.7197 6.21967C12.0126 5.92678 12.4874 5.92678 12.7803 6.21967Z"></path></symbol><symbol id="codepen-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M16.5 13.202L13 15.535v3.596L19.197 15 16.5 13.202zM14.697 12L12 10.202 9.303 12 12 13.798 14.697 12zM20 10.869L18.303 12 20 13.131V10.87zM19.197 9L13 4.869v3.596l3.5 2.333L19.197 9zM7.5 10.798L11 8.465V4.869L4.803 9 7.5 10.798zM4.803 15L11 19.131v-3.596l-3.5-2.333L4.803 15zM4 13.131L5.697 12 4 10.869v2.262zM2 9a1 1 0 0 1 .445-.832l9-6a1 1 0 0 1 1.11 0l9 6A1 1 0 0 1 22 9v6a1 1 0 0 1-.445.832l-9 6a1 1 0 0 1-1.11 0l-9-6A1 1 0 0 1 2 15V9z"/></symbol><symbol id="close-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"/></symbol><symbol id="menu-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z"/></symbol></defs></svg></head><body data-theme="dark"><div class="sidebar-container"><div class="sidebar" id="sidebar"><div class="sidebar-items-container"><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-classes"><div>Classes</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="EventClient.html">EventClient</a></div><div class="sidebar-section-children"><a href="EventServiceNotConnected.html">EventServiceNotConnected</a></div><div class="sidebar-section-children"><a href="InvalidMediaDevice.html">InvalidMediaDevice</a></div><div class="sidebar-section-children"><a href="InvalidOptions.html">InvalidOptions</a></div><div class="sidebar-section-children"><a href="InvalidParameter.html">InvalidParameter</a></div><div class="sidebar-section-children"><a href="LogHandler.html">LogHandler</a></div><div class="sidebar-section-children"><a href="MediaNotPrepared.html">MediaNotPrepared</a></div><div class="sidebar-section-children"><a href="NoActiveSession.html">NoActiveSession</a></div><div class="sidebar-section-children"><a href="NotAllowed.html">NotAllowed</a></div><div class="sidebar-section-children"><a href="NotReady.html">NotReady</a></div><div class="sidebar-section-children"><a href="Phone.html">Phone</a></div><div class="sidebar-section-children"><a href="Request.html">Request</a></div><div class="sidebar-section-children"><a href="Requestor.html">Requestor</a></div><div class="sidebar-section-children"><a href="Session.html">Session</a></div><div class="sidebar-section-children"><a href="UnableToConnect.html">UnableToConnect</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-events"><div>Events</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="global.html#event:callDataInfo">callDataInfo</a></div><div class="sidebar-section-children"><a href="global.html#event:callDurationUpdate">callDurationUpdate</a></div><div class="sidebar-section-children"><a href="global.html#event:callEnded">callEnded</a></div><div class="sidebar-section-children"><a href="global.html#event:callQualityReportUpdate">callQualityReportUpdate</a></div><div class="sidebar-section-children"><a href="global.html#event:connectionStateChange">connectionStateChange</a></div><div class="sidebar-section-children"><a href="global.html#event:holdStateChange">holdStateChange</a></div><div class="sidebar-section-children"><a href="global.html#event:incomingCall">incomingCall</a></div><div class="sidebar-section-children"><a href="global.html#event:muteStateChange">muteStateChange</a></div><div class="sidebar-section-children"><a href="global.html#event:recordingStateChange">recordingStateChange</a></div><div class="sidebar-section-children"><a href="global.html#event:sessionCreated">sessionCreated</a></div><div class="sidebar-section-children"><a href="global.html#event:sessionRemoved">sessionRemoved</a></div><div class="sidebar-section-children"><a href="global.html#event:sessionStateChange">sessionStateChange</a></div><div class="sidebar-section-children"><a href="global.html#event:whisperModeChange">whisperModeChange</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-global"><div>Global</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="global.html#CALL_DIRECTION">CALL_DIRECTION</a></div><div class="sidebar-section-children"><a href="global.html#CALL_DISPOSITION">CALL_DISPOSITION</a></div><div class="sidebar-section-children"><a href="global.html#CONNECTION_STATE">CONNECTION_STATE</a></div><div class="sidebar-section-children"><a href="global.html#LOGLVL">LOGLVL</a></div><div class="sidebar-section-children"><a href="global.html#SESSION_STATE">SESSION_STATE</a></div></div></div></div></div><div class="navbar-container" id="VuAckcnZhf"><nav class="navbar"><div class="navbar-left-items"></div><div class="navbar-right-items"><div class="navbar-right-item"><button class="icon-button search-button" aria-label="open-search"><svg><use xlink:href="#search-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button theme-toggle" aria-label="toggle-theme"><svg><use class="theme-svg-use" xlink:href="#light-theme-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button font-size" aria-label="change-font-size"><svg><use xlink:href="#font-size-icon"></use></svg></button></div></div><nav></nav></nav></div><div class="toc-container"><div class="toc-content"><span class="bold">On this page</span><div id="eed4d2a0bfd64539bb9df78095dec881"></div></div></div><div class="body-wrapper"><div class="main-content"><div class="main-wrapper"><section><article><div class="container-overview"></div><h2 id="type-definitions" class="subsection-title has-anchor">Type Definitions</h2><h3 class="name has-anchor" id="CALL_DIRECTION">CALL_DIRECTION</h3><div class="member-item-container flex"><strong>Type:</strong><ul><li><span class="param-type">string</span></li></ul></div><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>INBOUND</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Incoming call</td></tr><tr><td class="name"><code>OUTBOUND</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Outgoing call</td></tr><tr><td class="name"><code>TRANSFER</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Transferred call</td></tr><tr><td class="name"><code>LOCAL</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Local call</td></tr><tr><td class="name"><code>AUTOMATED</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Call triggered from api / server</td></tr><tr><td class="name"><code>LISTEN</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Listen call</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line2005">line 2005</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="CALL_DISPOSITION">CALL_DISPOSITION</h3><div class="member-item-container flex"><strong>Type:</strong><ul><li><span class="param-type">string</span></li></ul></div><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>BUSY</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Number was busy</td></tr><tr><td class="name"><code>INVALID_NUMBER</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Number call does not exist</td></tr><tr><td class="name"><code>NO_ANSWER</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Call was not picked up before cancelling</td></tr><tr><td class="name"><code>TEMP_UNAVAIL</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Remote is temporarily unavailable</td></tr><tr><td class="name"><code>NORMAL</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Call was terminated normally</td></tr><tr><td class="name"><code>FAILED</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">There was a failure connecting the call</td></tr><tr><td class="name"><code>BARRED</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Call was prohibited by server</td></tr><tr><td class="name"><code>REJECTED</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Incoming call was rejected</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line2015">line 2015</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="CONNECTION_STATE">CONNECTION_STATE</h3><div class="member-item-container flex"><strong>Type:</strong><ul><li><span class="param-type">string</span></li></ul></div><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>CONNECTING</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Connecting to server</td></tr><tr><td class="name"><code>CONNECTED</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Connected to server</td></tr><tr><td class="name"><code>DISCONNECTED</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Disconnected from server</td></tr><tr><td class="name"><code>REGISTERED</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Registered on server</td></tr><tr><td class="name"><code>UNREGISTERED</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">De-registered from server</td></tr><tr><td class="name"><code>REGISTRATION_FAILED</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Registration failed</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line769">line 769</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="LOGLVL">LOGLVL</h3><div class="description">Log levels</div><div class="member-item-container flex"><strong>Type:</strong><ul><li><span class="param-type">number</span></li></ul></div><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>ERROR</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">0 Error messages</td></tr><tr><td class="name"><code>WARN</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">1 Warning meesages</td></tr><tr><td class="name"><code>INFO</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">2 Informational messages (default)</td></tr><tr><td class="name"><code>DEBUG</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">3 Debug messages</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="logger.js.html">logger.js</a>, <a href="logger.js.html#line83">line 83</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="SESSION_STATE">SESSION_STATE</h3><div class="member-item-container flex"><strong>Type:</strong><ul><li><span class="param-type">string</span></li></ul></div><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>INITIALIZING</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Session is initializing (Gather ICE candidates)</td></tr><tr><td class="name"><code>CALLING</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Sending INVITE to server</td></tr><tr><td class="name"><code>PROGRESS</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Call progress received ('event.code' has new progress status)</td></tr><tr><td class="name"><code>ACTIVE</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Call is active (answered)</td></tr><tr><td class="name"><code>TERMINATED</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Call ended</td></tr><tr><td class="name"><code>FAILED</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Call failed (see 'event.cause' for more info)</td></tr><tr><td class="name"><code>ON_HOLD</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Call is on-hold</td></tr><tr><td class="name"><code>INCOMING</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Incoming call is waiting</td></tr><tr><td class="name"><code>PLAYBACK</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Playback with pending hangup in progress</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line1907">line 1907</a></li></ul></dd></div></dl><h2 id="events" class="subsection-title has-anchor">Events</h2><h3 class="name has-anchor" id="event:callDataInfo">callDataInfo</h3><div class="method-member-container mt-20"><strong>Type:</strong><ul><li><span class="param-type">object</span></li></ul></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>direction</code></td><td class="type"><span class="param-type"><a href="global.html#CALL_DIRECTION">CALL_DIRECTION</a></span></td><td class="description last">Call direction</td></tr><tr><td class="name"><code>disposition</code></td><td class="type"><span class="param-type"><a href="global.html#CALL_DISPOSITION">CALL_DISPOSITION</a></span></td><td class="description last">The final call disposition</td></tr><tr><td class="name"><code>originatingNumber</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Caller ID number (a-number) used for call</td></tr><tr><td class="name"><code>destinationNumber</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Destination number (b-number) used for call</td></tr><tr><td class="name"><code>startTime</code></td><td class="type"><span class="param-type">Date</span></td><td class="description last">Start time of call</td></tr><tr><td class="name"><code>answerTime</code></td><td class="type"><span class="param-type">Date</span></td><td class="description last">Time call was answered</td></tr><tr><td class="name"><code>endTime</code></td><td class="type"><span class="param-type">Date</span></td><td class="description last">End time of call</td></tr><tr><td class="name"><code>duration</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Total duration of the call (including call setup and remote answer time) (millisec)</td></tr><tr><td class="name"><code>durationStr</code></td><td class="type"><span class="param-type">String</span></td><td class="description last">Total duration of the call formatted as (mm:ss)</td></tr><tr><td class="name"><code>answerDuration</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Time before call was answered (millisec)</td></tr><tr><td class="name"><code>answerDurationStr</code></td><td class="type"><span class="param-type">String</span></td><td class="description last">Time before call was answered formatted as (mm:ss)</td></tr><tr><td class="name"><code>activeDuration</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Active duration of the call (time spend talking) (millisec)</td></tr><tr><td class="name"><code>activeDurationStr</code></td><td class="type"><span class="param-type">String</span></td><td class="description last">Active duration of the call formatted as (mm:ss)</td></tr><tr><td class="name"><code>rateDestinationId</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Rate destination id</td></tr><tr><td class="name"><code>rateDestinationStr</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Rate destination name</td></tr><tr><td class="name"><code>rateDestinationCost</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Rate destination cost / minute</td></tr><tr><td class="name"><code>callConnectFee</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Call attempt/connect cost</td></tr><tr><td class="name"><code>effectiveCidId</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Phone number id used as a-number for call</td></tr><tr><td class="name"><code>effectiveCidNumberStr</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Phone number used as a-number for call</td></tr><tr><td class="name"><code>effectiveCidNameStr</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Phone number name used as a-number for call</td></tr><tr><td class="name"><code>callPrivacy</code></td><td class="type"><span class="param-type">boolean</span></td><td class="description last">Call privacy used for call (number hidden)</td></tr><tr><td class="name"><code>hangupCauseQ850</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Q.850 hangup cause code</td></tr><tr><td class="name"><code>recordings</code></td><td class="type"><span class="param-type">Array.&lt;Object></span></td><td class="description last">List of recordings done for this call<h6>Properties</h6><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>startTime</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Time recording was started</td></tr><tr><td class="name"><code>length</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Recording length in milliseconds</td></tr><tr><td class="name"><code>size</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Recording size (bytes)</td></tr><tr><td class="name"><code>urlPlayer</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">URL for recording with player</td></tr><tr><td class="name"><code>url</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">URL for recording without player</td></tr><tr><td class="name"><code>retentionDate</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Date recording will be automatically deleted</td></tr></tbody></table></td></tr></tbody></table></div><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>uuid</code></td><td class="type"><span class="param-type">uuid</span></td><td class="description last">Customer Call UUID for session</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line810">line 810</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="event:callDurationUpdate">callDurationUpdate</h3><div class="method-member-container mt-20"><strong>Type:</strong><ul><li><span class="param-type">object</span></li></ul></div><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>uuid</code></td><td class="type"><span class="param-type">String</span></td><td class="description last">UUID of session</td></tr><tr><td class="name"><code>beginTime</code></td><td class="type"><span class="param-type">Date</span></td><td class="description last">Time session was created</td></tr><tr><td class="name"><code>answerTime</code></td><td class="type"><span class="param-type">Date</span></td><td class="description last">Time session was answered</td></tr><tr><td class="name"><code>duration</code></td><td class="type"><span class="param-type">Date</span></td><td class="description last">The total duration of the session</td></tr><tr><td class="name"><code>durationStr</code></td><td class="type"><span class="param-type">String</span></td><td class="description last">The duration of the session string formated (mm:ss)</td></tr><tr><td class="name"><code>activeDuration</code></td><td class="type"><span class="param-type">Date</span></td><td class="description last">The active duration of the session</td></tr><tr><td class="name"><code>activeDurationStr</code></td><td class="type"><span class="param-type">String</span></td><td class="description last">The active duration of the session string formated (mm:ss)</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line1689">line 1689</a></li></ul></dd></div></dl><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Example</strong><div class="rel"><pre class="prettyprint"><code>// Update duration text on screen
2461
4
  session.on('callDurationUpdate', function (event) {
2462
5
  document.getElementById('duration').textContent = event.durationStr;
2463
- });</code></pre>
2464
-
2465
- </div>
2466
-
2467
- </div>
2468
-
2469
-
2470
- <div class="section-method">
2471
-
2472
-
2473
-
2474
- <h4 class="name" id="event:callEnded">callEnded</h4>
2475
-
2476
-
2477
-
2478
-
2479
-
2480
-
2481
-
2482
-
2483
-
2484
- <h5 class="subsection-title">Properties:</h5>
2485
-
2486
-
2487
-
2488
- <table class="props">
2489
- <thead>
2490
- <tr>
2491
-
2492
- <th>Name</th>
2493
-
2494
-
2495
- <th>Type</th>
2496
-
2497
-
2498
-
2499
-
2500
-
2501
- <th class="last">Description</th>
2502
- </tr>
2503
- </thead>
2504
-
2505
- <tbody>
2506
-
2507
-
2508
- <tr>
2509
-
2510
- <td class="name"><code>uuid</code></td>
2511
-
2512
-
2513
- <td class="type">
2514
-
2515
-
2516
- <span class="param-type"><code>uuid</code></span>
2517
-
2518
-
2519
-
2520
- </td>
2521
-
2522
-
2523
-
2524
-
2525
-
2526
- <td class="description last">Customer Call UUID for session</td>
2527
- </tr>
2528
-
2529
-
2530
-
2531
-
2532
- </tbody>
2533
- </table>
2534
-
2535
-
2536
-
2537
-
2538
- <dl class="details">
2539
-
2540
-
2541
-
2542
-
2543
-
2544
-
2545
-
2546
-
2547
-
2548
-
2549
-
2550
-
2551
-
2552
-
2553
-
2554
-
2555
-
2556
-
2557
-
2558
-
2559
-
2560
-
2561
-
2562
-
2563
-
2564
-
2565
-
2566
-
2567
-
2568
-
2569
-
2570
-
2571
- </dl>
2572
-
2573
-
2574
-
2575
-
2576
-
2577
- <div class="section-type">
2578
- <h5>Type:</h5>
2579
- <ul>
2580
- <li>
2581
-
2582
- <span class="param-type"><code>object</code></span>
2583
-
2584
-
2585
- </li>
2586
- </ul>
2587
- </div>
2588
-
2589
-
2590
-
2591
-
2592
-
2593
- <h5>Parameters:</h5>
2594
-
2595
-
2596
- <table class="params">
2597
- <thead>
2598
- <tr>
2599
-
2600
- <th>Name</th>
2601
-
2602
-
2603
- <th>Type</th>
2604
-
2605
-
2606
-
2607
-
2608
-
2609
- <th class="last">Description</th>
2610
- </tr>
2611
- </thead>
2612
-
2613
- <tbody>
2614
-
2615
-
2616
- <tr>
2617
-
2618
- <td class="name"><code>direction</code></td>
2619
-
2620
-
2621
- <td class="type">
2622
-
2623
-
2624
- <span class="param-type"><code><a href="global.html#CALL_DIRECTION">CALL_DIRECTION</a></code></span>
2625
-
2626
-
2627
-
2628
- </td>
2629
-
2630
-
2631
-
2632
-
2633
-
2634
- <td class="description last">
2635
- Call direction
2636
-
2637
- </td>
2638
- </tr>
2639
-
2640
-
2641
-
2642
- <tr>
2643
-
2644
- <td class="name"><code>disposition</code></td>
2645
-
2646
-
2647
- <td class="type">
2648
-
2649
-
2650
- <span class="param-type"><code><a href="global.html#CALL_DISPOSITION">CALL_DISPOSITION</a></code></span>
2651
-
2652
-
2653
-
2654
- </td>
2655
-
2656
-
2657
-
2658
-
2659
-
2660
- <td class="description last">
2661
- The final call disposition
2662
-
2663
- </td>
2664
- </tr>
2665
-
2666
-
2667
-
2668
- <tr>
2669
-
2670
- <td class="name"><code>originatingNumber</code></td>
2671
-
2672
-
2673
- <td class="type">
2674
-
2675
-
2676
- <span class="param-type"><code>string</code></span>
2677
-
2678
-
2679
-
2680
- </td>
2681
-
2682
-
2683
-
2684
-
2685
-
2686
- <td class="description last">
2687
- Caller ID number (a-number) used for call
2688
-
2689
- </td>
2690
- </tr>
2691
-
2692
-
2693
-
2694
- <tr>
2695
-
2696
- <td class="name"><code>destinationNumber</code></td>
2697
-
2698
-
2699
- <td class="type">
2700
-
2701
-
2702
- <span class="param-type"><code>string</code></span>
2703
-
2704
-
2705
-
2706
- </td>
2707
-
2708
-
2709
-
2710
-
2711
-
2712
- <td class="description last">
2713
- Destination number (b-number) used for call
2714
-
2715
- </td>
2716
- </tr>
2717
-
2718
-
2719
-
2720
- <tr>
2721
-
2722
- <td class="name"><code>startTime</code></td>
2723
-
2724
-
2725
- <td class="type">
2726
-
2727
-
2728
- <span class="param-type"><code>Date</code></span>
2729
-
2730
-
2731
-
2732
- </td>
2733
-
2734
-
2735
-
2736
-
2737
-
2738
- <td class="description last">
2739
- Start time of call
2740
-
2741
- </td>
2742
- </tr>
2743
-
2744
-
2745
-
2746
- <tr>
2747
-
2748
- <td class="name"><code>answerTime</code></td>
2749
-
2750
-
2751
- <td class="type">
2752
-
2753
-
2754
- <span class="param-type"><code>Date</code></span>
2755
-
2756
-
2757
-
2758
- </td>
2759
-
2760
-
2761
-
2762
-
2763
-
2764
- <td class="description last">
2765
- Time call was answered
2766
-
2767
- </td>
2768
- </tr>
2769
-
2770
-
2771
-
2772
- <tr>
2773
-
2774
- <td class="name"><code>endTime</code></td>
2775
-
2776
-
2777
- <td class="type">
2778
-
2779
-
2780
- <span class="param-type"><code>Date</code></span>
2781
-
2782
-
2783
-
2784
- </td>
2785
-
2786
-
2787
-
2788
-
2789
-
2790
- <td class="description last">
2791
- End time of call
2792
-
2793
- </td>
2794
- </tr>
2795
-
2796
-
2797
-
2798
- <tr>
2799
-
2800
- <td class="name"><code>duration</code></td>
2801
-
2802
-
2803
- <td class="type">
2804
-
2805
-
2806
- <span class="param-type"><code>number</code></span>
2807
-
2808
-
2809
-
2810
- </td>
2811
-
2812
-
2813
-
2814
-
2815
-
2816
- <td class="description last">
2817
- Total duration of the call (including call setup and remote answer time) (millisec)
2818
-
2819
- </td>
2820
- </tr>
2821
-
2822
-
2823
-
2824
- <tr>
2825
-
2826
- <td class="name"><code>durationStr</code></td>
2827
-
2828
-
2829
- <td class="type">
2830
-
2831
-
2832
- <span class="param-type"><code>String</code></span>
2833
-
2834
-
2835
-
2836
- </td>
2837
-
2838
-
2839
-
2840
-
2841
-
2842
- <td class="description last">
2843
- Total duration of the call formatted as (mm:ss)
2844
-
2845
- </td>
2846
- </tr>
2847
-
2848
-
2849
-
2850
- <tr>
2851
-
2852
- <td class="name"><code>answerDuration</code></td>
2853
-
2854
-
2855
- <td class="type">
2856
-
2857
-
2858
- <span class="param-type"><code>Number</code></span>
2859
-
2860
-
2861
-
2862
- </td>
2863
-
2864
-
2865
-
2866
-
2867
-
2868
- <td class="description last">
2869
- Time before call was answered (millisec)
2870
-
2871
- </td>
2872
- </tr>
2873
-
2874
-
2875
-
2876
- <tr>
2877
-
2878
- <td class="name"><code>answerDurationStr</code></td>
2879
-
2880
-
2881
- <td class="type">
2882
-
2883
-
2884
- <span class="param-type"><code>String</code></span>
2885
-
2886
-
2887
-
2888
- </td>
2889
-
2890
-
2891
-
2892
-
2893
-
2894
- <td class="description last">
2895
- Time before call was answered formatted as (mm:ss)
2896
-
2897
- </td>
2898
- </tr>
2899
-
2900
-
2901
-
2902
- <tr>
2903
-
2904
- <td class="name"><code>activeDuration</code></td>
2905
-
2906
-
2907
- <td class="type">
2908
-
2909
-
2910
- <span class="param-type"><code>Number</code></span>
2911
-
2912
-
2913
-
2914
- </td>
2915
-
2916
-
2917
-
2918
-
2919
-
2920
- <td class="description last">
2921
- Active duration of the call (time spend talking) (millisec)
2922
-
2923
- </td>
2924
- </tr>
2925
-
2926
-
2927
-
2928
- <tr>
2929
-
2930
- <td class="name"><code>activeDurationStr</code></td>
2931
-
2932
-
2933
- <td class="type">
2934
-
2935
-
2936
- <span class="param-type"><code>String</code></span>
2937
-
2938
-
2939
-
2940
- </td>
2941
-
2942
-
2943
-
2944
-
2945
-
2946
- <td class="description last">
2947
- Active duration of the call formatted as (mm:ss)
2948
-
2949
- </td>
2950
- </tr>
2951
-
2952
-
2953
-
2954
- <tr>
2955
-
2956
- <td class="name"><code>callQualityReport</code></td>
2957
-
2958
-
2959
- <td class="type">
2960
-
2961
-
2962
- <span class="param-type"><code>object</code></span>
2963
-
2964
-
2965
-
2966
- </td>
2967
-
2968
-
2969
-
2970
-
2971
-
2972
- <td class="description last">
2973
- Call quality report (see callQualityReportUpdate event for details)
2974
-
2975
- </td>
2976
- </tr>
2977
-
2978
-
2979
- </tbody>
2980
- </table>
2981
-
2982
-
2983
-
2984
-
2985
-
2986
-
2987
-
2988
-
2989
-
2990
-
2991
-
2992
-
2993
-
2994
-
2995
-
2996
-
2997
- </div>
2998
-
2999
-
3000
- <div class="section-method">
3001
-
3002
-
3003
-
3004
- <h4 class="name" id="event:callQualityReportUpdate">callQualityReportUpdate</h4>
3005
-
3006
-
3007
-
3008
-
3009
-
3010
- <div class="description">
3011
- Contains information about call quality (fires in interval of 5 sec).
3012
- Payload contains "total" (metrics for whole session) and "delta" (metrics last 5 secs).
3013
- </div>
3014
-
3015
-
3016
-
3017
-
3018
-
3019
- <h5 class="subsection-title">Properties:</h5>
3020
-
3021
-
3022
-
3023
- <table class="props">
3024
- <thead>
3025
- <tr>
3026
-
3027
- <th>Name</th>
3028
-
3029
-
3030
- <th>Type</th>
3031
-
3032
-
3033
-
3034
-
3035
-
3036
- <th class="last">Description</th>
3037
- </tr>
3038
- </thead>
3039
-
3040
- <tbody>
3041
-
3042
-
3043
- <tr>
3044
-
3045
- <td class="name"><code>uuid</code></td>
3046
-
3047
-
3048
- <td class="type">
3049
-
3050
-
3051
- <span class="param-type"><code>String</code></span>
3052
-
3053
-
3054
-
3055
- </td>
3056
-
3057
-
3058
-
3059
-
3060
-
3061
- <td class="description last">UUID of session</td>
3062
- </tr>
3063
-
3064
-
3065
-
3066
-
3067
-
3068
- <tr>
3069
-
3070
- <td class="name"><code>outboundPacketsSent</code></td>
3071
-
3072
-
3073
- <td class="type">
3074
-
3075
-
3076
- <span class="param-type"><code>Number</code></span>
3077
-
3078
-
3079
-
3080
- </td>
3081
-
3082
-
3083
-
3084
-
3085
-
3086
- <td class="description last">Number of packets sent</td>
3087
- </tr>
3088
-
3089
-
3090
-
3091
-
3092
-
3093
- <tr>
3094
-
3095
- <td class="name"><code>outboundBytesSent</code></td>
3096
-
3097
-
3098
- <td class="type">
3099
-
3100
-
3101
- <span class="param-type"><code>Number</code></span>
3102
-
3103
-
3104
-
3105
- </td>
3106
-
3107
-
3108
-
3109
-
3110
-
3111
- <td class="description last">Number of bytes sent</td>
3112
- </tr>
3113
-
3114
-
3115
-
3116
-
3117
-
3118
- <tr>
3119
-
3120
- <td class="name"><code>outboundPacketsLost</code></td>
3121
-
3122
-
3123
- <td class="type">
3124
-
3125
-
3126
- <span class="param-type"><code>Number</code></span>
3127
-
3128
-
3129
-
3130
- </td>
3131
-
3132
-
3133
-
3134
-
3135
-
3136
- <td class="description last">Number of packets lost to remote</td>
3137
- </tr>
3138
-
3139
-
3140
-
3141
-
3142
-
3143
- <tr>
3144
-
3145
- <td class="name"><code>outboundPacketLossPct</code></td>
3146
-
3147
-
3148
- <td class="type">
3149
-
3150
-
3151
- <span class="param-type"><code>Number</code></span>
3152
-
3153
-
3154
-
3155
- </td>
3156
-
3157
-
3158
-
3159
-
3160
-
3161
- <td class="description last">Percentage of outbound packets lost</td>
3162
- </tr>
3163
-
3164
-
3165
-
3166
-
3167
-
3168
- <tr>
3169
-
3170
- <td class="name"><code>outboundJitter</code></td>
3171
-
3172
-
3173
- <td class="type">
3174
-
3175
-
3176
- <span class="param-type"><code>Number</code></span>
3177
-
3178
-
3179
-
3180
- </td>
3181
-
3182
-
3183
-
3184
-
3185
-
3186
- <td class="description last">Network jitter to remote (ms)</td>
3187
- </tr>
3188
-
3189
-
3190
-
3191
-
3192
-
3193
- <tr>
3194
-
3195
- <td class="name"><code>inboundPacketsReceived</code></td>
3196
-
3197
-
3198
- <td class="type">
3199
-
3200
-
3201
- <span class="param-type"><code>Number</code></span>
3202
-
3203
-
3204
-
3205
- </td>
3206
-
3207
-
3208
-
3209
-
3210
-
3211
- <td class="description last">Number of packets received</td>
3212
- </tr>
3213
-
3214
-
3215
-
3216
-
3217
-
3218
- <tr>
3219
-
3220
- <td class="name"><code>inboundBytesReceived</code></td>
3221
-
3222
-
3223
- <td class="type">
3224
-
3225
-
3226
- <span class="param-type"><code>Number</code></span>
3227
-
3228
-
3229
-
3230
- </td>
3231
-
3232
-
3233
-
3234
-
3235
-
3236
- <td class="description last">Number of bytes received</td>
3237
- </tr>
3238
-
3239
-
3240
-
3241
-
3242
-
3243
- <tr>
3244
-
3245
- <td class="name"><code>inboundPacketsLost</code></td>
3246
-
3247
-
3248
- <td class="type">
3249
-
3250
-
3251
- <span class="param-type"><code>Number</code></span>
3252
-
3253
-
3254
-
3255
- </td>
3256
-
3257
-
3258
-
3259
-
3260
-
3261
- <td class="description last">Number of packets lost from remote</td>
3262
- </tr>
3263
-
3264
-
3265
-
3266
-
3267
-
3268
- <tr>
3269
-
3270
- <td class="name"><code>inboundPacketLossPct</code></td>
3271
-
3272
-
3273
- <td class="type">
3274
-
3275
-
3276
- <span class="param-type"><code>Number</code></span>
3277
-
3278
-
3279
-
3280
- </td>
3281
-
3282
-
3283
-
3284
-
3285
-
3286
- <td class="description last">Percentage of inbound packets lost</td>
3287
- </tr>
3288
-
3289
-
3290
-
3291
-
3292
-
3293
- <tr>
3294
-
3295
- <td class="name"><code>inboundJitter</code></td>
3296
-
3297
-
3298
- <td class="type">
3299
-
3300
-
3301
- <span class="param-type"><code>Number</code></span>
3302
-
3303
-
3304
-
3305
- </td>
3306
-
3307
-
3308
-
3309
-
3310
-
3311
- <td class="description last">Network jitter from remote (ms)</td>
3312
- </tr>
3313
-
3314
-
3315
-
3316
-
3317
-
3318
- <tr>
3319
-
3320
- <td class="name"><code>roundTripTime</code></td>
3321
-
3322
-
3323
- <td class="type">
3324
-
3325
-
3326
- <span class="param-type"><code>Number</code></span>
3327
-
3328
-
3329
-
3330
- </td>
3331
-
3332
-
3333
-
3334
-
3335
-
3336
- <td class="description last">Latency in ms to media gateway</td>
3337
- </tr>
3338
-
3339
-
3340
-
3341
-
3342
-
3343
- <tr>
3344
-
3345
- <td class="name"><code>effectiveLatency</code></td>
3346
-
3347
-
3348
- <td class="type">
3349
-
3350
-
3351
- <span class="param-type"><code>Number</code></span>
3352
-
3353
-
3354
-
3355
- </td>
3356
-
3357
-
3358
-
3359
-
3360
-
3361
- <td class="description last">Effective latency with combined jitter impact</td>
3362
- </tr>
3363
-
3364
-
3365
-
3366
-
3367
-
3368
- <tr>
3369
-
3370
- <td class="name"><code>rFactor</code></td>
3371
-
3372
-
3373
- <td class="type">
3374
-
3375
-
3376
- <span class="param-type"><code>Number</code></span>
3377
-
3378
-
3379
-
3380
- </td>
3381
-
3382
-
3383
-
3384
-
3385
-
3386
- <td class="description last">Quality of media stream (0 - 100%)</td>
3387
- </tr>
3388
-
3389
-
3390
-
3391
-
3392
-
3393
- <tr>
3394
-
3395
- <td class="name"><code>mos</code></td>
3396
-
3397
-
3398
- <td class="type">
3399
-
3400
-
3401
- <span class="param-type"><code>Number</code></span>
3402
-
3403
-
3404
-
3405
- </td>
3406
-
3407
-
3408
-
3409
-
3410
-
3411
- <td class="description last">Synthetic MOS</td>
3412
- </tr>
3413
-
3414
-
3415
-
3416
-
3417
-
3418
- <tr>
3419
-
3420
- <td class="name"><code>qualityString</code></td>
3421
-
3422
-
3423
- <td class="type">
3424
-
3425
-
3426
- <span class="param-type"><code>String</code></span>
3427
-
3428
-
3429
-
3430
- </td>
3431
-
3432
-
3433
-
3434
-
3435
-
3436
- <td class="description last">Quality string [Excellent, Good, Fair, Poor, Bad]</td>
3437
- </tr>
3438
-
3439
-
3440
-
3441
-
3442
- </tbody>
3443
- </table>
3444
-
3445
-
3446
-
3447
-
3448
- <dl class="details">
3449
-
3450
-
3451
-
3452
-
3453
-
3454
-
3455
-
3456
-
3457
-
3458
-
3459
-
3460
-
3461
-
3462
-
3463
-
3464
-
3465
-
3466
-
3467
-
3468
-
3469
-
3470
-
3471
-
3472
-
3473
-
3474
-
3475
-
3476
-
3477
-
3478
-
3479
-
3480
-
3481
- </dl>
3482
-
3483
-
3484
-
3485
-
3486
-
3487
- <div class="section-type">
3488
- <h5>Type:</h5>
3489
- <ul>
3490
- <li>
3491
-
3492
- <span class="param-type"><code>object</code></span>
3493
-
3494
-
3495
- </li>
3496
- </ul>
3497
- </div>
3498
-
3499
-
3500
-
3501
-
3502
-
3503
-
3504
-
3505
-
3506
-
3507
-
3508
-
3509
-
3510
-
3511
-
3512
-
3513
-
3514
-
3515
-
3516
-
3517
- <div class="section-examples">
3518
- <h5>Example</h5>
3519
-
3520
- <pre class="prettyprint"><code>// Update call quality text on screen
6
+ });</code></pre></div></div><h3 class="name has-anchor" id="event:callEnded">callEnded</h3><div class="method-member-container mt-20"><strong>Type:</strong><ul><li><span class="param-type">object</span></li></ul></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>direction</code></td><td class="type"><span class="param-type"><a href="global.html#CALL_DIRECTION">CALL_DIRECTION</a></span></td><td class="description last">Call direction</td></tr><tr><td class="name"><code>disposition</code></td><td class="type"><span class="param-type"><a href="global.html#CALL_DISPOSITION">CALL_DISPOSITION</a></span></td><td class="description last">The final call disposition</td></tr><tr><td class="name"><code>originatingNumber</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Caller ID number (a-number) used for call</td></tr><tr><td class="name"><code>destinationNumber</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Destination number (b-number) used for call</td></tr><tr><td class="name"><code>startTime</code></td><td class="type"><span class="param-type">Date</span></td><td class="description last">Start time of call</td></tr><tr><td class="name"><code>answerTime</code></td><td class="type"><span class="param-type">Date</span></td><td class="description last">Time call was answered</td></tr><tr><td class="name"><code>endTime</code></td><td class="type"><span class="param-type">Date</span></td><td class="description last">End time of call</td></tr><tr><td class="name"><code>duration</code></td><td class="type"><span class="param-type">number</span></td><td class="description last">Total duration of the call (including call setup and remote answer time) (millisec)</td></tr><tr><td class="name"><code>durationStr</code></td><td class="type"><span class="param-type">String</span></td><td class="description last">Total duration of the call formatted as (mm:ss)</td></tr><tr><td class="name"><code>answerDuration</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Time before call was answered (millisec)</td></tr><tr><td class="name"><code>answerDurationStr</code></td><td class="type"><span class="param-type">String</span></td><td class="description last">Time before call was answered formatted as (mm:ss)</td></tr><tr><td class="name"><code>activeDuration</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Active duration of the call (time spend talking) (millisec)</td></tr><tr><td class="name"><code>activeDurationStr</code></td><td class="type"><span class="param-type">String</span></td><td class="description last">Active duration of the call formatted as (mm:ss)</td></tr><tr><td class="name"><code>callQualityReport</code></td><td class="type"><span class="param-type">object</span></td><td class="description last">Call quality report (see callQualityReportUpdate event for details)</td></tr></tbody></table></div><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>uuid</code></td><td class="type"><span class="param-type">uuid</span></td><td class="description last">Customer Call UUID for session</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line2106">line 2106</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="event:callQualityReportUpdate">callQualityReportUpdate</h3><div class="description">Contains information about call quality (fires in interval of 5 sec). Payload contains "total" (metrics for whole session) and "delta" (metrics last 5 secs).</div><div class="method-member-container mt-20"><strong>Type:</strong><ul><li><span class="param-type">object</span></li></ul></div><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>uuid</code></td><td class="type"><span class="param-type">String</span></td><td class="description last">UUID of session</td></tr><tr><td class="name"><code>outboundPacketsSent</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Number of packets sent</td></tr><tr><td class="name"><code>outboundBytesSent</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Number of bytes sent</td></tr><tr><td class="name"><code>outboundPacketsLost</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Number of packets lost to remote</td></tr><tr><td class="name"><code>outboundPacketLossPct</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Percentage of outbound packets lost</td></tr><tr><td class="name"><code>outboundJitter</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Network jitter to remote (ms)</td></tr><tr><td class="name"><code>inboundPacketsReceived</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Number of packets received</td></tr><tr><td class="name"><code>inboundBytesReceived</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Number of bytes received</td></tr><tr><td class="name"><code>inboundPacketsLost</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Number of packets lost from remote</td></tr><tr><td class="name"><code>inboundPacketLossPct</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Percentage of inbound packets lost</td></tr><tr><td class="name"><code>inboundJitter</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Network jitter from remote (ms)</td></tr><tr><td class="name"><code>roundTripTime</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Latency in ms to media gateway</td></tr><tr><td class="name"><code>effectiveLatency</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Effective latency with combined jitter impact</td></tr><tr><td class="name"><code>rFactor</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Quality of media stream (0 - 100%)</td></tr><tr><td class="name"><code>mos</code></td><td class="type"><span class="param-type">Number</span></td><td class="description last">Synthetic MOS</td></tr><tr><td class="name"><code>qualityString</code></td><td class="type"><span class="param-type">String</span></td><td class="description last">Quality string [Excellent, Good, Fair, Poor, Bad]</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line1733">line 1733</a></li></ul></dd></div></dl><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Example</strong><div class="rel"><pre class="prettyprint"><code>// Update call quality text on screen
3521
7
  session.on('callQualityReportUpdate', (report) => {
3522
8
  document.getElementById('quality_text').textContent = report.delta.qualityString;
3523
9
  document.getElementById('latency').textContent = report.delta.effectiveLatency;
3524
- });</code></pre>
3525
-
3526
- </div>
3527
-
3528
- </div>
3529
-
3530
-
3531
- <div class="section-method">
3532
-
3533
-
3534
-
3535
- <h4 class="name" id="event:connectionStateChange">connectionStateChange</h4>
3536
-
3537
-
3538
-
3539
-
3540
-
3541
-
3542
-
3543
-
3544
-
3545
- <dl class="details">
3546
-
3547
-
3548
-
3549
-
3550
-
3551
-
3552
-
3553
-
3554
-
3555
-
3556
-
3557
-
3558
-
3559
-
3560
-
3561
-
3562
-
3563
-
3564
-
3565
-
3566
-
3567
-
3568
-
3569
-
3570
-
3571
-
3572
-
3573
-
3574
-
3575
-
3576
-
3577
-
3578
- </dl>
3579
-
3580
-
3581
-
3582
-
3583
-
3584
- <div class="section-type">
3585
- <h5>Type:</h5>
3586
- <ul>
3587
- <li>
3588
-
3589
- <span class="param-type"><code>object</code></span>
3590
-
3591
-
3592
- </li>
3593
- </ul>
3594
- </div>
3595
-
3596
-
3597
-
3598
-
3599
-
3600
- <h5>Parameters:</h5>
3601
-
3602
-
3603
- <table class="params">
3604
- <thead>
3605
- <tr>
3606
-
3607
- <th>Name</th>
3608
-
3609
-
3610
- <th>Type</th>
3611
-
3612
-
3613
-
3614
-
3615
-
3616
- <th class="last">Description</th>
3617
- </tr>
3618
- </thead>
3619
-
3620
- <tbody>
3621
-
3622
-
3623
- <tr>
3624
-
3625
- <td class="name"><code>state</code></td>
3626
-
3627
-
3628
- <td class="type">
3629
-
3630
-
3631
- <span class="param-type"><code><a href="global.html#CONNECTION_STATE">CONNECTION_STATE</a></code></span>
3632
-
3633
-
3634
-
3635
- </td>
3636
-
3637
-
3638
-
3639
-
3640
-
3641
- <td class="description last">
3642
- The current connection state
3643
-
3644
- </td>
3645
- </tr>
3646
-
3647
-
3648
- </tbody>
3649
- </table>
3650
-
3651
-
3652
-
3653
-
3654
-
3655
-
3656
-
3657
-
3658
-
3659
-
3660
-
3661
-
3662
-
3663
-
3664
-
3665
-
3666
- </div>
3667
-
3668
-
3669
- <div class="section-method">
3670
-
3671
-
3672
-
3673
- <h4 class="name" id="event:holdStateChange">holdStateChange</h4>
3674
-
3675
-
3676
-
3677
-
3678
-
3679
-
3680
-
3681
-
3682
-
3683
- <h5 class="subsection-title">Properties:</h5>
3684
-
3685
-
3686
-
3687
- <table class="props">
3688
- <thead>
3689
- <tr>
3690
-
3691
- <th>Name</th>
3692
-
3693
-
3694
- <th>Type</th>
3695
-
3696
-
3697
-
3698
-
3699
-
3700
- <th class="last">Description</th>
3701
- </tr>
3702
- </thead>
3703
-
3704
- <tbody>
3705
-
3706
-
3707
- <tr>
3708
-
3709
- <td class="name"><code>state</code></td>
3710
-
3711
-
3712
- <td class="type">
3713
-
3714
-
3715
- <span class="param-type"><code>boolean</code></span>
3716
-
3717
-
3718
-
3719
- </td>
3720
-
3721
-
3722
-
3723
-
3724
-
3725
- <td class="description last">New hold state</td>
3726
- </tr>
3727
-
3728
-
3729
-
3730
-
3731
- </tbody>
3732
- </table>
3733
-
3734
-
3735
-
3736
-
3737
- <dl class="details">
3738
-
3739
-
3740
-
3741
-
3742
-
3743
-
3744
-
3745
-
3746
-
3747
-
3748
-
3749
-
3750
-
3751
-
3752
-
3753
-
3754
-
3755
-
3756
-
3757
-
3758
-
3759
-
3760
-
3761
-
3762
-
3763
-
3764
-
3765
-
3766
-
3767
-
3768
-
3769
-
3770
- </dl>
3771
-
3772
-
3773
-
3774
-
3775
-
3776
- <div class="section-type">
3777
- <h5>Type:</h5>
3778
- <ul>
3779
- <li>
3780
-
3781
- <span class="param-type"><code>object</code></span>
3782
-
3783
-
3784
- </li>
3785
- </ul>
3786
- </div>
3787
-
3788
-
3789
-
3790
-
3791
-
3792
-
3793
-
3794
-
3795
-
3796
-
3797
-
3798
-
3799
-
3800
-
3801
-
3802
-
3803
-
3804
-
3805
-
3806
- </div>
3807
-
3808
-
3809
- <div class="section-method">
3810
-
3811
-
3812
-
3813
- <h4 class="name" id="event:incomingCall">incomingCall</h4>
3814
-
3815
-
3816
-
3817
-
3818
-
3819
-
3820
-
3821
-
3822
-
3823
- <dl class="details">
3824
-
3825
-
3826
-
3827
-
3828
-
3829
-
3830
-
3831
-
3832
-
3833
-
3834
-
3835
-
3836
-
3837
-
3838
-
3839
-
3840
-
3841
-
3842
-
3843
-
3844
-
3845
-
3846
-
3847
-
3848
-
3849
-
3850
-
3851
-
3852
-
3853
-
3854
-
3855
-
3856
- </dl>
3857
-
3858
-
3859
-
3860
-
3861
-
3862
- <div class="section-type">
3863
- <h5>Type:</h5>
3864
- <ul>
3865
- <li>
3866
-
3867
- <span class="param-type"><code>object</code></span>
3868
-
3869
-
3870
- </li>
3871
- </ul>
3872
- </div>
3873
-
3874
-
3875
-
3876
-
3877
-
3878
- <h5>Parameters:</h5>
3879
-
3880
-
3881
- <table class="params">
3882
- <thead>
3883
- <tr>
3884
-
3885
- <th>Name</th>
3886
-
3887
-
3888
- <th>Type</th>
3889
-
3890
-
3891
-
3892
-
3893
-
3894
- <th class="last">Description</th>
3895
- </tr>
3896
- </thead>
3897
-
3898
- <tbody>
3899
-
3900
-
3901
- <tr>
3902
-
3903
- <td class="name"><code>session</code></td>
3904
-
3905
-
3906
- <td class="type">
3907
-
3908
-
3909
- <span class="param-type"><code><a href="Session.html">Session</a></code></span>
3910
-
3911
-
3912
-
3913
- </td>
3914
-
3915
-
3916
-
3917
-
3918
-
3919
- <td class="description last">
3920
- New incoming session
3921
-
3922
- </td>
3923
- </tr>
3924
-
3925
-
3926
- </tbody>
3927
- </table>
3928
-
3929
-
3930
-
3931
-
3932
-
3933
-
3934
-
3935
-
3936
-
3937
-
3938
-
3939
-
3940
-
3941
-
3942
-
3943
-
3944
- </div>
3945
-
3946
-
3947
- <div class="section-method">
3948
-
3949
-
3950
-
3951
- <h4 class="name" id="event:muteStateChange">muteStateChange</h4>
3952
-
3953
-
3954
-
3955
-
3956
-
3957
-
3958
-
3959
-
3960
-
3961
- <h5 class="subsection-title">Properties:</h5>
3962
-
3963
-
3964
-
3965
- <table class="props">
3966
- <thead>
3967
- <tr>
3968
-
3969
- <th>Name</th>
3970
-
3971
-
3972
- <th>Type</th>
3973
-
3974
-
3975
-
3976
-
3977
-
3978
- <th class="last">Description</th>
3979
- </tr>
3980
- </thead>
3981
-
3982
- <tbody>
3983
-
3984
-
3985
- <tr>
3986
-
3987
- <td class="name"><code>state</code></td>
3988
-
3989
-
3990
- <td class="type">
3991
-
3992
-
3993
- <span class="param-type"><code>boolean</code></span>
3994
-
3995
-
3996
-
3997
- </td>
3998
-
3999
-
4000
-
4001
-
4002
-
4003
- <td class="description last">Mute state (true = muted / false = unmuted)</td>
4004
- </tr>
4005
-
4006
-
4007
-
4008
-
4009
- </tbody>
4010
- </table>
4011
-
4012
-
4013
-
4014
-
4015
- <dl class="details">
4016
-
4017
-
4018
-
4019
-
4020
-
4021
-
4022
-
4023
-
4024
-
4025
-
4026
-
4027
-
4028
-
4029
-
4030
-
4031
-
4032
-
4033
-
4034
-
4035
-
4036
-
4037
-
4038
-
4039
-
4040
-
4041
-
4042
-
4043
-
4044
-
4045
-
4046
-
4047
-
4048
- </dl>
4049
-
4050
-
4051
-
4052
-
4053
-
4054
- <div class="section-type">
4055
- <h5>Type:</h5>
4056
- <ul>
4057
- <li>
4058
-
4059
- <span class="param-type"><code>object</code></span>
4060
-
4061
-
4062
- </li>
4063
- </ul>
4064
- </div>
4065
-
4066
-
4067
-
4068
-
4069
-
4070
-
4071
-
4072
-
4073
-
4074
-
4075
-
4076
-
4077
-
4078
-
4079
-
4080
-
4081
-
4082
-
4083
-
4084
- </div>
4085
-
4086
-
4087
- <div class="section-method">
4088
-
4089
-
4090
-
4091
- <h4 class="name" id="event:recordingStateChange">recordingStateChange</h4>
4092
-
4093
-
4094
-
4095
-
4096
-
4097
-
4098
-
4099
-
4100
-
4101
- <h5 class="subsection-title">Properties:</h5>
4102
-
4103
-
4104
-
4105
- <table class="props">
4106
- <thead>
4107
- <tr>
4108
-
4109
- <th>Name</th>
4110
-
4111
-
4112
- <th>Type</th>
4113
-
4114
-
4115
-
4116
-
4117
-
4118
- <th class="last">Description</th>
4119
- </tr>
4120
- </thead>
4121
-
4122
- <tbody>
4123
-
4124
-
4125
- <tr>
4126
-
4127
- <td class="name"><code>state</code></td>
4128
-
4129
-
4130
- <td class="type">
4131
-
4132
-
4133
- <span class="param-type"><code>boolean</code></span>
4134
-
4135
-
4136
-
4137
- </td>
4138
-
4139
-
4140
-
4141
-
4142
-
4143
- <td class="description last">New recording state</td>
4144
- </tr>
4145
-
4146
-
4147
-
4148
-
4149
- </tbody>
4150
- </table>
4151
-
4152
-
4153
-
4154
-
4155
- <dl class="details">
4156
-
4157
-
4158
-
4159
-
4160
-
4161
-
4162
-
4163
-
4164
-
4165
-
4166
-
4167
-
4168
-
4169
-
4170
-
4171
-
4172
-
4173
-
4174
-
4175
-
4176
-
4177
-
4178
-
4179
-
4180
-
4181
-
4182
-
4183
-
4184
-
4185
-
4186
-
4187
-
4188
- </dl>
4189
-
4190
-
4191
-
4192
-
4193
-
4194
- <div class="section-type">
4195
- <h5>Type:</h5>
4196
- <ul>
4197
- <li>
4198
-
4199
- <span class="param-type"><code>object</code></span>
4200
-
4201
-
4202
- </li>
4203
- </ul>
4204
- </div>
4205
-
4206
-
4207
-
4208
-
4209
-
4210
-
4211
-
4212
-
4213
-
4214
-
4215
-
4216
-
4217
-
4218
-
4219
-
4220
-
4221
-
4222
-
4223
-
4224
- </div>
4225
-
4226
-
4227
- <div class="section-method">
4228
-
4229
-
4230
-
4231
- <h4 class="name" id="event:sessionCreated">sessionCreated</h4>
4232
-
4233
-
4234
-
4235
-
4236
-
4237
-
4238
-
4239
-
4240
-
4241
- <dl class="details">
4242
-
4243
-
4244
-
4245
-
4246
-
4247
-
4248
-
4249
-
4250
-
4251
-
4252
-
4253
-
4254
-
4255
-
4256
-
4257
-
4258
-
4259
-
4260
-
4261
-
4262
-
4263
-
4264
-
4265
-
4266
-
4267
-
4268
-
4269
-
4270
-
4271
-
4272
-
4273
-
4274
- </dl>
4275
-
4276
-
4277
-
4278
-
4279
-
4280
- <div class="section-type">
4281
- <h5>Type:</h5>
4282
- <ul>
4283
- <li>
4284
-
4285
- <span class="param-type"><code>object</code></span>
4286
-
4287
-
4288
- </li>
4289
- </ul>
4290
- </div>
4291
-
4292
-
4293
-
4294
-
4295
-
4296
- <h5>Parameters:</h5>
4297
-
4298
-
4299
- <table class="params">
4300
- <thead>
4301
- <tr>
4302
-
4303
- <th>Name</th>
4304
-
4305
-
4306
- <th>Type</th>
4307
-
4308
-
4309
-
4310
-
4311
-
4312
- <th class="last">Description</th>
4313
- </tr>
4314
- </thead>
4315
-
4316
- <tbody>
4317
-
4318
-
4319
- <tr>
4320
-
4321
- <td class="name"><code>session</code></td>
4322
-
4323
-
4324
- <td class="type">
4325
-
4326
-
4327
- <span class="param-type"><code>session</code></span>
4328
-
4329
-
4330
-
4331
- </td>
4332
-
4333
-
4334
-
4335
-
4336
-
4337
- <td class="description last">
4338
- New session created
4339
-
4340
- </td>
4341
- </tr>
4342
-
4343
-
4344
- </tbody>
4345
- </table>
4346
-
4347
-
4348
-
4349
-
4350
-
4351
-
4352
-
4353
-
4354
-
4355
-
4356
-
4357
-
4358
-
4359
-
4360
-
4361
-
4362
- </div>
4363
-
4364
-
4365
- <div class="section-method">
4366
-
4367
-
4368
-
4369
- <h4 class="name" id="event:sessionRemoved">sessionRemoved</h4>
4370
-
4371
-
4372
-
4373
-
4374
-
4375
-
4376
-
4377
-
4378
-
4379
- <dl class="details">
4380
-
4381
-
4382
-
4383
-
4384
-
4385
-
4386
-
4387
-
4388
-
4389
-
4390
-
4391
-
4392
-
4393
-
4394
-
4395
-
4396
-
4397
-
4398
-
4399
-
4400
-
4401
-
4402
-
4403
-
4404
-
4405
-
4406
-
4407
-
4408
-
4409
-
4410
-
4411
-
4412
- </dl>
4413
-
4414
-
4415
-
4416
-
4417
-
4418
- <div class="section-type">
4419
- <h5>Type:</h5>
4420
- <ul>
4421
- <li>
4422
-
4423
- <span class="param-type"><code>object</code></span>
4424
-
4425
-
4426
- </li>
4427
- </ul>
4428
- </div>
4429
-
4430
-
4431
-
4432
-
4433
-
4434
- <h5>Parameters:</h5>
4435
-
4436
-
4437
- <table class="params">
4438
- <thead>
4439
- <tr>
4440
-
4441
- <th>Name</th>
4442
-
4443
-
4444
- <th>Type</th>
4445
-
4446
-
4447
-
4448
-
4449
-
4450
- <th class="last">Description</th>
4451
- </tr>
4452
- </thead>
4453
-
4454
- <tbody>
4455
-
4456
-
4457
- <tr>
4458
-
4459
- <td class="name"><code>session</code></td>
4460
-
4461
-
4462
- <td class="type">
4463
-
4464
-
4465
- <span class="param-type"><code>session</code></span>
4466
-
4467
-
4468
-
4469
- </td>
4470
-
4471
-
4472
-
4473
-
4474
-
4475
- <td class="description last">
4476
- Session removed
4477
-
4478
- </td>
4479
- </tr>
4480
-
4481
-
4482
- </tbody>
4483
- </table>
4484
-
4485
-
4486
-
4487
-
4488
-
4489
-
4490
-
4491
-
4492
-
4493
-
4494
-
4495
-
4496
-
4497
-
4498
-
4499
-
4500
- </div>
4501
-
4502
-
4503
- <div class="section-method">
4504
-
4505
-
4506
-
4507
- <h4 class="name" id="event:sessionStateChange">sessionStateChange</h4>
4508
-
4509
-
4510
-
4511
-
4512
-
4513
-
4514
-
4515
-
4516
-
4517
- <dl class="details">
4518
-
4519
-
4520
-
4521
-
4522
-
4523
-
4524
-
4525
-
4526
-
4527
-
4528
-
4529
-
4530
-
4531
-
4532
-
4533
-
4534
-
4535
-
4536
-
4537
-
4538
-
4539
-
4540
-
4541
-
4542
-
4543
-
4544
-
4545
-
4546
-
4547
-
4548
-
4549
-
4550
- </dl>
4551
-
4552
-
4553
-
4554
-
4555
-
4556
- <div class="section-type">
4557
- <h5>Type:</h5>
4558
- <ul>
4559
- <li>
4560
-
4561
- <span class="param-type"><code>object</code></span>
4562
-
4563
-
4564
- </li>
4565
- </ul>
4566
- </div>
4567
-
4568
-
4569
-
4570
-
4571
-
4572
- <h5>Parameters:</h5>
4573
-
4574
-
4575
- <table class="params">
4576
- <thead>
4577
- <tr>
4578
-
4579
- <th>Name</th>
4580
-
4581
-
4582
- <th>Type</th>
4583
-
4584
-
4585
-
4586
-
4587
-
4588
- <th class="last">Description</th>
4589
- </tr>
4590
- </thead>
4591
-
4592
- <tbody>
4593
-
4594
-
4595
- <tr>
4596
-
4597
- <td class="name"><code>state</code></td>
4598
-
4599
-
4600
- <td class="type">
4601
-
4602
-
4603
- <span class="param-type"><code><a href="global.html#SESSION_STATE">SESSION_STATE</a></code></span>
4604
-
4605
-
4606
-
4607
- </td>
4608
-
4609
-
4610
-
4611
-
4612
-
4613
- <td class="description last">
4614
- The current session state
4615
-
4616
- </td>
4617
- </tr>
4618
-
4619
-
4620
-
4621
- <tr>
4622
-
4623
- <td class="name"><code>uuid</code></td>
4624
-
4625
-
4626
- <td class="type">
4627
-
4628
-
4629
- <span class="param-type"><code>uuid</code></span>
4630
-
4631
-
4632
-
4633
- </td>
4634
-
4635
-
4636
-
4637
-
4638
-
4639
- <td class="description last">
4640
- Call UUID for session
4641
-
4642
- </td>
4643
- </tr>
4644
-
4645
-
4646
-
4647
- <tr>
4648
-
4649
- <td class="name"><code>originName</code></td>
4650
-
4651
-
4652
- <td class="type">
4653
-
4654
-
4655
- <span class="param-type"><code>string</code></span>
4656
-
4657
-
4658
-
4659
- </td>
4660
-
4661
-
4662
-
4663
-
4664
-
4665
- <td class="description last">
4666
- Originating name of call [INCOMING only]
4667
-
4668
- </td>
4669
- </tr>
4670
-
4671
-
4672
-
4673
- <tr>
4674
-
4675
- <td class="name"><code>originatingNumber</code></td>
4676
-
4677
-
4678
- <td class="type">
4679
-
4680
-
4681
- <span class="param-type"><code>string</code></span>
4682
-
4683
-
4684
-
4685
- </td>
4686
-
4687
-
4688
-
4689
-
4690
-
4691
- <td class="description last">
4692
- Originating phone number of call [INCOMING only]
4693
-
4694
- </td>
4695
- </tr>
4696
-
4697
-
4698
-
4699
- <tr>
4700
-
4701
- <td class="name"><code>destinationNumber</code></td>
4702
-
4703
-
4704
- <td class="type">
4705
-
4706
-
4707
- <span class="param-type"><code>string</code></span>
4708
-
4709
-
4710
-
4711
- </td>
4712
-
4713
-
4714
-
4715
-
4716
-
4717
- <td class="description last">
4718
- Destination number of call
4719
-
4720
- </td>
4721
- </tr>
4722
-
4723
-
4724
-
4725
- <tr>
4726
-
4727
- <td class="name"><code>cause</code></td>
4728
-
4729
-
4730
- <td class="type">
4731
-
4732
-
4733
- <span class="param-type"><code>string</code></span>
4734
-
4735
-
4736
-
4737
- </td>
4738
-
4739
-
4740
-
4741
-
4742
-
4743
- <td class="description last">
4744
- Fail cause [FAILED only]
4745
-
4746
- </td>
4747
- </tr>
4748
-
4749
-
4750
-
4751
- <tr>
4752
-
4753
- <td class="name"><code>message</code></td>
4754
-
4755
-
4756
- <td class="type">
4757
-
4758
-
4759
- <span class="param-type"><code>string</code></span>
4760
-
4761
-
4762
-
4763
- </td>
4764
-
4765
-
4766
-
4767
-
4768
-
4769
- <td class="description last">
4770
- Fail message description [FAILED only]
4771
-
4772
- </td>
4773
- </tr>
4774
-
4775
-
4776
- </tbody>
4777
- </table>
4778
-
4779
-
4780
-
4781
-
4782
-
4783
-
4784
-
4785
-
4786
-
4787
-
4788
-
4789
-
4790
-
4791
-
4792
-
4793
-
4794
- </div>
4795
-
4796
-
4797
- <div class="section-method">
4798
-
4799
-
4800
-
4801
- <h4 class="name" id="event:whisperModeChange">whisperModeChange</h4>
4802
-
4803
-
4804
-
4805
-
4806
-
4807
-
4808
-
4809
-
4810
-
4811
- <h5 class="subsection-title">Properties:</h5>
4812
-
4813
-
4814
-
4815
- <table class="props">
4816
- <thead>
4817
- <tr>
4818
-
4819
- <th>Name</th>
4820
-
4821
-
4822
- <th>Type</th>
4823
-
4824
-
4825
-
4826
-
4827
-
4828
- <th class="last">Description</th>
4829
- </tr>
4830
- </thead>
4831
-
4832
- <tbody>
4833
-
4834
-
4835
- <tr>
4836
-
4837
- <td class="name"><code>mode</code></td>
4838
-
4839
-
4840
- <td class="type">
4841
-
4842
-
4843
- <span class="param-type"><code>boolean</code></span>
4844
-
4845
-
4846
-
4847
- </td>
4848
-
4849
-
4850
-
4851
-
4852
-
4853
- <td class="description last">New whisper mode (0 = No whisper / 1 = Local only / 2 = Three way)</td>
4854
- </tr>
4855
-
4856
-
4857
-
4858
-
4859
- </tbody>
4860
- </table>
4861
-
4862
-
4863
-
4864
-
4865
- <dl class="details">
4866
-
4867
-
4868
-
4869
-
4870
-
4871
-
4872
-
4873
-
4874
-
4875
-
4876
-
4877
-
4878
-
4879
-
4880
-
4881
-
4882
-
4883
-
4884
-
4885
-
4886
-
4887
-
4888
-
4889
-
4890
-
4891
-
4892
-
4893
-
4894
-
4895
-
4896
-
4897
-
4898
- </dl>
4899
-
4900
-
4901
-
4902
-
4903
-
4904
- <div class="section-type">
4905
- <h5>Type:</h5>
4906
- <ul>
4907
- <li>
4908
-
4909
- <span class="param-type"><code>object</code></span>
4910
-
4911
-
4912
- </li>
4913
- </ul>
4914
- </div>
4915
-
4916
-
4917
-
4918
-
4919
-
4920
-
4921
-
4922
-
4923
-
4924
-
4925
-
4926
-
4927
-
4928
-
4929
-
4930
-
4931
-
4932
-
4933
-
4934
- </div>
4935
-
4936
-
4937
- </article>
4938
-
4939
- </section>
4940
-
4941
-
4942
-
4943
-
4944
- </div>
4945
-
4946
- <br class="clear">
4947
-
4948
- <footer>
4949
- Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Fri Oct 06 2023 14:19:15 GMT+0200 (Central European Summer Time) using the Minami theme.
4950
- </footer>
4951
-
4952
- <script>prettyPrint();</script>
4953
- <script src="scripts/linenumber.js"></script>
4954
- </body>
4955
- </html>
10
+ });</code></pre></div></div><h3 class="name has-anchor" id="event:connectionStateChange">connectionStateChange</h3><div class="method-member-container mt-20"><strong>Type:</strong><ul><li><span class="param-type">object</span></li></ul></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>state</code></td><td class="type"><span class="param-type"><a href="global.html#CONNECTION_STATE">CONNECTION_STATE</a></span></td><td class="description last">The current connection state</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line780">line 780</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="event:holdStateChange">holdStateChange</h3><div class="method-member-container mt-20"><strong>Type:</strong><ul><li><span class="param-type">object</span></li></ul></div><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>state</code></td><td class="type"><span class="param-type">boolean</span></td><td class="description last">New hold state</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line2078">line 2078</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="event:incomingCall">incomingCall</h3><div class="method-member-container mt-20"><strong>Type:</strong><ul><li><span class="param-type">object</span></li></ul></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>session</code></td><td class="type"><span class="param-type"><a href="Session.html">Session</a></span></td><td class="description last">New incoming session</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line795">line 795</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="event:muteStateChange">muteStateChange</h3><div class="method-member-container mt-20"><strong>Type:</strong><ul><li><span class="param-type">object</span></li></ul></div><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>state</code></td><td class="type"><span class="param-type">boolean</span></td><td class="description last">Mute state (true = muted / false = unmuted)</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line2064">line 2064</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="event:recordingStateChange">recordingStateChange</h3><div class="method-member-container mt-20"><strong>Type:</strong><ul><li><span class="param-type">object</span></li></ul></div><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>state</code></td><td class="type"><span class="param-type">boolean</span></td><td class="description last">New recording state</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line2050">line 2050</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="event:sessionCreated">sessionCreated</h3><div class="method-member-container mt-20"><strong>Type:</strong><ul><li><span class="param-type">object</span></li></ul></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>session</code></td><td class="type"><span class="param-type">session</span></td><td class="description last">New session created</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line695">line 695</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="event:sessionRemoved">sessionRemoved</h3><div class="method-member-container mt-20"><strong>Type:</strong><ul><li><span class="param-type">object</span></li></ul></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>session</code></td><td class="type"><span class="param-type">session</span></td><td class="description last">Session removed</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line719">line 719</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="event:sessionStateChange">sessionStateChange</h3><div class="method-member-container mt-20"><strong>Type:</strong><ul><li><span class="param-type">object</span></li></ul></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>state</code></td><td class="type"><span class="param-type"><a href="global.html#SESSION_STATE">SESSION_STATE</a></span></td><td class="description last">The current session state</td></tr><tr><td class="name"><code>uuid</code></td><td class="type"><span class="param-type">uuid</span></td><td class="description last">Call UUID for session</td></tr><tr><td class="name"><code>originName</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Originating name of call [INCOMING only]</td></tr><tr><td class="name"><code>originatingNumber</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Originating phone number of call [INCOMING only]</td></tr><tr><td class="name"><code>destinationNumber</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Destination number of call</td></tr><tr><td class="name"><code>cause</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Fail cause [FAILED only]</td></tr><tr><td class="name"><code>message</code></td><td class="type"><span class="param-type">string</span></td><td class="description last">Fail message description [FAILED only]</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line1922">line 1922</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="event:whisperModeChange">whisperModeChange</h3><div class="method-member-container mt-20"><strong>Type:</strong><ul><li><span class="param-type">object</span></li></ul></div><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>mode</code></td><td class="type"><span class="param-type">boolean</span></td><td class="description last">New whisper mode (0 = No whisper / 1 = Local only / 2 = Three way)</td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="phone-client.js.html">phone-client.js</a>, <a href="phone-client.js.html#line2092">line 2092</a></li></ul></dd></div></dl></article></section></div></div></div><div class="search-container" id="PkfLWpAbet" style="display:none"><div class="wrapper" id="iCxFxjkHbP"><button class="icon-button search-close-button" id="VjLlGakifb" aria-label="close search"><svg><use xlink:href="#close-icon"></use></svg></button><div class="search-box-c"><svg><use xlink:href="#search-icon"></use></svg> <input type="text" id="vpcKVYIppa" class="search-input" placeholder="Search..." autofocus></div><div class="search-result-c" id="fWwVHRuDuN"><span class="search-result-c-text">Type anything to view search result</span></div></div></div><div class="mobile-menu-icon-container"><button class="icon-button" id="mobile-menu" data-isopen="false" aria-label="menu"><svg><use xlink:href="#menu-icon"></use></svg></button></div><div id="mobile-sidebar" class="mobile-sidebar-container"><div class="mobile-sidebar-wrapper"><div class="mobile-nav-links"></div><div class="mobile-sidebar-items-c"><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-classes"><div>Classes</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="EventClient.html">EventClient</a></div><div class="sidebar-section-children"><a href="EventServiceNotConnected.html">EventServiceNotConnected</a></div><div class="sidebar-section-children"><a href="InvalidMediaDevice.html">InvalidMediaDevice</a></div><div class="sidebar-section-children"><a href="InvalidOptions.html">InvalidOptions</a></div><div class="sidebar-section-children"><a href="InvalidParameter.html">InvalidParameter</a></div><div class="sidebar-section-children"><a href="LogHandler.html">LogHandler</a></div><div class="sidebar-section-children"><a href="MediaNotPrepared.html">MediaNotPrepared</a></div><div class="sidebar-section-children"><a href="NoActiveSession.html">NoActiveSession</a></div><div class="sidebar-section-children"><a href="NotAllowed.html">NotAllowed</a></div><div class="sidebar-section-children"><a href="NotReady.html">NotReady</a></div><div class="sidebar-section-children"><a href="Phone.html">Phone</a></div><div class="sidebar-section-children"><a href="Request.html">Request</a></div><div class="sidebar-section-children"><a href="Requestor.html">Requestor</a></div><div class="sidebar-section-children"><a href="Session.html">Session</a></div><div class="sidebar-section-children"><a href="UnableToConnect.html">UnableToConnect</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-events"><div>Events</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="global.html#event:callDataInfo">callDataInfo</a></div><div class="sidebar-section-children"><a href="global.html#event:callDurationUpdate">callDurationUpdate</a></div><div class="sidebar-section-children"><a href="global.html#event:callEnded">callEnded</a></div><div class="sidebar-section-children"><a href="global.html#event:callQualityReportUpdate">callQualityReportUpdate</a></div><div class="sidebar-section-children"><a href="global.html#event:connectionStateChange">connectionStateChange</a></div><div class="sidebar-section-children"><a href="global.html#event:holdStateChange">holdStateChange</a></div><div class="sidebar-section-children"><a href="global.html#event:incomingCall">incomingCall</a></div><div class="sidebar-section-children"><a href="global.html#event:muteStateChange">muteStateChange</a></div><div class="sidebar-section-children"><a href="global.html#event:recordingStateChange">recordingStateChange</a></div><div class="sidebar-section-children"><a href="global.html#event:sessionCreated">sessionCreated</a></div><div class="sidebar-section-children"><a href="global.html#event:sessionRemoved">sessionRemoved</a></div><div class="sidebar-section-children"><a href="global.html#event:sessionStateChange">sessionStateChange</a></div><div class="sidebar-section-children"><a href="global.html#event:whisperModeChange">whisperModeChange</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-global"><div>Global</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="global.html#CALL_DIRECTION">CALL_DIRECTION</a></div><div class="sidebar-section-children"><a href="global.html#CALL_DISPOSITION">CALL_DISPOSITION</a></div><div class="sidebar-section-children"><a href="global.html#CONNECTION_STATE">CONNECTION_STATE</a></div><div class="sidebar-section-children"><a href="global.html#LOGLVL">LOGLVL</a></div><div class="sidebar-section-children"><a href="global.html#SESSION_STATE">SESSION_STATE</a></div></div></div><div class="mobile-navbar-actions"><div class="navbar-right-item"><button class="icon-button search-button" aria-label="open-search"><svg><use xlink:href="#search-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button theme-toggle" aria-label="toggle-theme"><svg><use class="theme-svg-use" xlink:href="#light-theme-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button font-size" aria-label="change-font-size"><svg><use xlink:href="#font-size-icon"></use></svg></button></div></div></div></div><script type="text/javascript" src="scripts/core.min.js"></script><script src="scripts/search.min.js" defer="defer"></script><script src="scripts/third-party/fuse.js" defer="defer"></script><script type="text/javascript">var tocbotInstance=tocbot.init({tocSelector:"#eed4d2a0bfd64539bb9df78095dec881",contentSelector:".main-content",headingSelector:"h1, h2, h3",hasInnerContainers:!0,scrollContainer:".main-content",headingsOffset:130,onClick:bringLinkToView})</script></body></html>