|
3 | 3 | // ---------------------------------------------------- |
4 | 4 | // THIS CLASS WAS GENERATED AUTOMATICALLY |
5 | 5 | // PLEASE DO NOT EDIT |
6 | | -// Generated on: Sat Jan 30 13:39:05 CET 2016 |
| 6 | +// Generated on: Wed Aug 31 18:05:10 CEST 2016 |
7 | 7 | // ---------------------------------------------------- |
8 | 8 |
|
9 | 9 | import java.util.Date; |
|
22 | 22 |
|
23 | 23 | public interface ActionChannels { |
24 | 24 |
|
| 25 | +// void dial String String int AriCallback<Void> callback |
| 26 | +/********************************************************** |
| 27 | + * |
| 28 | + * |
| 29 | + * @since ari_1_10_0 |
| 30 | + *********************************************************/ |
| 31 | +public void dial(String channelId, String caller, int timeout, AriCallback<Void> callback); |
| 32 | + |
| 33 | + |
| 34 | + |
25 | 35 | // void originateWithId String String String String long String String String int Map<String,String> String AriCallback<Channel> callback |
26 | 36 | /********************************************************** |
27 | 37 | * |
@@ -74,6 +84,17 @@ public interface ActionChannels { |
74 | 84 |
|
75 | 85 |
|
76 | 86 |
|
| 87 | +// void dial String String int |
| 88 | +/********************************************************** |
| 89 | + * Dial a created channel. |
| 90 | + * |
| 91 | + * |
| 92 | + * @since ari_1_10_0 |
| 93 | + *********************************************************/ |
| 94 | +public void dial(String channelId, String caller, int timeout) throws RestException; |
| 95 | + |
| 96 | + |
| 97 | + |
77 | 98 | // void unmute String String |
78 | 99 | /********************************************************** |
79 | 100 | * Unmute a channel. |
@@ -167,6 +188,16 @@ public interface ActionChannels { |
167 | 188 |
|
168 | 189 |
|
169 | 190 |
|
| 191 | +// void originateWithId String String String String long String String String String int Map<String,String> String String String AriCallback<Channel> callback |
| 192 | +/********************************************************** |
| 193 | + * |
| 194 | + * |
| 195 | + * @since ari_1_10_0 |
| 196 | + *********************************************************/ |
| 197 | +public void originateWithId(String channelId, String endpoint, String extension, String context, long priority, String label, String app, String appArgs, String callerId, int timeout, Map<String,String> variables, String otherChannelId, String originator, String formats, AriCallback<Channel> callback); |
| 198 | + |
| 199 | + |
| 200 | + |
170 | 201 | // void continueInDialplan String String String int String AriCallback<Void> callback |
171 | 202 | /********************************************************** |
172 | 203 | * |
@@ -229,6 +260,17 @@ public interface ActionChannels { |
229 | 260 |
|
230 | 261 |
|
231 | 262 |
|
| 263 | +// Channel originate String String String long String String String String int Map<String,String> String String String String |
| 264 | +/********************************************************** |
| 265 | + * Create a new channel (originate). |
| 266 | + * The new channel is created immediately and a snapshot of it returned. If a Stasis application is provided it will be automatically subscribed to the originated channel for further events and updates. |
| 267 | + * |
| 268 | + * @since ari_1_10_0 |
| 269 | + *********************************************************/ |
| 270 | +public Channel originate(String endpoint, String extension, String context, long priority, String label, String app, String appArgs, String callerId, int timeout, Map<String,String> variables, String channelId, String otherChannelId, String originator, String formats) throws RestException; |
| 271 | + |
| 272 | + |
| 273 | + |
232 | 274 | // void originate String String String long String String String int AriCallback<Channel> callback |
233 | 275 | /********************************************************** |
234 | 276 | * |
@@ -336,6 +378,17 @@ public interface ActionChannels { |
336 | 378 |
|
337 | 379 |
|
338 | 380 |
|
| 381 | +// Channel create String String String String String String String |
| 382 | +/********************************************************** |
| 383 | + * Create channel. |
| 384 | + * |
| 385 | + * |
| 386 | + * @since ari_1_10_0 |
| 387 | + *********************************************************/ |
| 388 | +public Channel create(String endpoint, String app, String appArgs, String channelId, String otherChannelId, String originator, String formats) throws RestException; |
| 389 | + |
| 390 | + |
| 391 | + |
339 | 392 | // void mute String String |
340 | 393 | /********************************************************** |
341 | 394 | * Mute a channel. |
@@ -452,6 +505,17 @@ public interface ActionChannels { |
452 | 505 |
|
453 | 506 |
|
454 | 507 |
|
| 508 | +// Channel originateWithId String String String String long String String String String int Map<String,String> String String String |
| 509 | +/********************************************************** |
| 510 | + * Create a new channel (originate with id). |
| 511 | + * The new channel is created immediately and a snapshot of it returned. If a Stasis application is provided it will be automatically subscribed to the originated channel for further events and updates. |
| 512 | + * |
| 513 | + * @since ari_1_10_0 |
| 514 | + *********************************************************/ |
| 515 | +public Channel originateWithId(String channelId, String endpoint, String extension, String context, long priority, String label, String app, String appArgs, String callerId, int timeout, Map<String,String> variables, String otherChannelId, String originator, String formats) throws RestException; |
| 516 | + |
| 517 | + |
| 518 | + |
455 | 519 | // Variable getChannelVar String String |
456 | 520 | /********************************************************** |
457 | 521 | * Get the value of a channel variable or function. |
@@ -515,6 +579,16 @@ public interface ActionChannels { |
515 | 579 |
|
516 | 580 |
|
517 | 581 |
|
| 582 | +// void create String String String String String String String AriCallback<Channel> callback |
| 583 | +/********************************************************** |
| 584 | + * |
| 585 | + * |
| 586 | + * @since ari_1_10_0 |
| 587 | + *********************************************************/ |
| 588 | +public void create(String endpoint, String app, String appArgs, String channelId, String otherChannelId, String originator, String formats, AriCallback<Channel> callback); |
| 589 | + |
| 590 | + |
| 591 | + |
518 | 592 | // void hold String |
519 | 593 | /********************************************************** |
520 | 594 | * Hold a channel. |
@@ -683,6 +757,16 @@ public interface ActionChannels { |
683 | 757 |
|
684 | 758 |
|
685 | 759 |
|
| 760 | +// void originate String String String long String String String String int Map<String,String> String String String String AriCallback<Channel> callback |
| 761 | +/********************************************************** |
| 762 | + * |
| 763 | + * |
| 764 | + * @since ari_1_10_0 |
| 765 | + *********************************************************/ |
| 766 | +public void originate(String endpoint, String extension, String context, long priority, String label, String app, String appArgs, String callerId, int timeout, Map<String,String> variables, String channelId, String otherChannelId, String originator, String formats, AriCallback<Channel> callback); |
| 767 | + |
| 768 | + |
| 769 | + |
686 | 770 | // LiveRecording record String String String int int String boolean String |
687 | 771 | /********************************************************** |
688 | 772 | * Start a recording. |
|
0 commit comments