Asterisk - The Open Source Telephony Project GIT-master-6144b6b
Loading...
Searching...
No Matches
Data Fields
ast_ari_channels_set_channel_vars_args Struct Reference

#include <resource_channels.h>

Collaboration diagram for ast_ari_channels_set_channel_vars_args:
Collaboration graph
[legend]

Data Fields

const char * channel_id
 
struct ast_jsonvariables
 

Detailed Description

Argument struct for ast_ari_channels_set_channel_vars()

Definition at line 762 of file resource_channels.h.

Field Documentation

◆ channel_id

const char* channel_id

Channel's id

Definition at line 764 of file resource_channels.h.

◆ variables

struct ast_json* variables

The "variables" key in the body object holds variable key/value pairs to set on the channel. Each variable value may be either a string or an object containing "value" (string) and optional "report_events" (boolean) to include updates for that variable in channel events (defaults to false). Ex. { "variables": { "CALLERID(name)": "Alice", "Call_State": { "value": "WaitingForAgent", "report_events": true } } }

Definition at line 766 of file resource_channels.h.


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