Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_ari_channels_play_args Struct Reference

#include <resource_channels.h>

Data Fields

const char * channel_id
 
const char * lang
 
const char ** media
 
size_t media_count
 
char * media_parse
 
int offsetms
 
const char * playback_id
 
int skipms
 

Detailed Description

Argument struct for ast_ari_channels_play()

Definition at line 543 of file resource_channels.h.

Field Documentation

◆ channel_id

const char* channel_id

Channel's id

Definition at line 545 of file resource_channels.h.

Referenced by ast_ari_channels_play(), and ast_ari_channels_play_cb().

◆ lang

const char* lang

For sounds, selects language for sound.

Definition at line 553 of file resource_channels.h.

Referenced by ast_ari_channels_play(), ast_ari_channels_play_cb(), and ast_ari_channels_play_parse_body().

◆ media

const char** media

Array of Media URIs to play.

Definition at line 547 of file resource_channels.h.

Referenced by ast_ari_channels_play(), ast_ari_channels_play_cb(), and ast_ari_channels_play_parse_body().

◆ media_count

size_t media_count

Length of media array.

Definition at line 549 of file resource_channels.h.

Referenced by ast_ari_channels_play(), ast_ari_channels_play_cb(), and ast_ari_channels_play_parse_body().

◆ media_parse

char* media_parse

Parsing context for media.

Definition at line 551 of file resource_channels.h.

Referenced by ast_ari_channels_play_cb().

◆ offsetms

int offsetms

Number of milliseconds to skip before playing. Only applies to the first URI if multiple media URIs are specified.

Definition at line 555 of file resource_channels.h.

Referenced by ast_ari_channels_play(), ast_ari_channels_play_cb(), and ast_ari_channels_play_parse_body().

◆ playback_id

const char* playback_id

◆ skipms

int skipms

Number of milliseconds to skip for forward/reverse operations.

Definition at line 557 of file resource_channels.h.

Referenced by ast_ari_channels_play(), ast_ari_channels_play_cb(), and ast_ari_channels_play_parse_body().


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