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

#include <resource_channels.h>

Data Fields

int beep
 
const char * channel_id
 
const char * format
 
const char * if_exists
 
int max_duration_seconds
 
int max_silence_seconds
 
const char * name
 
const char * terminate_on
 

Detailed Description

Argument struct for ast_ari_channels_record()

Definition at line 623 of file resource_channels.h.

Field Documentation

◆ beep

int beep

Play beep when recording begins

Definition at line 637 of file resource_channels.h.

Referenced by ast_ari_channels_record(), ast_ari_channels_record_cb(), and ast_ari_channels_record_parse_body().

◆ channel_id

const char* channel_id

Channel's id

Definition at line 625 of file resource_channels.h.

Referenced by ast_ari_channels_record(), and ast_ari_channels_record_cb().

◆ format

const char* format

Format to encode audio in

Definition at line 629 of file resource_channels.h.

Referenced by ast_ari_channels_record(), ast_ari_channels_record_cb(), and ast_ari_channels_record_parse_body().

◆ if_exists

const char* if_exists

Action to take if a recording with the same name already exists.

Definition at line 635 of file resource_channels.h.

Referenced by ast_ari_channels_record(), ast_ari_channels_record_cb(), and ast_ari_channels_record_parse_body().

◆ max_duration_seconds

int max_duration_seconds

Maximum duration of the recording, in seconds. 0 for no limit

Definition at line 631 of file resource_channels.h.

Referenced by ast_ari_channels_record(), ast_ari_channels_record_cb(), and ast_ari_channels_record_parse_body().

◆ max_silence_seconds

int max_silence_seconds

Maximum duration of silence, in seconds. 0 for no limit

Definition at line 633 of file resource_channels.h.

Referenced by ast_ari_channels_record(), ast_ari_channels_record_cb(), and ast_ari_channels_record_parse_body().

◆ name

const char* name

◆ terminate_on

const char* terminate_on

DTMF input to terminate recording

Definition at line 639 of file resource_channels.h.

Referenced by ast_ari_channels_record(), ast_ari_channels_record_cb(), and ast_ari_channels_record_parse_body().


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