Asterisk - The Open Source Telephony Project
18.5.0
|
structure for queuing ARI channel variable setting More...
Data Fields | |
char * | name |
char * | value |
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.
char* name |
Name of variable to set/unset
Definition at line 687 of file control.c.
Referenced by app_control_set_channel_var(), free_chanvar(), PathSegment::get_child(), Parameter::load(), SwaggerType::load(), Property::load(), and stasis_app_control_set_channel_var().
char* value |
Value of variable to set. If unsetting, this will be NULL
Definition at line 689 of file control.c.
Referenced by app_control_set_channel_var(), free_chanvar(), and stasis_app_control_set_channel_var().