]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Prequisites for ARI Outbound Websockets
authorGeorge Joseph <gjoseph@sangoma.com>
Wed, 16 Apr 2025 19:40:52 +0000 (13:40 -0600)
committerGeorge Joseph <gjoseph@sangoma.com>
Mon, 21 Apr 2025 13:29:28 +0000 (13:29 +0000)
commit9d75b0447fa0770e33636476d71b3c75ba1b19cd
treef851454948ad975982553be149f829f05eff794a
parent956e0a9b56d41a3accdd0fe5b61ea4d369a563ed
Prequisites for ARI Outbound Websockets

stasis:
* Added stasis_app_is_registered().
* Added stasis_app_control_mark_failed().
* Added stasis_app_control_is_failed().
* Fixed res_stasis_device_state so unsubscribe all works properly.
* Modified stasis_app_unregister() to unsubscribe from all event sources.
* Modified stasis_app_exec to return -1 if stasis_app_control_is_failed()
  returns true.

http:
* Added ast_http_create_basic_auth_header().

md5:
* Added define for MD5_DIGEST_LENGTH.

tcptls:
* Added flag to ast_tcptls_session_args to suppress connection log messages
  to give callers more control over logging.

http_websocket:
* Add flag to ast_websocket_client_options to suppress connection log messages
  to give callers more control over logging.
* Added username and password to ast_websocket_client_options to support
  outbound basic authentication.
* Added ast_websocket_result_to_str().
12 files changed:
include/asterisk/http.h
include/asterisk/http_websocket.h
include/asterisk/md5.h
include/asterisk/stasis_app.h
include/asterisk/tcptls.h
main/http.c
main/md5.c
main/tcptls.c
res/res_http_websocket.c
res/res_stasis.c
res/res_stasis_device_state.c
res/stasis/control.c