Skip to content

vemarun/asterisk-ari-client-rs

 
 

Repository files navigation

Asterisk ARI Client

CI License License: MIT version docs

Simple Asterisk library. Implements only small fraction of available Asterisk REST APIs known as ARI. Enables to connect to Asterisk websocket and listen for following events:

  • stasis_start
  • channel_dtmf_received
  • channel_hangup_request
  • stasis_end
  • channel_talking_finished
  • channel_talking_started
  • channel_destroyed
  • playback_started
  • playback_finished
  • channel_state_change
  • channel_var_set

Apart from that following channels' operations are supported:

  • answer
  • play
  • stop_play
  • get_variable
  • set_variable
  • hangup
  • continue_in_dialplan
  • record

This is by no means ready library. It is used for now on single purpose project and needs to be extended to support other ARI APIs. Pull requests welcome!

License

Licensed under either Apache-2.0 or MIT license.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%