Wed Jan 8 2020 09:50:23

Asterisk developer's documentation


ast_fax_session Struct Reference

The data required to handle a fax session. More...

#include <res_fax.h>

Data Fields

struct ast_channelchan
 
char * chan_uniqueid
 
char * channame
 
struct ast_fax_debug_infodebug_info
 
struct ast_fax_session_detailsdetails
 
int fd
 
unsigned long frames_received
 
unsigned long frames_sent
 
unsigned int id
 
struct ast_smoothersmoother
 
enum ast_fax_state state
 
struct ast_fax_techtech
 
void * tech_pvt
 

Detailed Description

The data required to handle a fax session.

Definition at line 178 of file res_fax.h.

Field Documentation

struct ast_channel* chan

Asterisk channel using the fax session

Definition at line 200 of file res_fax.h.

Referenced by fax_session_new().

char* chan_uniqueid

unique ID of the Asterisk channel using the fax session

Definition at line 198 of file res_fax.h.

Referenced by destroy_session(), and fax_session_new().

char* channame

name of the Asterisk channel using the fax session

Definition at line 196 of file res_fax.h.

Referenced by cli_fax_show_sessions(), debug_check_frame_for_silence(), destroy_session(), fax_session_new(), and spandsp_fax_new().

struct ast_fax_debug_info* debug_info

fax debugging structure

Definition at line 202 of file res_fax.h.

Referenced by debug_check_frame_for_silence(), destroy_session(), fax_session_new(), and generic_fax_exec().

int fd

session file descriptor

Definition at line 182 of file res_fax.h.

Referenced by generic_fax_exec(), spandsp_fax_destroy(), and spandsp_fax_new().

unsigned long frames_received

fax frames received

Definition at line 186 of file res_fax.h.

Referenced by generic_fax_exec().

unsigned long frames_sent

fax frames sent

Definition at line 188 of file res_fax.h.

Referenced by generic_fax_exec().

struct ast_smoother* smoother

used to take variable-sized frames in and output frames of an expected size to the fax stack

Definition at line 204 of file res_fax.h.

Referenced by destroy_session(), and generic_fax_exec().


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