FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ari4java/src/overview.html at master · ari4java/ari4java · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
ari4java
/
ari4java
Public
Notifications
You must be signed in to change notification settings
Fork
66
Star
108
Code
Issues
6
Pull requests
1
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
ari4java
/
src
/
overview.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
27 lines (27 loc) · 1.08 KB
Breadcrumbs
ari4java
/
src
/
overview.html
Copy path
File metadata and controls
executable file
·
27 lines (27 loc) · 1.08 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<
html
>
<
body
>
A full getting started guide can be found on the
<
a
href
="
https://github.com/l3nz/ari4java/wiki/Getting-Started
"
>
ARI4Java Wiki
</
a
>
<
pre
>
// create instance
ARI ari = ARI.build("http://192.168.56.44:8088/", "test-app", "ari4java", "yothere", AriVersion.IM_FEELING_LUCKY);
// get info
AsteriskInfo info = ari.asterisk().getInfo().execute();
// get event websocket
ari.events().eventWebsocket("test-app").execute(new AriWSCallback<Message<() {new AriWSCallback<List<Channel>>() {
@Override
public void onSuccess(List<Channel> result) {
// code to handle the result ...
}
@Override
public void onFailure(RestException e) {
e.printStackTrace();
}
@Override
public void onConnectionEvent(AriConnectionEvent event) {
// if you wish to know the status (connected/disconnected) of the WS connection
}
});
</
pre
>
See
<
a
href
="
ch/loway/oss/ari4java/ARI.html#method.summary
"
>
ch.loway.oss.ari4java.ARI Methods
</
a
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL