Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
#include <resource_events.h>
Data Fields | |
const char * | application |
const char * | event_name |
const char ** | source |
size_t | source_count |
char * | source_parse |
struct ast_json * | variables |
Argument struct for ast_ari_events_user_event()
Definition at line 91 of file resource_events.h.
const char* application |
The name of the application that will receive this event
Definition at line 95 of file resource_events.h.
const char* event_name |
Event name
Definition at line 93 of file resource_events.h.
const char** source |
Array of URI for event source (channel:{channelId}, bridge:{bridgeId}, endpoint:{tech}/{resource}, deviceState:{deviceName}
Definition at line 97 of file resource_events.h.
size_t source_count |
Length of source array.
Definition at line 99 of file resource_events.h.
char* source_parse |
Parsing context for source.
Definition at line 101 of file resource_events.h.
struct ast_json* variables |
The "variables" key in the body object holds custom key/value pairs to add to the user event. Ex. { "variables": { "key": "value" } }
Definition at line 103 of file resource_events.h.