Asterisk REST Interface (ARI)
-
res_ari.so -
res_ari_applications.so -
res_ari_asterisk.so -
res_ari_bridges.so -
res_ari_channels.so -
res_ari_device_states.so -
res_ari_endpoints.so -
res_ari_events.so -
res_ari_model.so -
res_ari_playbacks.so -
res_ari_recordings.so -
res_ari_sounds.so
The basic flow of an HTTP request is
- ast_ari_callback()
- Initial request validation
- Routes as either a doc request (ast_ari_get_docs) or API request (ast_ari_invoke)
- ast_ari_invoke()
- Further request validation
- Routes the request through the tree of generated \ref stasis_rest_handlers.
- Dispatch to the generated callback
- \c astari*_cb
- Populate \c *_args struct with path and get params
- Invoke the request handler
- \c astari*_cb
- Validates and sends response