ARI v0.1.2 API Reference

Modules

Agent to manage current Asterisk call channels -> PID registration

Behaviour to provide dynamic configuration for the Asterisk server.

GenServer to create dynamic asterisk configuration

HTTP Interface for CRUD operations on Application objects

HTTP Interface for CRUD operations on Asterisk

HTTP Interface for CRUD operations on Bridge Objects

HTTP Interface for CRUD operations on Channel objects

HTTP Interface for CRUD operations on Devicestate objects

HTTP Interface for CRUD operations on Endpoint objects

HTTP Interface for CRUD operations on Event objects

HTTP Interface for CRUD operations on Mailbox objects

HTTP Interface for CRUD operations on Playback objects

HTTP Interface for CRUD operations on Recording objects

HTTP Interface for CRUD operations on Sound objects

Response returned from all REST calls

A Stasis application to handle recording phone calls. This uses the ARI.HTTP.Channels.snoop/6 functionality of Asterisk to record the call.

A special Stasis application to handle dynamically routing incoming calls to their respective Stasis application.

The ARI.Stasis module is used to register a Stasis application with the Asterisk server. It connects to the Asterisk server using a websocket.

A Stasis application to handle transferring calls to phone numbers outside of our system.

Utility functions for ARI