Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_ari_channels_external_media_args Struct Reference

#include <resource_channels.h>

Data Fields

const char * app
 
const char * channel_id
 
const char * connection_type
 
const char * data
 
const char * direction
 
const char * encapsulation
 
const char * external_host
 
const char * format
 
const char * transport
 
struct ast_jsonvariables
 

Detailed Description

Argument struct for ast_ari_channels_external_media()

Definition at line 830 of file resource_channels.h.

Field Documentation

const char* app

Stasis Application to place channel into

Definition at line 834 of file resource_channels.h.

Referenced by ast_ari_channels_external_media(), ast_ari_channels_external_media_cb(), and ast_ari_channels_external_media_parse_body().

const char* channel_id

The unique id to assign the channel on creation.

Definition at line 832 of file resource_channels.h.

Referenced by ast_ari_channels_external_media_cb(), and ast_ari_channels_external_media_parse_body().

const char* connection_type
const char* data

An arbitrary data field

Definition at line 850 of file resource_channels.h.

Referenced by ast_ari_channels_external_media_cb(), and ast_ari_channels_external_media_parse_body().

const char* direction
const char* encapsulation
const char* external_host
const char* format
const char* transport
struct ast_json* variables

The "variables" key in the body object holds variable key/value pairs to set on the channel on creation. Other keys in the body object are interpreted as query parameters. Ex. { "endpoint": "SIP/Alice", "variables": { "CALLERID(name)": "Alice" } }

Definition at line 836 of file resource_channels.h.

Referenced by ast_ari_channels_external_media(), and ast_ari_channels_external_media_cb().


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