]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ARI Outbound Websockets
authorGeorge Joseph <gjoseph@sangoma.com>
Fri, 28 Mar 2025 12:54:21 +0000 (06:54 -0600)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Mon, 2 Jun 2025 16:35:34 +0000 (16:35 +0000)
commitc873f2ae7e8db0303823a33d7ae117272f23af33
tree87d0e6e22796f2335d47cb2afaef2aa57b8bc7b2
parent5a3164c0b2e43272412ea28e213887289273c72d
ARI Outbound Websockets

Asterisk can now establish websocket sessions _to_ your ARI applications
as well as accepting websocket sessions _from_ them.
Full details: http://s.asterisk.net/ari-outbound-ws

Code change summary:
* Added an ast_vector_string_join() function,
* Added ApplicationRegistered and ApplicationUnregistered ARI events.
* Converted res/ari/config.c to use sorcery to process ari.conf.
* Added the "outbound-websocket" ARI config object.
* Refactored res/ari/ari_websockets.c to handle outbound websockets.
* Refactored res/ari/cli.c for the sorcery changeover.
* Updated res/res_stasis.c for the sorcery changeover.
* Updated apps/app_stasis.c to allow initiating per-call outbound websockets.
* Added CLI commands to manage ARI websockets.
* Added the new "outbound-websocket" object to ari.conf.sample.
* Moved the ARI XML documentation out of res_ari.c into res/ari/ari_doc.xml

UserNote: Asterisk can now establish websocket sessions _to_ your ARI applications
as well as accepting websocket sessions _from_ them.
Full details: http://s.asterisk.net/ari-outbound-ws
15 files changed:
apps/app_stasis.c
configs/samples/ari.conf.sample
include/asterisk/ari.h
include/asterisk/vector.h
main/strings.c
res/ari/ari_doc.xml [new file with mode: 0644]
res/ari/ari_model_validators.c
res/ari/ari_model_validators.h
res/ari/ari_websockets.c
res/ari/ari_websockets.h
res/ari/cli.c
res/ari/config.c
res/ari/internal.h
res/res_ari.c
rest-api/api-docs/events.json