]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Mon, 2 Jun 2025 16:35:27 +0000 (16:35 +0000)
commit1c0d552155a747d7945aa52d32d9ec5f8ff61bdd
tree81722afe748c77d1a13b066621567aae00b2332d
parent36fc358bc9f0c67f42578f43b8f39f9255d2b54a
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