Asterisk - The Open Source Telephony Project  GIT-master-a24979a
Data Fields
ast_fax_session Struct Reference

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

#include <res_fax.h>

Collaboration diagram for ast_fax_session:
Collaboration graph
[legend]

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

◆ chan

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_gateway_start(), fax_session_new(), fax_v21_session_new(), spandsp_fax_gateway_start(), and t38_tx_packet_handler().

◆ chan_uniqueid

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().

◆ channame

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(), debug_check_frame_for_silence(), destroy_session(), fax_session_new(), and spandsp_fax_new().

◆ debug_info

struct ast_fax_debug_info* debug_info

fax debugging structure

Definition at line 226 of file res_fax.h.

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

◆ details

struct ast_fax_session_details* details

◆ fd

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().

◆ frames_received

unsigned long frames_received

fax frames received

Definition at line 210 of file res_fax.h.

Referenced by generic_fax_exec().

◆ frames_sent

unsigned long frames_sent

fax frames sent

Definition at line 212 of file res_fax.h.

Referenced by generic_fax_exec().

◆ id

unsigned int id

◆ smoother

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().

◆ state

◆ tech

const struct ast_fax_tech* tech

◆ tech_pvt

void* tech_pvt

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