Asterisk - The Open Source Telephony Project GIT-master-8f1982c
|
/api-docs/events.{format} implementation- WebSocket resource More...
#include "asterisk.h"
#include "resource_events.h"
#include "internal.h"
#include "asterisk/stasis_app.h"
Go to the source code of this file.
Functions | |
void | ast_ari_events_user_event (struct ast_variable *headers, struct ast_ari_events_user_event_args *args, struct ast_ari_response *response) |
Generate a user event. More... | |
/api-docs/events.{format} implementation- WebSocket resource
Definition in file resource_events.c.
void ast_ari_events_user_event | ( | struct ast_variable * | headers, |
struct ast_ari_events_user_event_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Generate a user event.
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 36 of file resource_events.c.
References args, ast_ari_events_user_event_parse_body(), ast_ari_response_error(), ast_ari_response_no_content(), ast_json_object_get(), ast_strlen_zero(), NULL, STASIS_APP_USER_APP_NOT_FOUND, stasis_app_user_event(), STASIS_APP_USER_EVENT_SOURCE_BAD_SCHEME, STASIS_APP_USER_EVENT_SOURCE_NOT_FOUND, STASIS_APP_USER_INTERNAL_ERROR, STASIS_APP_USER_OK, and STASIS_APP_USER_USEREVENT_INVALID.
Referenced by ast_ari_events_user_event_cb().