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

structure for queuing ARI channel variable setting More...

Data Fields

char * name
 
unsigned int report_events
 
char * value
 

Detailed Description

structure for queuing ARI channel variable setting

It may seem weird to define this custom structure given that we already have ast_var_t and ast_variable defined elsewhere. The problem with those is that they are not tolerant of NULL channel variable value pointers. In fact, in both cases, the best they could do is to have a zero-length variable value. However, when un-setting a channel variable, it is important to pass a NULL value, not a zero-length string.

Definition at line 726 of file control.c.

Field Documentation

◆ name

char* name

Name of variable to set/unset

Definition at line 728 of file control.c.

Referenced by PathSegment::get_child(), and SwaggerType::load().

◆ report_events

unsigned int report_events

Whether this variable should be included in channel events

Definition at line 732 of file control.c.

Referenced by stasis_app_control_set_channel_var_reportable().

◆ value

char* value

Value of variable to set. If unsetting, this will be NULL

Definition at line 730 of file control.c.


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