Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
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
 
const struct ast_fax_techtech
 
void * tech_pvt
 

Detailed Description

The data required to handle a fax session.

Definition at line 202 of file res_fax.h.

Field Documentation

struct ast_channel* chan

Asterisk channel using the fax session

Definition at line 224 of file res_fax.h.

Referenced by fax_gateway_detect_v21(), fax_session_new(), and spandsp_fax_gateway_start().

char* chan_uniqueid

unique ID of the Asterisk channel using the fax session

Definition at line 222 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 220 of file res_fax.h.

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

struct ast_fax_debug_info* debug_info

fax debugging structure

Definition at line 226 of file res_fax.h.

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

struct ast_fax_session_details* details
int fd

session file descriptor

Definition at line 206 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 210 of file res_fax.h.

Referenced by generic_fax_exec().

unsigned long frames_sent

fax frames sent

Definition at line 212 of file res_fax.h.

Referenced by generic_fax_exec().

unsigned int id
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 228 of file res_fax.h.

Referenced by destroy_session(), and generic_fax_exec().

enum ast_fax_state state
const struct ast_fax_tech* tech
void* tech_pvt

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