package
4.8.4+incompatible
Repository: https://github.com/mtryfoss/ari.git
Documentation: pkg.go.dev

# Functions

CodeFromError extracts and returns the code from an error, or 0 if not found.
Connect creates and connects a new Client to Asterisk ARI.
New creates a new ari.Client.

# Variables

Logger defaults to a discard handler (null output).
MaxIdleConnections is the maximum number of idle web client connections to maintain.
RequestTimeout describes the maximum amount of time to wait for a response to any request.

# Structs

Application is a native implementation of ARI's Application functions.
Asterisk provides the ARI Asterisk accessors for a native client.
AsteriskVariables provides the ARI Variables accessors for server-level variables.
Bridge provides the ARI Bridge accessors for the native client.
Channel provides the ARI Channel accessors for the native client.
Client describes a native ARI client, which connects directly to an Asterisk HTTP-based ARI service.
Config provides the ARI Configuration accessors for a native client.
DeviceState provides the ARI DeviceState accessors for the native client.
Endpoint provides the ARI Endpoint accessors for the native client.
LiveRecording provides the ARI LiveRecording accessors for the native client.
Logging provides the ARI Logging accessors for a native client.
Mailbox provides the ARI Mailbox accessors for the native client.
MissingParams is an error message response emitted when a request does not contain required parameters.
Modules provides the ARI modules accessors for a native client.
Options describes the options for connecting to a native Asterisk ARI server.
Playback provides the ARI Playback accessors for the native client.
Sound provides the ARI Sound accessors for the native client.
StoredRecording provides the ARI StoredRecording accessors for the native client.
TextMessage provides the ARI TextMessage accessors for the native client.

# Interfaces

RequestError describes an error with an error Code.