Wiki source code of Call Segments

Version 16.1 by hanlys on 2016/01/12 15:53

Show last authors
1 {{layout}}
2 {{layout-section ac:type="two_right_sidebar"}}
3 {{layout-cell}}
4 {{warning}}
5 This page is currently being written. Although the information below is probably accurate, it may not be complete or may have errors.
6 {{/warning}}
7
8 {{info}}
9 The information on this page applies to **iSymphony 3.2+**.
10 {{/info}}
11
12 {{note}}
13 This resource is restricted by licensing. See the resource and action path information below for more details.
14 {{/note}}
15
16 = (% style="color: rgb(0,0,0);" %)Description(%%) =
17
18 The live call segment REST resource provides access to information about call segments in the system, including call segments bound to an extension, waiting in a queue, or related to other call segments. This resource provides actions to transfer call segments to other destinations.
19
20 {{info}}
21 This resource does not provide any sub resources, but does provide references to other call segments, as the relationships between call segments represent call state between two endpoints.
22 {{/info}}
23 {{/layout-cell}}
24
25 {{layout-cell}}
26 {{panel title="On this page:"}}
27
28
29 {{toc maxLevel="2" indent="1"/}}
30 {{/panel}}
31 {{/layout-cell}}
32 {{/layout-section}}
33
34 {{layout-section ac:type="single"}}
35 {{layout-cell}}
36 (% style="color: rgb(0,0,0);" %)
37
38
39 = (% style="color: rgb(0,0,0);" %)JSON Representation(%%) =
40
41 {{code}}
42 {
43 "id": "804dbbc2-c4e3-47f2-96b9-b8262d542e7c",
44 "type": "INTERNAL",
45 "callerId": {
46 "id": "c9450235-0f6d-4e0f-bb3b-3fef010d8617",
47 "name": "Michael Y",
48 "number": "4224"
49 },
50 "did": "s",
51 "onHold": false,
52 "recording": false,
53 "incoming": true,
54 }
55 {{/code}}
56
57 (% style="line-height: 1.4285715;" %)
58 |=(((
59 Property
60 )))|=(((
61 Type
62 )))|=(((
63 Description
64 )))
65 |(((
66 {{{id}}}
67 )))|(((
68 String
69 )))|(((
70 The id of the call segment.
71 )))
72 |(% colspan="1" %)(% colspan="1" %)
73 (((
74 type
75 )))|(% colspan="1" %)(% colspan="1" %)
76 (((
77 String
78 )))|(% colspan="1" %)(% colspan="1" %)
79 (((
80 The Type of the call segment. Values are (% style="font-family: monospace;" %)Internal(%%) (Call Segment is bound to an internal extension), and External (Call Segment is bound to an external source).
81
82 {{info}}
83 If the system cannot determine the extension a call segment is bound to (i.e. the extension is not configured in iSymphony), the type will be set to External.
84 {{/info}}
85 )))
86 |(% colspan="1" %)(% colspan="1" %)
87 (((
88 callerId:id
89 )))|(% colspan="1" %)(% colspan="1" %)
90 (((
91 String
92 )))|(% colspan="1" %)(% colspan="1" %)
93 (((
94 The id of the call segment's caller id object.
95 )))
96 |(% colspan="1" %)(% colspan="1" %)
97 (((
98 callerId:name
99
100 {{{}}}
101 )))|(% colspan="1" %)(% colspan="1" %)
102 (((
103 String
104 )))|(% colspan="1" %)(% colspan="1" %)
105 (((
106 The caller id name of the call segment.
107 )))
108 |(% colspan="1" %)(% colspan="1" %)
109 (((
110 {{{callerId:number}}}
111 )))|(% colspan="1" %)(% colspan="1" %)
112 (((
113 String
114 )))|(% colspan="1" %)(% colspan="1" %)
115 (((
116 The caller id number of the call segment.
117 )))
118 |(% colspan="1" %)(% colspan="1" %)
119 (((
120 did
121 )))|(% colspan="1" %)(% colspan="1" %)
122 (((
123 String
124 )))|(% colspan="1" %)(% colspan="1" %)
125 (((
126 The number the caller used to enter the phone system, or null if the call segment was created in response to a dial, or no DID could be determined for the call.
127 )))
128 |(% colspan="1" %)(% colspan="1" %)
129 (((
130 onHold
131 )))|(% colspan="1" %)(% colspan="1" %)
132 (((
133 Boolean
134 )))|(% colspan="1" %)(% colspan="1" %)
135 (((
136 Specifies if the current call segment is on hold or not.
137 )))
138 |(% colspan="1" %)(% colspan="1" %)
139 (((
140 recording
141 )))|(% colspan="1" %)(% colspan="1" %)
142 (((
143 Boolean
144 )))|(% colspan="1" %)(% colspan="1" %)
145 (((
146 Specifies if the call segment is currently being recorded or not.
147 )))
148 |(% colspan="1" %)(% colspan="1" %)
149 (((
150 incoming
151 )))|(% colspan="1" %)(% colspan="1" %)
152 (((
153 Boolean
154 )))|(% colspan="1" %)(% colspan="1" %)
155 (((
156 Species if the call segment is being dialed by another call segment (i.e. receiving a call)
157 )))
158
159 = Root Resource Paths =
160
161 Paths used to access sets of the resource, in relation to parent resources.
162
163 |=(% colspan="2" %)(% colspan="2" %)
164 (((
165 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments}}}
166 )))
167 |(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
168 (((
169 **Description**
170 )))|(((
171 Provides access to all call segments in a specified core server.
172
173 {{info}}
174 Excludes any call segments that are not related to an extension that is bound to a licensed/full user, or have not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
175 {{/info}}
176
177 **Parameters:**
178
179 * core_server_id: the id of the parent core server\\
180 * core_server_slug: the slug of the parent core server
181
182 **Errors:**
183
184 * 404 Not Found: Returned if no core server with the given id or slug exists
185 )))
186 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
187 (((
188 **GET**
189 )))|(% colspan="1" %)(% colspan="1" %)
190 (((
191 Gets all call segments in the specified core server.
192 )))
193 |(% colspan="1" %)(% colspan="1" %)
194 (((
195
196 )))|(% colspan="1" %)(% colspan="1" %)
197 (((
198
199 )))
200 |=(% colspan="2" %)(% colspan="2" %)
201 (((
202 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/[{extensions_id} | getByName/{extension_number}]/callSegments}}}
203 )))
204 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
205 (((
206 **Description**
207 )))|(% colspan="1" %)(% colspan="1" %)
208 (((
209 Provides access to all call segments bound to a specified extension.
210
211 {{info}}
212 Excludes any call segments that are not related to an extension that is bound to a licensed/full user, or have not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
213 {{/info}}
214
215 **Parameters:**
216
217 * core_server_id: the id of the parent core server\\
218 * core_server_slug: the slug of the parent core server
219 * extension_id: the id of the parent extension
220 * (% style="font-family: monospace;" %)extension_number(%%): the extension number of the parent extension
221
222 **Errors:**
223
224 * 404 Not Found: Returned if no core server with the given id or slug exists
225 * 404 Not Found: Returned if no user with the given id or username exists
226 * 403 Forbidden: Returned if the extension is not bound to a licensed/full user
227 )))
228 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
229 (((
230 **GET**
231 )))|(% colspan="1" %)(% colspan="1" %)
232 (((
233 Gets all call segment bound to a specified extension.
234 )))
235 |(% colspan="2" %)(% colspan="2" %)
236 (((
237
238 )))
239 |=(% colspan="2" %)(% colspan="2" %)
240 (((
241 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments/{call_segment_id}/dialingToCallSegments}}}
242 )))
243 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
244 (((
245 **Description**
246 )))|(% colspan="1" %)(% colspan="1" %)
247 (((
248 Provides access to all call segments the specified call segment is dialing.
249
250 {{info}}
251 Excludes any call segments that are not related to an extension that is bound to a licensed/full user, or have not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
252 {{/info}}
253
254 **Parameters:**
255
256 * core_server_id: the id of the parent core server\\
257 * core_server_slug: the slug of the parent core server
258 * call_segment_id: the id of the parent call segment
259
260 **Errors:**
261
262 * 404 Not Found: Returned if no core server with the given id or slug exists
263 * 404 Not Found: Returned if no user with the given id or username exists
264 * 403 Forbidden(% style="line-height: 1.4285715;" %): Returned if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
265 )))
266 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
267 (((
268 **GET**
269 )))|(% colspan="1" %)(% colspan="1" %)
270 (((
271 Gets all call segments the specified call segment is dialing.
272 )))
273
274 = Instance Resource Paths =
275
276 Paths used to access a specific instance of the resource.
277
278 |=(% colspan="2" %)(% colspan="2" %)
279 (((
280 {{{{root_resource_path}/{call_segment_id}}}}
281 )))
282 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
283 (((
284 **Description**
285 )))|(% colspan="1" %)(% colspan="1" %)
286 (((
287 Provides access to a specified call segment, by call segment id.
288
289 {{info}}
290 This resource will not be available if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
291 {{/info}}
292
293 **Parameters:**
294
295 * root_resource_path: One of the root resource paths for this resource. See Root Resource Paths above
296 * call_segment_id: the id of the call segment to access
297
298 **Errors:**
299
300 * 404 Not Found: Returned if any of the ancestors in the root resource path could not be found
301 * 404 Not Found: Returned if no call segment with the specified call segment id could be found
302 * 403 Forbidden: Returned if any of the parents specified in the root resource path are restricted
303 * 403 Forbidden: Returned if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
304 )))
305 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
306 (((
307 **GET**
308 )))|(% colspan="1" %)(% colspan="1" %)
309 (((
310 Gets the specified call segment.
311 )))
312 |(% colspan="2" %)(% colspan="2" %)
313 (((
314
315 )))
316 |=(% colspan="2" %)(% colspan="2" %)
317 (((
318 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments/{call_segment_id}/dialingFromCallSegment}}}
319 )))
320 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
321 (((
322 **Description**
323 )))|(% colspan="1" %)(% colspan="1" %)
324 (((
325 Provides access to the call segment that is dialing the specified call segment.
326
327 {{info}}
328 This resource will not be available if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
329 {{/info}}
330
331 **Parameters:**
332
333 * root_resource_path: One of the root resource paths for this resource. See Root Resource Paths above
334 * call_segment_id: the id of the parent call segment
335
336 **Errors:**
337
338 * 404 Not Found: Returned if any of the ancestors in the root resource path could not be found
339 * 404 Not Found: Returned if no call segment with the specified call segment id could be found
340 * 404 Not Found: Returned if the specified call segment is not being dialed by another call segment
341 * 403 Forbidden: Returned if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
342 )))
343 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
344 (((
345 **GET**
346 )))|(% colspan="1" %)(% colspan="1" %)
347 (((
348 Gets the call segment that is dialing the specified call segment.
349 )))
350 |(% colspan="2" %)(% colspan="2" %)
351 (((
352
353 )))
354 |=(% colspan="2" %)(% colspan="2" %)
355 (((
356 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments/{call_segment_id}/linkedCallSegment}}}
357 )))
358 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
359 (((
360 **Description**
361 )))|(% colspan="1" %)(% colspan="1" %)
362 (((
363 Provides access to the call segment that the specified call segment is linked to.
364
365 {{info}}
366 This resource will not be available if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
367 {{/info}}
368
369 **Parameters:**
370
371 * root_resource_path: One of the root resource paths for this resource. See Root Resource Paths above
372 * call_segment_id: the id of the parent call segment
373
374 **Errors:**
375
376 * 404 Not Found: Returned if any of the ancestors in the root resource path could not be found
377 * 404 Not Found: Returned if no call segment with the specified call segment id could be found
378 * 404 Not Found: Returned if the specified call segment is not linked to another call segment
379 * 403 Forbidden: Returned if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
380 )))
381 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
382 (((
383 **GET**
384 )))|(% colspan="1" %)(% colspan="1" %)
385 (((
386 Gets the call segment that the specified call segment is linked to.
387 )))
388
389 = Action Paths =
390
391 Actions that can be performed on this resource.
392
393 |=(% colspan="2" %)(% colspan="2" %)
394 (((
395 {{{{instance_resource_path}/transfer}}}
396 )))
397 |=(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
398 (((
399 **Description**
400 )))|(((
401 Transfers the call segment, that is bound to the specified call segment.
402
403 {{info}}
404 This action will not be available if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
405 {{/info}}
406
407 {{note}}
408 The call segment that is specified in the path is not the call segment that will be transferred. The call segment that is bound to the specified call segment (e.g. linked call segment or dialing from call segment) will be transferred.
409
410 For example:
411
412 If extension 100 and 200 are on a linked call, and you wish to transfer the user behind extension 200 to another destination, you must execute the transfer action on extension 100's call segment.
413 {{/note}}
414
415 (% style="line-height: 1.4285715;" %)**Parameters:**
416
417 * instance_resource_path: One of the instance resource paths for this resource. See Instance Resource Paths above
418
419 **Errors:**
420
421 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found
422 * 403 Forbidden(% style="line-height: 1.4285715;" %): Returned if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
423 * 422 Unprocessable Entity: Returned if no destination number value was provided(% style="line-height: 1.4285715;" %)
424
425 * 422 Unprocessable Entity: Returned if no attended value was provided
426 * 422 Unprocessable Entity: Returned if the attended value provided is not a boolean value
427 )))
428 |=(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
429 (((
430 **JSON**
431 )))|(% colspan="1" %)(% colspan="1" %)
432 (((
433 {{code}}
434 {
435 "destinationNumber": "18005555555",
436 "attended" : false
437 }
438 {{/code}}
439
440 **Properties:**
441
442 |=(((
443 Property
444 )))|=(((
445 Type
446 )))|=(((
447 Description
448 )))
449 |(% colspan="1" %)(% colspan="1" %)
450 (((
451 {{{destinationNumber}}}
452 )))|(% colspan="1" %)(% colspan="1" %)
453 (((
454 String
455 )))|(% colspan="1" %)(% colspan="1" %)
456 (((
457 The number to transfer to.
458 )))
459 |(% colspan="1" %)(% colspan="1" %)
460 (((
461 attended
462 )))|(% colspan="1" %)(% colspan="1" %)
463 (((
464 Boolean
465 )))|(% colspan="1" %)(% colspan="1" %)
466 (((
467 Specifies if the transfer should be attended or not.
468
469 {{info}}
470 Attended transfers should no be performed, if the call source is not an extension.
471 {{/info}}
472 )))
473
474 **
475 **
476 )))
477 |=(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
478 (((
479 **POST
480 **
481 )))|(% colspan="1" %)(% colspan="1" %)
482 (((
483 Transfers the call segment, that is bound to the specified call segment.
484 )))
485 |=(% colspan="2" %)(% colspan="2" %)
486 (((
487 {{{{instance_resource_path}/kick}}}
488 )))
489 |=(% colspan="1" %)(% colspan="1" %)
490 (((
491 **Description**
492 )))|(% colspan="1" %)(% colspan="1" %)
493 (((
494 Kicks the call segment from it's current conference room.
495
496 {{info}}
497 * This action is only available in **iSymphony 3.3+**.
498 * This action is only available on servers that have conference rooms enabled.
499 {{/info}}
500
501 {{note}}
502 This action can only be performed on call segments that are in conference rooms.
503 {{/note}}
504
505 (% style="line-height: 1.42857;" %)**Parameters:**
506
507 * instance_resource_path: One of the instance resource paths for this resource. See Instance Resource Paths above
508
509 (% style="line-height: 1.42857;" %)**Errors:**
510
511 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found
512 * 500 Internal Server Error: Returned if the specified call segment is not on a server with conference rooms enabled
513 )))
514 |=(% colspan="2" %)(% colspan="2" %)
515 (((
516 {{{{instance_resource_path}/mute}}}
517 )))
518 |=(% colspan="1" %)(% colspan="1" %)
519 (((
520 **Description**
521 )))|(% colspan="1" %)(% colspan="1" %)
522 (((
523 Mutes the call segment in a conference room.
524
525 {{info}}
526 * This action is only available in **iSymphony 3.3+**.\\
527 * This action is only available on servers that have conference rooms enabled.
528 {{/info}}
529
530 {{note}}
531 This action can only be performed on call segments that are in conference rooms.
532 {{/note}}
533
534 **Parameters:**
535
536 * instance_resource_path: One of the instance resource paths for this resource. See Instance Resource Paths above
537
538 **Errors:**
539
540 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found
541 * 500 Internal Server Error: Returned if the specified call segment is not on a server with conference rooms enabled
542
543
544 )))
545 |=(% colspan="2" %)(% colspan="2" %)
546 (((
547 {{{{instance_resource_path}/unmute}}}
548 )))
549 |=(% colspan="1" %)(% colspan="1" %)
550 (((
551
552 )))|(% colspan="1" %)(% colspan="1" %)
553 (((
554 Unmutes the call segment in the conference room.
555
556 {{info}}
557 * This action is only available in **iSymphony 3.3+**.\\
558 * This action is only available on servers that have conference rooms enabled.
559 {{/info}}
560
561 {{note}}
562 This action can only be performed on call segments that are in conference rooms.
563 {{/note}}
564
565 (% style="line-height: 1.42857;" %)**Parameters:**
566
567 * instance_resource_path: One of the instance resource paths for this resource. See Instance Resource Paths above
568
569 (% style="line-height: 1.42857;" %)**Errors:**
570
571 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found
572 * 500 Internal Server Error(% style="line-height: 1.42857;" %): Returned if the specified call segment is not on a server with conference rooms enabled
573 )))
574
575
576
577 = Curl Examples =
578
579 === Get all call segments in a core server ===
580
581 {{code language="bash"}}
582 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments
583 {{/code}}
584
585 === (% style="color: rgb(0,0,0);" %)Get a specific call segment in a core server(%%) ===
586
587 {{code language="bash"}}
588 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c
589 {{/code}}
590
591 === (% style="color: rgb(0,0,0);" %)Get all call segments owned by an extension(%%) ===
592
593 {{code language="bash"}}
594 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/extensions/ef2faba9-8557-49c1-9ffc-5a71f41c7a23/callSegments
595 {{/code}}
596
597 === (% style="color: rgb(0,0,0);" %)Get a specific call segment owned by an extension(%%) ===
598
599 {{code language="bash"}}
600 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/extensions/ef2faba9-8557-49c1-9ffc-5a71f41c7a23/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c
601 {{/code}}
602
603 === (% style="color: rgb(0,0,0);" %)Get all call segments a specified call segment is dialing(%%) ===
604
605 {{code language="bash"}}
606 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c/dialingToCallSegments
607 {{/code}}
608
609 === Get a specific call segment a specified call segment is dialing ===
610
611 {{code language="bash"}}
612 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c/dialingToCallSegments/63844df4-c8f5-4917-9948-30f6251fc763
613 {{/code}}
614
615 === Get the call segment that is dialing a specified call segment ===
616
617 {{code language="bash"}}
618 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c/dialingFromCallSegment
619 {{/code}}
620
621 === Get the call segment linked to a specified call segment ===
622
623 {{code language="bash"}}
624 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c/linkedCallSegment
625 {{/code}}
626
627 === Transfer the call segment the specified call segment is bound to ===
628
629 {{note}}
630 See notes in the transfer action path above, concerning which call segment to specify when performing a transfer action.
631 {{/note}}
632
633 {{code language="bash"}}
634 curl --user manager:manag3rpa55word -i -H "Content-Type: application/json" -X POST -d '{"destinationNumber": "18005555555", "attended" : false}' http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c/transfer
635 {{/code}}
636 {{/layout-cell}}
637 {{/layout-section}}
638 {{/layout}}
639
640 {{layout}}
641 {{layout-section ac:type="two_right_sidebar"}}
642 {{layout-cell}}
643 {{warning}}
644 This page is currently being written. Although the information below is probably accurate, it may not be complete or may have errors.
645 {{/warning}}
646
647 {{info}}
648 The information on this page applies to **iSymphony 3.2+**.
649 {{/info}}
650
651 {{note}}
652 This resource is restricted by licensing. See the resource and action path information below for more details.
653 {{/note}}
654
655 = (% style="color: rgb(0,0,0);" %)Description(%%) =
656
657 The live call segment REST resource provides access to information about call segments in the system, including call segments bound to an extension, waiting in a queue, or related to other call segments. This resource provides actions to transfer call segments to other destinations.
658
659 {{info}}
660 This resource does not provide any sub resources, but does provide references to other call segments, as the relationships between call segments represent call state between two endpoints.
661 {{/info}}
662 {{/layout-cell}}
663
664 {{layout-cell}}
665 {{panel title="On this page:"}}
666
667
668 {{toc maxLevel="2" indent="1"/}}
669 {{/panel}}
670 {{/layout-cell}}
671 {{/layout-section}}
672
673 {{layout-section ac:type="single"}}
674 {{layout-cell}}
675 (% style="color: rgb(0,0,0);" %)
676
677
678 = (% style="color: rgb(0,0,0);" %)JSON Representation(%%) =
679
680 {{code}}
681 {
682 "id": "804dbbc2-c4e3-47f2-96b9-b8262d542e7c",
683 "type": "INTERNAL",
684 "callerId": {
685 "id": "c9450235-0f6d-4e0f-bb3b-3fef010d8617",
686 "name": "Michael Y",
687 "number": "4224"
688 },
689 "did": "s",
690 "onHold": false,
691 "recording": false,
692 "incoming": true,
693 }
694 {{/code}}
695
696 (% style="line-height: 1.4285715;" %)
697 |=(((
698 Property
699 )))|=(((
700 Type
701 )))|=(((
702 Description
703 )))
704 |(((
705 {{{id}}}
706 )))|(((
707 String
708 )))|(((
709 The id of the call segment.
710 )))
711 |(% colspan="1" %)(% colspan="1" %)
712 (((
713 type
714 )))|(% colspan="1" %)(% colspan="1" %)
715 (((
716 String
717 )))|(% colspan="1" %)(% colspan="1" %)
718 (((
719 The Type of the call segment. Values are (% style="font-family: monospace;" %)Internal(%%) (Call Segment is bound to an internal extension), and External (Call Segment is bound to an external source).
720
721 {{info}}
722 If the system cannot determine the extension a call segment is bound to (i.e. the extension is not configured in iSymphony), the type will be set to External.
723 {{/info}}
724 )))
725 |(% colspan="1" %)(% colspan="1" %)
726 (((
727 callerId:id
728 )))|(% colspan="1" %)(% colspan="1" %)
729 (((
730 String
731 )))|(% colspan="1" %)(% colspan="1" %)
732 (((
733 The id of the call segment's caller id object.
734 )))
735 |(% colspan="1" %)(% colspan="1" %)
736 (((
737 callerId:name
738
739 {{{}}}
740 )))|(% colspan="1" %)(% colspan="1" %)
741 (((
742 String
743 )))|(% colspan="1" %)(% colspan="1" %)
744 (((
745 The caller id name of the call segment.
746 )))
747 |(% colspan="1" %)(% colspan="1" %)
748 (((
749 {{{callerId:number}}}
750 )))|(% colspan="1" %)(% colspan="1" %)
751 (((
752 String
753 )))|(% colspan="1" %)(% colspan="1" %)
754 (((
755 The caller id number of the call segment.
756 )))
757 |(% colspan="1" %)(% colspan="1" %)
758 (((
759 did
760 )))|(% colspan="1" %)(% colspan="1" %)
761 (((
762 String
763 )))|(% colspan="1" %)(% colspan="1" %)
764 (((
765 The number the caller used to enter the phone system, or null if the call segment was created in response to a dial, or no DID could be determined for the call.
766 )))
767 |(% colspan="1" %)(% colspan="1" %)
768 (((
769 onHold
770 )))|(% colspan="1" %)(% colspan="1" %)
771 (((
772 Boolean
773 )))|(% colspan="1" %)(% colspan="1" %)
774 (((
775 Specifies if the current call segment is on hold or not.
776 )))
777 |(% colspan="1" %)(% colspan="1" %)
778 (((
779 recording
780 )))|(% colspan="1" %)(% colspan="1" %)
781 (((
782 Boolean
783 )))|(% colspan="1" %)(% colspan="1" %)
784 (((
785 Specifies if the call segment is currently being recorded or not.
786 )))
787 |(% colspan="1" %)(% colspan="1" %)
788 (((
789 incoming
790 )))|(% colspan="1" %)(% colspan="1" %)
791 (((
792 Boolean
793 )))|(% colspan="1" %)(% colspan="1" %)
794 (((
795 Species if the call segment is being dialed by another call segment (i.e. receiving a call)
796 )))
797
798 = Root Resource Paths =
799
800 Paths used to access sets of the resource, in relation to parent resources.
801
802 |=(% colspan="2" %)(% colspan="2" %)
803 (((
804 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments}}}
805 )))
806 |(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
807 (((
808 **Description**
809 )))|(((
810 Provides access to all call segments in a specified core server.
811
812 {{info}}
813 Excludes any call segments that are not related to an extension that is bound to a licensed/full user, or have not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
814 {{/info}}
815
816 **Parameters:**
817
818 * core_server_id: the id of the parent core server\\
819 * core_server_slug: the slug of the parent core server
820
821 **Errors:**
822
823 * 404 Not Found: Returned if no core server with the given id or slug exists
824 )))
825 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
826 (((
827 **GET**
828 )))|(% colspan="1" %)(% colspan="1" %)
829 (((
830 Gets all call segments in the specified core server.
831 )))
832 |(% colspan="1" %)(% colspan="1" %)
833 (((
834
835 )))|(% colspan="1" %)(% colspan="1" %)
836 (((
837
838 )))
839 |=(% colspan="2" %)(% colspan="2" %)
840 (((
841 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/[{extensions_id} | getByName/{extension_number}]/callSegments}}}
842 )))
843 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
844 (((
845 **Description**
846 )))|(% colspan="1" %)(% colspan="1" %)
847 (((
848 Provides access to all call segments bound to a specified extension.
849
850 {{info}}
851 Excludes any call segments that are not related to an extension that is bound to a licensed/full user, or have not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
852 {{/info}}
853
854 **Parameters:**
855
856 * core_server_id: the id of the parent core server\\
857 * core_server_slug: the slug of the parent core server
858 * extension_id: the id of the parent extension
859 * (% style="font-family: monospace;" %)extension_number(%%): the extension number of the parent extension
860
861 **Errors:**
862
863 * 404 Not Found: Returned if no core server with the given id or slug exists
864 * 404 Not Found: Returned if no user with the given id or username exists
865 * 403 Forbidden: Returned if the extension is not bound to a licensed/full user
866 )))
867 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
868 (((
869 **GET**
870 )))|(% colspan="1" %)(% colspan="1" %)
871 (((
872 Gets all call segment bound to a specified extension.
873 )))
874 |(% colspan="2" %)(% colspan="2" %)
875 (((
876
877 )))
878 |=(% colspan="2" %)(% colspan="2" %)
879 (((
880 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments/{call_segment_id}/dialingToCallSegments}}}
881 )))
882 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
883 (((
884 **Description**
885 )))|(% colspan="1" %)(% colspan="1" %)
886 (((
887 Provides access to all call segments the specified call segment is dialing.
888
889 {{info}}
890 Excludes any call segments that are not related to an extension that is bound to a licensed/full user, or have not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
891 {{/info}}
892
893 **Parameters:**
894
895 * core_server_id: the id of the parent core server\\
896 * core_server_slug: the slug of the parent core server
897 * call_segment_id: the id of the parent call segment
898
899 **Errors:**
900
901 * 404 Not Found: Returned if no core server with the given id or slug exists
902 * 404 Not Found: Returned if no user with the given id or username exists
903 * 403 Forbidden(% style="line-height: 1.4285715;" %): Returned if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
904 )))
905 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
906 (((
907 **GET**
908 )))|(% colspan="1" %)(% colspan="1" %)
909 (((
910 Gets all call segments the specified call segment is dialing.
911 )))
912
913 = Instance Resource Paths =
914
915 Paths used to access a specific instance of the resource.
916
917 |=(% colspan="2" %)(% colspan="2" %)
918 (((
919 {{{{root_resource_path}/{call_segment_id}}}}
920 )))
921 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
922 (((
923 **Description**
924 )))|(% colspan="1" %)(% colspan="1" %)
925 (((
926 Provides access to a specified call segment, by call segment id.
927
928 {{info}}
929 This resource will not be available if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
930 {{/info}}
931
932 **Parameters:**
933
934 * root_resource_path: One of the root resource paths for this resource. See Root Resource Paths above
935 * call_segment_id: the id of the call segment to access
936
937 **Errors:**
938
939 * 404 Not Found: Returned if any of the ancestors in the root resource path could not be found
940 * 404 Not Found: Returned if no call segment with the specified call segment id could be found
941 * 403 Forbidden: Returned if any of the parents specified in the root resource path are restricted
942 * 403 Forbidden: Returned if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
943 )))
944 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
945 (((
946 **GET**
947 )))|(% colspan="1" %)(% colspan="1" %)
948 (((
949 Gets the specified call segment.
950 )))
951 |(% colspan="2" %)(% colspan="2" %)
952 (((
953
954 )))
955 |=(% colspan="2" %)(% colspan="2" %)
956 (((
957 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments/{call_segment_id}/dialingFromCallSegment}}}
958 )))
959 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
960 (((
961 **Description**
962 )))|(% colspan="1" %)(% colspan="1" %)
963 (((
964 Provides access to the call segment that is dialing the specified call segment.
965
966 {{info}}
967 This resource will not be available if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
968 {{/info}}
969
970 **Parameters:**
971
972 * root_resource_path: One of the root resource paths for this resource. See Root Resource Paths above
973 * call_segment_id: the id of the parent call segment
974
975 **Errors:**
976
977 * 404 Not Found: Returned if any of the ancestors in the root resource path could not be found
978 * 404 Not Found: Returned if no call segment with the specified call segment id could be found
979 * 404 Not Found: Returned if the specified call segment is not being dialed by another call segment
980 * 403 Forbidden: Returned if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
981 )))
982 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
983 (((
984 **GET**
985 )))|(% colspan="1" %)(% colspan="1" %)
986 (((
987 Gets the call segment that is dialing the specified call segment.
988 )))
989 |(% colspan="2" %)(% colspan="2" %)
990 (((
991
992 )))
993 |=(% colspan="2" %)(% colspan="2" %)
994 (((
995 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments/{call_segment_id}/linkedCallSegment}}}
996 )))
997 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
998 (((
999 **Description**
1000 )))|(% colspan="1" %)(% colspan="1" %)
1001 (((
1002 Provides access to the call segment that the specified call segment is linked to.
1003
1004 {{info}}
1005 This resource will not be available if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
1006 {{/info}}
1007
1008 **Parameters:**
1009
1010 * root_resource_path: One of the root resource paths for this resource. See Root Resource Paths above
1011 * call_segment_id: the id of the parent call segment
1012
1013 **Errors:**
1014
1015 * 404 Not Found: Returned if any of the ancestors in the root resource path could not be found
1016 * 404 Not Found: Returned if no call segment with the specified call segment id could be found
1017 * 404 Not Found: Returned if the specified call segment is not linked to another call segment
1018 * 403 Forbidden: Returned if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
1019 )))
1020 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
1021 (((
1022 **GET**
1023 )))|(% colspan="1" %)(% colspan="1" %)
1024 (((
1025 Gets the call segment that the specified call segment is linked to.
1026 )))
1027
1028 = Action Paths =
1029
1030 Actions that can be performed on this resource.
1031
1032 |=(% colspan="2" %)(% colspan="2" %)
1033 (((
1034 {{{{instance_resource_path}/transfer}}}
1035 )))
1036 |=(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
1037 (((
1038 **Description**
1039 )))|(((
1040 Transfers the call segment, that is bound to the specified call segment.
1041
1042 {{info}}
1043 This action will not be available if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
1044 {{/info}}
1045
1046 {{note}}
1047 The call segment that is specified in the path is not the call segment that will be transferred. The call segment that is bound to the specified call segment (e.g. linked call segment or dialing from call segment) will be transferred.
1048
1049 For example:
1050
1051 If extension 100 and 200 are on a linked call, and you wish to transfer the user behind extension 200 to another destination, you must execute the transfer action on extension 100's call segment.
1052 {{/note}}
1053
1054 (% style="line-height: 1.4285715;" %)**Parameters:**
1055
1056 * instance_resource_path: One of the instance resource paths for this resource. See Instance Resource Paths above
1057
1058 **Errors:**
1059
1060 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found
1061 * 403 Forbidden(% style="line-height: 1.4285715;" %): Returned if the specified call segment is not related to an extension that is bound to a licensed/full user, or has not been bound to another call segment that is related to an extension that is bound to a licensed/full user.
1062 * 422 Unprocessable Entity: Returned if no destination number value was provided(% style="line-height: 1.4285715;" %)
1063
1064 * 422 Unprocessable Entity: Returned if no attended value was provided
1065 * 422 Unprocessable Entity: Returned if the attended value provided is not a boolean value
1066 )))
1067 |=(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
1068 (((
1069 **JSON**
1070 )))|(% colspan="1" %)(% colspan="1" %)
1071 (((
1072 {{code}}
1073 {
1074 "destinationNumber": "18005555555",
1075 "attended" : false
1076 }
1077 {{/code}}
1078
1079 **Properties:**
1080
1081 |=(((
1082 Property
1083 )))|=(((
1084 Type
1085 )))|=(((
1086 Description
1087 )))
1088 |(% colspan="1" %)(% colspan="1" %)
1089 (((
1090 {{{destinationNumber}}}
1091 )))|(% colspan="1" %)(% colspan="1" %)
1092 (((
1093 String
1094 )))|(% colspan="1" %)(% colspan="1" %)
1095 (((
1096 The number to transfer to.
1097 )))
1098 |(% colspan="1" %)(% colspan="1" %)
1099 (((
1100 attended
1101 )))|(% colspan="1" %)(% colspan="1" %)
1102 (((
1103 Boolean
1104 )))|(% colspan="1" %)(% colspan="1" %)
1105 (((
1106 Specifies if the transfer should be attended or not.
1107
1108 {{info}}
1109 Attended transfers should no be performed, if the call source is not an extension.
1110 {{/info}}
1111 )))
1112
1113 **
1114 **
1115 )))
1116 |=(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
1117 (((
1118 **POST
1119 **
1120 )))|(% colspan="1" %)(% colspan="1" %)
1121 (((
1122 Transfers the call segment, that is bound to the specified call segment.
1123 )))
1124 |=(% colspan="2" %)(% colspan="2" %)
1125 (((
1126 {{{{instance_resource_path}/kick}}}
1127 )))
1128 |=(% colspan="1" %)(% colspan="1" %)
1129 (((
1130 **Description**
1131 )))|(% colspan="1" %)(% colspan="1" %)
1132 (((
1133 Kicks the call segment from it's conference room.
1134
1135 {{info}}
1136 (% style="list-style-type: square;" %)
1137 * This action is only available for call segments that are in conference rooms.
1138 * This action is only available on servers that have conference rooms enabled.
1139 {{/info}}
1140
1141 **Errors:**
1142
1143 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found.
1144 * 500 Internal Server Error: Returned if the core server does not have conference rooms enabled.
1145 )))
1146 |=(% colspan="2" %)(% colspan="2" %)
1147 (((
1148 {{{{instance_resource_path}/mute}}}
1149 )))
1150 |=(% colspan="1" %)(% colspan="1" %)
1151 (((
1152 **Description**
1153 )))|(% colspan="1" %)(% colspan="1" %)
1154 (((
1155 Mutes the call segment in it's conference room.
1156
1157 {{info}}
1158 * This action is only available for call segments that are in conference rooms.
1159 * This action is only available on servers that have conference rooms enabled.
1160 {{/info}}
1161
1162 **Errors:**
1163
1164 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found.
1165
1166 * 500 Internal Server Error: Returned if the core server does not have conference rooms enabled.
1167 )))
1168 |=(% colspan="2" %)(% colspan="2" %)
1169 (((
1170 {{{{instance_resource_path}/unmute}}}
1171 )))
1172 |=(% colspan="1" %)(% colspan="1" %)
1173 (((
1174 **Description**
1175 )))|(% colspan="1" %)(% colspan="1" %)
1176 (((
1177 Unmutes the call segment in it's conference room.
1178
1179 {{info}}
1180 * This action is only available for call segments that are in conference rooms.
1181 * This action is only available on servers that have conference rooms enabled.
1182 {{/info}}
1183
1184 **Errors:**
1185
1186 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found.
1187
1188 * 500 Internal Server Error: Returned if the core server does not have conference rooms enabled.
1189 )))
1190
1191
1192
1193 = Curl Examples =
1194
1195 === Get all call segments in a core server ===
1196
1197 {{code language="bash"}}
1198 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments
1199 {{/code}}
1200
1201 === (% style="color: rgb(0,0,0);" %)Get a specific call segment in a core server(%%) ===
1202
1203 {{code language="bash"}}
1204 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c
1205 {{/code}}
1206
1207 === (% style="color: rgb(0,0,0);" %)Get all call segments owned by an extension(%%) ===
1208
1209 {{code language="bash"}}
1210 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/extensions/ef2faba9-8557-49c1-9ffc-5a71f41c7a23/callSegments
1211 {{/code}}
1212
1213 === (% style="color: rgb(0,0,0);" %)Get a specific call segment owned by an extension(%%) ===
1214
1215 {{code language="bash"}}
1216 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/extensions/ef2faba9-8557-49c1-9ffc-5a71f41c7a23/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c
1217 {{/code}}
1218
1219 === (% style="color: rgb(0,0,0);" %)Get all call segments a specified call segment is dialing(%%) ===
1220
1221 {{code language="bash"}}
1222 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c/dialingToCallSegments
1223 {{/code}}
1224
1225 === Get a specific call segment a specified call segment is dialing ===
1226
1227 {{code language="bash"}}
1228 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c/dialingToCallSegments/63844df4-c8f5-4917-9948-30f6251fc763
1229 {{/code}}
1230
1231 === Get the call segment that is dialing a specified call segment ===
1232
1233 {{code language="bash"}}
1234 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c/dialingFromCallSegment
1235 {{/code}}
1236
1237 === Get the call segment linked to a specified call segment ===
1238
1239 {{code language="bash"}}
1240 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c/linkedCallSegment
1241 {{/code}}
1242
1243 === Transfer the call segment the specified call segment is bound to ===
1244
1245 {{note}}
1246 See notes in the transfer action path above, concerning which call segment to specify when performing a transfer action.
1247 {{/note}}
1248
1249 {{code language="bash"}}
1250 curl --user manager:manag3rpa55word -i -H "Content-Type: application/json" -X POST -d '{"destinationNumber": "18005555555", "attended" : false}' http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments/804dbbc2-c4e3-47f2-96b9-b8262d542e7c/transfer
1251 {{/code}}
1252
1253 === Kicks the specified call segment from it's conference room ===
1254
1255 {{code language="bash"}}
1256 curl --user manager:manag3rpa55word -i -H "Content-Type: application/json" -X POST -d '{}' http://localhost:58080/communication_manager/rest/live/coreServers/getByName/default/conferences/8f907b96-77aa-49ed-b5de-990ce5c8e7e7/callSegments/ac3a4f88-b853-4998-a375-6fef458f7769/kick
1257 {{/code}}
1258
1259 === (% style="color: rgb(0,0,0);" %)Mute the specified call segment in it's conference room(%%) ===
1260
1261 {{code language="bash"}}
1262 curl --user manager:manag3rpa55word -i -H "Content-Type: application/json" -X POST -d '{}' http://localhost:58080/communication_manager/rest/live/coreServers/getByName/default/conferences/8f907b96-77aa-49ed-b5de-990ce5c8e7e7/callSegments/ac3a4f88-b853-4998-a375-6fef458f7769/mute
1263 {{/code}}
1264
1265 === Unmutes the specified call segment in it's conference room ===
1266
1267 {{code language="bash"}}
1268 curl --user manager:manag3rpa55word -i -H "Content-Type: application/json" -X POST -d '{}' http://localhost:58080/communication_manager/rest/live/coreServers/getByName/default/conferences/8f907b96-77aa-49ed-b5de-990ce5c8e7e7/callSegments/ac3a4f88-b853-4998-a375-6fef458f7769/unmute
1269 {{/code}}
1270
1271
1272
1273
1274 {{/layout-cell}}
1275 {{/layout-section}}
1276 {{/layout}}