The Asterisk REST Interface (ARI) bindings for Java.
ARI is an interface available on Asterisk 11+ that lets you write applications that run externally and control call flow through REST calls while receiving events on a websocket.
In order to support different versions of the API, what we do is we maintain concrete implementations for each version of the API, but we also have general interfaces that are used to work with objects across different versions.
Simply add the library and an SLF4J implementation to your package config, here is an example using Gradle
repositories {
maven {
url "https://dl.bintray.com/ari4java/maven"
}
jcenter()
}
dependencies {
compile 'ch.loway.oss.ari4java:ari4java:+'
compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.13.0'
}
The 1st repo declaration is temporary as we sort out moving from a private repo to an organization
The library is released under the GNU LGPL (see LICENSE file). Files under codegen-data come from the Asterisk project and are licensed under the GPLv2 (see LICENSE.asterisk file therein). They are only used to build the classes and are not distributed in any form with ARI4Java.
