Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_ari_events_user_event_args Struct Reference

#include <resource_events.h>

Collaboration diagram for ast_ari_events_user_event_args:
Collaboration graph
[legend]

Data Fields

const char * application
 
const char * event_name
 
const char ** source
 
size_t source_count
 
char * source_parse
 
struct ast_jsonvariables
 

Detailed Description

Argument struct for ast_ari_events_user_event()

Definition at line 94 of file resource_events.h.

Field Documentation

◆ application

const char* application

The name of the application that will receive this event

Definition at line 98 of file resource_events.h.

Referenced by ast_ari_events_user_event(), ast_ari_events_user_event_cb(), and ast_ari_events_user_event_parse_body().

◆ event_name

const char* event_name

Event name

Definition at line 96 of file resource_events.h.

Referenced by ast_ari_events_user_event(), and ast_ari_events_user_event_cb().

◆ source

const char** source

Array of URI for event source (channel:{channelId}, bridge:{bridgeId}, endpoint:{tech}/{resource}, deviceState:{deviceName}

Definition at line 100 of file resource_events.h.

Referenced by ast_ari_events_user_event(), ast_ari_events_user_event_cb(), and ast_ari_events_user_event_parse_body().

◆ source_count

size_t source_count

Length of source array.

Definition at line 102 of file resource_events.h.

Referenced by ast_ari_events_user_event(), ast_ari_events_user_event_cb(), and ast_ari_events_user_event_parse_body().

◆ source_parse

char* source_parse

Parsing context for source.

Definition at line 104 of file resource_events.h.

Referenced by ast_ari_events_user_event_cb().

◆ variables

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 106 of file resource_events.h.

Referenced by ast_ari_events_user_event(), and ast_ari_events_user_event_cb().


The documentation for this struct was generated from the following file: