Wiki source code of Call Segments

Version 23.1 by hanlys on 2016/01/06 16:00

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 (% style="line-height: 1.42857;" %)This action is only available on servers that have conference rooms enabled.
498 {{/info}}
499
500 {{note}}
501 This action can only be performed on call segments that are in conference rooms.
502 {{/note}}
503
504
505
506 **Parameters:**
507
508
509
510 * instance_resource_path: One of the instance resource paths for this resource. See Instance Resource Paths above
511
512 (% style="line-height: 1.42857;" %)**Errors:**
513
514 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found.
515 * 500 Internal Server Error: Returned if the specified call segment is not on a server with conference rooms enabled.
516 )))
517 |=(% colspan="2" %)(% colspan="2" %)
518 (((
519 {{{{instance_resource_path}/mute}}}
520 )))
521 |=(% colspan="1" %)(% colspan="1" %)
522 (((
523 **Description**
524 )))|(% colspan="1" %)(% colspan="1" %)
525 (((
526 Mutes the call segment in a conference room.
527
528 {{info}}
529 This action is only available on servers that have conference rooms enabled.
530 {{/info}}
531
532 {{note}}
533 This action can only be performed on call segments that are in conference rooms.
534 {{/note}}
535
536 **Parameters:**
537
538 * instance_resource_path: One of the instance resource paths for this resource. See Instance Resource Paths above
539
540 **Errors:**
541
542 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found.
543 * 500 Internal Server Error: Returned if the specified call segment is not on a server with conference rooms enabled.
544
545
546 )))
547 |=(% colspan="2" %)(% colspan="2" %)
548 (((
549 {{{{instance_resource_path}/unmute}}}
550 )))
551 |=(% colspan="1" %)(% colspan="1" %)
552 (((
553
554 )))|(% colspan="1" %)(% colspan="1" %)
555 (((
556 Unmutes the call segment in the conference room.
557
558 {{info}}
559 This action is only available on servers that have conference rooms enabled.
560 {{/info}}
561
562 {{note}}
563 This action can only be performed on call segments that are in conference rooms.
564 {{/note}}
565
566
567
568 **Parameters:**
569
570
571
572 * instance_resource_path: One of the instance resource paths for this resource. See Instance Resource Paths above
573
574 (% style="line-height: 1.42857;" %)**Errors:**
575
576 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found.
577 * 500 Internal Server Error(% style="line-height: 1.42857;" %): Returned if the specified call segment is not on a server with conference rooms enabled.
578 )))
579
580
581
582 = Curl Examples =
583
584 === Get all call segments in a core server ===
585
586 {{code language="bash"}}
587 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments
588 {{/code}}
589
590 === (% style="color: rgb(0,0,0);" %)Get a specific call segment in a core server(%%) ===
591
592 {{code language="bash"}}
593 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
594 {{/code}}
595
596 === (% style="color: rgb(0,0,0);" %)Get all call segments owned by an extension(%%) ===
597
598 {{code language="bash"}}
599 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
600 {{/code}}
601
602 === (% style="color: rgb(0,0,0);" %)Get a specific call segment owned by an extension(%%) ===
603
604 {{code language="bash"}}
605 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
606 {{/code}}
607
608 === (% style="color: rgb(0,0,0);" %)Get all call segments a specified call segment is dialing(%%) ===
609
610 {{code language="bash"}}
611 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
612 {{/code}}
613
614 === Get a specific call segment a specified call segment is dialing ===
615
616 {{code language="bash"}}
617 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
618 {{/code}}
619
620 === Get the call segment that is dialing a specified call segment ===
621
622 {{code language="bash"}}
623 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
624 {{/code}}
625
626 === Get the call segment linked to a specified call segment ===
627
628 {{code language="bash"}}
629 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
630 {{/code}}
631
632 === Transfer the call segment the specified call segment is bound to ===
633
634 {{note}}
635 See notes in the transfer action path above, concerning which call segment to specify when performing a transfer action.
636 {{/note}}
637
638 {{code language="bash"}}
639 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
640 {{/code}}
641 {{/layout-cell}}
642 {{/layout-section}}
643 {{/layout}}
644
645 {{layout}}
646 {{layout-section ac:type="two_right_sidebar"}}
647 {{layout-cell}}
648 {{warning}}
649 This page is currently being written. Although the information below is probably accurate, it may not be complete or may have errors.
650 {{/warning}}
651
652 {{info}}
653 The information on this page applies to **iSymphony 3.2+**.
654 {{/info}}
655
656 {{note}}
657 This resource is restricted by licensing. See the resource and action path information below for more details.
658 {{/note}}
659
660 = (% style="color: rgb(0,0,0);" %)Description(%%) =
661
662 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.
663
664 {{info}}
665 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.
666 {{/info}}
667 {{/layout-cell}}
668
669 {{layout-cell}}
670 {{panel title="On this page:"}}
671
672
673 {{toc maxLevel="2" indent="1"/}}
674 {{/panel}}
675 {{/layout-cell}}
676 {{/layout-section}}
677
678 {{layout-section ac:type="single"}}
679 {{layout-cell}}
680 (% style="color: rgb(0,0,0);" %)
681
682
683 = (% style="color: rgb(0,0,0);" %)JSON Representation(%%) =
684
685 {{code}}
686 {
687 "id": "804dbbc2-c4e3-47f2-96b9-b8262d542e7c",
688 "type": "INTERNAL",
689 "callerId": {
690 "id": "c9450235-0f6d-4e0f-bb3b-3fef010d8617",
691 "name": "Michael Y",
692 "number": "4224"
693 },
694 "did": "s",
695 "onHold": false,
696 "recording": false,
697 "incoming": true,
698 }
699 {{/code}}
700
701 (% style="line-height: 1.4285715;" %)
702 |=(((
703 Property
704 )))|=(((
705 Type
706 )))|=(((
707 Description
708 )))
709 |(((
710 {{{id}}}
711 )))|(((
712 String
713 )))|(((
714 The id of the call segment.
715 )))
716 |(% colspan="1" %)(% colspan="1" %)
717 (((
718 type
719 )))|(% colspan="1" %)(% colspan="1" %)
720 (((
721 String
722 )))|(% colspan="1" %)(% colspan="1" %)
723 (((
724 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).
725
726 {{info}}
727 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.
728 {{/info}}
729 )))
730 |(% colspan="1" %)(% colspan="1" %)
731 (((
732 callerId:id
733 )))|(% colspan="1" %)(% colspan="1" %)
734 (((
735 String
736 )))|(% colspan="1" %)(% colspan="1" %)
737 (((
738 The id of the call segment's caller id object.
739 )))
740 |(% colspan="1" %)(% colspan="1" %)
741 (((
742 callerId:name
743
744 {{{}}}
745 )))|(% colspan="1" %)(% colspan="1" %)
746 (((
747 String
748 )))|(% colspan="1" %)(% colspan="1" %)
749 (((
750 The caller id name of the call segment.
751 )))
752 |(% colspan="1" %)(% colspan="1" %)
753 (((
754 {{{callerId:number}}}
755 )))|(% colspan="1" %)(% colspan="1" %)
756 (((
757 String
758 )))|(% colspan="1" %)(% colspan="1" %)
759 (((
760 The caller id number of the call segment.
761 )))
762 |(% colspan="1" %)(% colspan="1" %)
763 (((
764 did
765 )))|(% colspan="1" %)(% colspan="1" %)
766 (((
767 String
768 )))|(% colspan="1" %)(% colspan="1" %)
769 (((
770 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.
771 )))
772 |(% colspan="1" %)(% colspan="1" %)
773 (((
774 onHold
775 )))|(% colspan="1" %)(% colspan="1" %)
776 (((
777 Boolean
778 )))|(% colspan="1" %)(% colspan="1" %)
779 (((
780 Specifies if the current call segment is on hold or not.
781 )))
782 |(% colspan="1" %)(% colspan="1" %)
783 (((
784 recording
785 )))|(% colspan="1" %)(% colspan="1" %)
786 (((
787 Boolean
788 )))|(% colspan="1" %)(% colspan="1" %)
789 (((
790 Specifies if the call segment is currently being recorded or not.
791 )))
792 |(% colspan="1" %)(% colspan="1" %)
793 (((
794 incoming
795 )))|(% colspan="1" %)(% colspan="1" %)
796 (((
797 Boolean
798 )))|(% colspan="1" %)(% colspan="1" %)
799 (((
800 Species if the call segment is being dialed by another call segment (i.e. receiving a call)
801 )))
802
803 = Root Resource Paths =
804
805 Paths used to access sets of the resource, in relation to parent resources.
806
807 |=(% colspan="2" %)(% colspan="2" %)
808 (((
809 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments}}}
810 )))
811 |(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
812 (((
813 **Description**
814 )))|(((
815 Provides access to all call segments in a specified core server.
816
817 {{info}}
818 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.
819 {{/info}}
820
821 **Parameters:**
822
823 * core_server_id: the id of the parent core server\\
824 * core_server_slug: the slug of the parent core server
825
826 **Errors:**
827
828 * 404 Not Found: Returned if no core server with the given id or slug exists
829 )))
830 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
831 (((
832 **GET**
833 )))|(% colspan="1" %)(% colspan="1" %)
834 (((
835 Gets all call segments in the specified core server.
836 )))
837 |(% colspan="1" %)(% colspan="1" %)
838 (((
839
840 )))|(% colspan="1" %)(% colspan="1" %)
841 (((
842
843 )))
844 |=(% colspan="2" %)(% colspan="2" %)
845 (((
846 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/[{extensions_id} | getByName/{extension_number}]/callSegments}}}
847 )))
848 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
849 (((
850 **Description**
851 )))|(% colspan="1" %)(% colspan="1" %)
852 (((
853 Provides access to all call segments bound to a specified extension.
854
855 {{info}}
856 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.
857 {{/info}}
858
859 **Parameters:**
860
861 * core_server_id: the id of the parent core server\\
862 * core_server_slug: the slug of the parent core server
863 * extension_id: the id of the parent extension
864 * (% style="font-family: monospace;" %)extension_number(%%): the extension number of the parent extension
865
866 **Errors:**
867
868 * 404 Not Found: Returned if no core server with the given id or slug exists
869 * 404 Not Found: Returned if no user with the given id or username exists
870 * 403 Forbidden: Returned if the extension is not bound to a licensed/full user
871 )))
872 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
873 (((
874 **GET**
875 )))|(% colspan="1" %)(% colspan="1" %)
876 (((
877 Gets all call segment bound to a specified extension.
878 )))
879 |(% colspan="2" %)(% colspan="2" %)
880 (((
881
882 )))
883 |=(% colspan="2" %)(% colspan="2" %)
884 (((
885 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments/{call_segment_id}/dialingToCallSegments}}}
886 )))
887 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
888 (((
889 **Description**
890 )))|(% colspan="1" %)(% colspan="1" %)
891 (((
892 Provides access to all call segments the specified call segment is dialing.
893
894 {{info}}
895 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.
896 {{/info}}
897
898 **Parameters:**
899
900 * core_server_id: the id of the parent core server\\
901 * core_server_slug: the slug of the parent core server
902 * call_segment_id: the id of the parent call segment
903
904 **Errors:**
905
906 * 404 Not Found: Returned if no core server with the given id or slug exists
907 * 404 Not Found: Returned if no user with the given id or username exists
908 * 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.
909 )))
910 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
911 (((
912 **GET**
913 )))|(% colspan="1" %)(% colspan="1" %)
914 (((
915 Gets all call segments the specified call segment is dialing.
916 )))
917
918 = Instance Resource Paths =
919
920 Paths used to access a specific instance of the resource.
921
922 |=(% colspan="2" %)(% colspan="2" %)
923 (((
924 {{{{root_resource_path}/{call_segment_id}}}}
925 )))
926 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
927 (((
928 **Description**
929 )))|(% colspan="1" %)(% colspan="1" %)
930 (((
931 Provides access to a specified call segment, by call segment id.
932
933 {{info}}
934 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.
935 {{/info}}
936
937 **Parameters:**
938
939 * root_resource_path: One of the root resource paths for this resource. See Root Resource Paths above
940 * call_segment_id: the id of the call segment to access
941
942 **Errors:**
943
944 * 404 Not Found: Returned if any of the ancestors in the root resource path could not be found
945 * 404 Not Found: Returned if no call segment with the specified call segment id could be found
946 * 403 Forbidden: Returned if any of the parents specified in the root resource path are restricted
947 * 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.
948 )))
949 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
950 (((
951 **GET**
952 )))|(% colspan="1" %)(% colspan="1" %)
953 (((
954 Gets the specified call segment.
955 )))
956 |(% colspan="2" %)(% colspan="2" %)
957 (((
958
959 )))
960 |=(% colspan="2" %)(% colspan="2" %)
961 (((
962 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments/{call_segment_id}/dialingFromCallSegment}}}
963 )))
964 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
965 (((
966 **Description**
967 )))|(% colspan="1" %)(% colspan="1" %)
968 (((
969 Provides access to the call segment that is dialing the specified call segment.
970
971 {{info}}
972 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.
973 {{/info}}
974
975 **Parameters:**
976
977 * root_resource_path: One of the root resource paths for this resource. See Root Resource Paths above
978 * call_segment_id: the id of the parent call segment
979
980 **Errors:**
981
982 * 404 Not Found: Returned if any of the ancestors in the root resource path could not be found
983 * 404 Not Found: Returned if no call segment with the specified call segment id could be found
984 * 404 Not Found: Returned if the specified call segment is not being dialed by another call segment
985 * 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.
986 )))
987 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
988 (((
989 **GET**
990 )))|(% colspan="1" %)(% colspan="1" %)
991 (((
992 Gets the call segment that is dialing the specified call segment.
993 )))
994 |(% colspan="2" %)(% colspan="2" %)
995 (((
996
997 )))
998 |=(% colspan="2" %)(% colspan="2" %)
999 (((
1000 {{{communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments/{call_segment_id}/linkedCallSegment}}}
1001 )))
1002 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
1003 (((
1004 **Description**
1005 )))|(% colspan="1" %)(% colspan="1" %)
1006 (((
1007 Provides access to the call segment that the specified call segment is linked to.
1008
1009 {{info}}
1010 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.
1011 {{/info}}
1012
1013 **Parameters:**
1014
1015 * root_resource_path: One of the root resource paths for this resource. See Root Resource Paths above
1016 * call_segment_id: the id of the parent call segment
1017
1018 **Errors:**
1019
1020 * 404 Not Found: Returned if any of the ancestors in the root resource path could not be found
1021 * 404 Not Found: Returned if no call segment with the specified call segment id could be found
1022 * 404 Not Found: Returned if the specified call segment is not linked to another call segment
1023 * 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.
1024 )))
1025 |(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
1026 (((
1027 **GET**
1028 )))|(% colspan="1" %)(% colspan="1" %)
1029 (((
1030 Gets the call segment that the specified call segment is linked to.
1031 )))
1032
1033 = Action Paths =
1034
1035 Actions that can be performed on this resource.
1036
1037 |=(% colspan="2" %)(% colspan="2" %)
1038 (((
1039 {{{{instance_resource_path}/transfer}}}
1040 )))
1041 |=(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
1042 (((
1043 **Description**
1044 )))|(((
1045 Transfers the call segment, that is bound to the specified call segment.
1046
1047 {{info}}
1048 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.
1049 {{/info}}
1050
1051 {{note}}
1052 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.
1053
1054 For example:
1055
1056 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.
1057 {{/note}}
1058
1059 (% style="line-height: 1.4285715;" %)**Parameters:**
1060
1061 * instance_resource_path: One of the instance resource paths for this resource. See Instance Resource Paths above
1062
1063 **Errors:**
1064
1065 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found
1066 * 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.
1067 * 422 Unprocessable Entity: Returned if no destination number value was provided(% style="line-height: 1.4285715;" %)
1068
1069 * 422 Unprocessable Entity: Returned if no attended value was provided
1070 * 422 Unprocessable Entity: Returned if the attended value provided is not a boolean value
1071 )))
1072 |=(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
1073 (((
1074 **JSON**
1075 )))|(% colspan="1" %)(% colspan="1" %)
1076 (((
1077 {{code}}
1078 {
1079 "destinationNumber": "18005555555",
1080 "attended" : false
1081 }
1082 {{/code}}
1083
1084 **Properties:**
1085
1086 |=(((
1087 Property
1088 )))|=(((
1089 Type
1090 )))|=(((
1091 Description
1092 )))
1093 |(% colspan="1" %)(% colspan="1" %)
1094 (((
1095 {{{destinationNumber}}}
1096 )))|(% colspan="1" %)(% colspan="1" %)
1097 (((
1098 String
1099 )))|(% colspan="1" %)(% colspan="1" %)
1100 (((
1101 The number to transfer to.
1102 )))
1103 |(% colspan="1" %)(% colspan="1" %)
1104 (((
1105 attended
1106 )))|(% colspan="1" %)(% colspan="1" %)
1107 (((
1108 Boolean
1109 )))|(% colspan="1" %)(% colspan="1" %)
1110 (((
1111 Specifies if the transfer should be attended or not.
1112
1113 {{info}}
1114 Attended transfers should no be performed, if the call source is not an extension.
1115 {{/info}}
1116 )))
1117
1118 **
1119 **
1120 )))
1121 |=(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="1" data-highlight-colour="grey" %)
1122 (((
1123 **POST
1124 **
1125 )))|(% colspan="1" %)(% colspan="1" %)
1126 (((
1127 Transfers the call segment, that is bound to the specified call segment.
1128 )))
1129 |=(% colspan="2" %)(% colspan="2" %)
1130 (((
1131 {{{{instance_resource_path}/kick}}}
1132 )))
1133 |=(% colspan="1" %)(% colspan="1" %)
1134 (((
1135 **Description**
1136 )))|(% colspan="1" %)(% colspan="1" %)
1137 (((
1138 Kicks the call segment from it's conference room.
1139
1140 {{info}}
1141 (% style="list-style-type: square;" %)
1142 * This action is only available for call segments that are in conference rooms.
1143 * This action is only available on servers that have conference rooms enabled.
1144 {{/info}}
1145
1146 **Errors:**
1147
1148 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found.
1149 * 500 Internal Server Error: Returned if the core server does not have conference rooms enabled.
1150 )))
1151 |=(% colspan="2" %)(% colspan="2" %)
1152 (((
1153 {{{{instance_resource_path}/mute}}}
1154 )))
1155 |=(% colspan="1" %)(% colspan="1" %)
1156 (((
1157 **Description**
1158 )))|(% colspan="1" %)(% colspan="1" %)
1159 (((
1160 Mutes the call segment in it's conference room.
1161
1162 {{info}}
1163 * This action is only available for call segments that are in conference rooms.
1164 * This action is only available on servers that have conference rooms enabled.
1165 {{/info}}
1166
1167 **Errors:**
1168
1169 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found.
1170
1171 * 500 Internal Server Error: Returned if the core server does not have conference rooms enabled.
1172 )))
1173 |=(% colspan="2" %)(% colspan="2" %)
1174 (((
1175 {{{{instance_resource_path}/unmute}}}
1176 )))
1177 |=(% colspan="1" %)(% colspan="1" %)
1178 (((
1179 **Description**
1180 )))|(% colspan="1" %)(% colspan="1" %)
1181 (((
1182 Unmutes the call segment in it's conference room.
1183
1184 {{info}}
1185 * This action is only available for call segments that are in conference rooms.
1186 * This action is only available on servers that have conference rooms enabled.
1187 {{/info}}
1188
1189 **Errors:**
1190
1191 * 404 Not Found: Returned if any of the ancestors in the instance resource path could not be found.
1192
1193 * 500 Internal Server Error: Returned if the core server does not have conference rooms enabled.
1194 )))
1195
1196
1197
1198 = Curl Examples =
1199
1200 === Get all call segments in a core server ===
1201
1202 {{code language="bash"}}
1203 curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/callSegments
1204 {{/code}}
1205
1206 === (% style="color: rgb(0,0,0);" %)Get a specific call segment in a core server(%%) ===
1207
1208 {{code language="bash"}}
1209 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
1210 {{/code}}
1211
1212 === (% style="color: rgb(0,0,0);" %)Get all call segments owned by an extension(%%) ===
1213
1214 {{code language="bash"}}
1215 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
1216 {{/code}}
1217
1218 === (% style="color: rgb(0,0,0);" %)Get a specific call segment owned by an extension(%%) ===
1219
1220 {{code language="bash"}}
1221 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
1222 {{/code}}
1223
1224 === (% style="color: rgb(0,0,0);" %)Get all call segments a specified call segment is dialing(%%) ===
1225
1226 {{code language="bash"}}
1227 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
1228 {{/code}}
1229
1230 === Get a specific call segment a specified call segment is dialing ===
1231
1232 {{code language="bash"}}
1233 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
1234 {{/code}}
1235
1236 === Get the call segment that is dialing a specified call segment ===
1237
1238 {{code language="bash"}}
1239 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
1240 {{/code}}
1241
1242 === Get the call segment linked to a specified call segment ===
1243
1244 {{code language="bash"}}
1245 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
1246 {{/code}}
1247
1248 === Transfer the call segment the specified call segment is bound to ===
1249
1250 {{note}}
1251 See notes in the transfer action path above, concerning which call segment to specify when performing a transfer action.
1252 {{/note}}
1253
1254 {{code language="bash"}}
1255 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
1256 {{/code}}
1257
1258 === Kicks the specified call segment from it's conference room ===
1259
1260 {{code language="bash"}}
1261 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
1262 {{/code}}
1263
1264 === (% style="color: rgb(0,0,0);" %)Mute the specified call segment in it's conference room(%%) ===
1265
1266 {{code language="bash"}}
1267 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
1268 {{/code}}
1269
1270 === Unmutes the specified call segment in it's conference room ===
1271
1272 {{code language="bash"}}
1273 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
1274 {{/code}}
1275
1276
1277
1278
1279 {{/layout-cell}}
1280 {{/layout-section}}
1281 {{/layout}}