|
Asterisk - The Open Source Telephony Project GIT-master-6144b6b
|
#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 |
| const char * | transport_data |
| struct ast_json * | variables |
Argument struct for ast_ari_channels_external_media()
Definition at line 901 of file resource_channels.h.
| const char* app |
Stasis Application to place channel into
Definition at line 905 of file resource_channels.h.
| const char* channel_id |
The unique id to assign the channel on creation.
Definition at line 903 of file resource_channels.h.
| const char* connection_type |
Connection type (client/server). 'server' is only valid for the websocket transport.
Definition at line 915 of file resource_channels.h.
| const char* data |
An arbitrary data field
Definition at line 921 of file resource_channels.h.
| const char* direction |
External media direction
Definition at line 919 of file resource_channels.h.
| const char* encapsulation |
Payload encapsulation protocol. Must be 'none' for the websocket transport.
Definition at line 911 of file resource_channels.h.
| const char* external_host |
Hostname/ip:port or websocket_client connection ID of external host. May be empty for a websocket server connection.
Definition at line 909 of file resource_channels.h.
| const char* format |
Format to encode audio in
Definition at line 917 of file resource_channels.h.
| const char* transport |
Transport protocol
Definition at line 913 of file resource_channels.h.
| const char* transport_data |
Transport-specific data. For websocket this is appended to the dialstring.
Definition at line 923 of file resource_channels.h.
| struct ast_json* variables |
The "variables" key in the body object holds variable key/value pairs to set on the channel on creation. 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). Other keys in the body object are interpreted as query parameters. Ex. { "endpoint": "SIP/Alice", "variables": { "CALLERID(name)": "Alice", "Call_State": { "value": "WaitingForAgent", "report_events": true } } }
Definition at line 907 of file resource_channels.h.