20 #ifndef _ASTERISK_RES_FAX_H
21 #define _ASTERISK_RES_FAX_H
114 struct ast_fax_documents documents;
150 uint32_t statusevents:2;
152 uint32_t allow_audio:2;
154 uint32_t switch_to_t38:1;
160 uint32_t request_t38:1;
175 struct ast_fax_tech_token;
222 void (*
const release_token)(
struct ast_fax_tech_token *);
273 void ast_fax_log(
int level,
const char *file,
const int line,
const char *
function,
const char *msg);
ast_fax_optflag
fax session options
enum sip_cc_notify_state state
Main Channel structure associated with a channel.
static struct ast_control_t38_parameters our_t38_parameters
Asterisk locking-related definitions:
Asterisk main include file. File version handling, generic pbx functions.
void ast_fax_tech_unregister(struct ast_fax_tech *tech)
unregister a fax technology
unsigned long frames_sent
unsigned long frames_received
static void destroy_session(struct skinnysession *s)
struct ast_smoother * smoother
enum ast_control_t38_rate rate
#define AST_DECLARE_STRING_FIELDS(field_list)
Declare the fields needed in a structure.
const char *const description
struct ast_channel * chan
void *(*const new_session)(struct ast_fax_session *, struct ast_fax_tech_token *)
String fields in structures.
struct ast_fax_debug_info * debug_info
char *(*const cli_show_session)(struct ast_fax_session *, int)
Asterisk internal frame definitions.
#define AST_STRING_FIELD(name)
Declare a string field.
struct ast_fax_session_details * details
A set of macros to manage forward-linked lists.
The data communicated between the high level applications and the generic fax function.
struct ast_module * module
unsigned int ast_fax_minrate(void)
get the minimum supported fax rate
#define AST_LIST_HEAD_NOLOCK(name, type)
Defines a structure to be used to hold a list of specified type (with no lock).
unsigned int transcoding_mmr
unsigned int transcoding_jbig
ast_fax_modems
fax modem capabilities
char *(*const cli_show_settings)(int)
unsigned int pages_transferred
unsigned int ast_fax_maxrate(void)
get the maxiumum supported fax rate
used to register a FAX technology module with res_fax
struct ast_fax_tech * tech
#define AST_LIST_ENTRY(type)
Declare a forward link structure inside a list entry.
const char *const version
char *(*const cli_show_capabilities)(int)
ast_fax_capabilities
capabilities for res_fax to locate a fax technology module
ast_fax_state
current state of a fax session
void ast_fax_log(int level, const char *file, const int line, const char *function, const char *msg)
Log message at FAX or recommended level.
char *(*const cli_show_stats)(int)
ast_control_t38_rate_management
Standard Command Line Interface.
struct ast_fax_document * next
The data required to handle a fax session.
const char * ast_fax_state_to_str(enum ast_fax_state state)
convert an ast_fax_state to a string
Data structure associated with a single frame of data.
enum ast_control_t38_rate_management rate_management
Options provided by main asterisk program.
Asterisk module definitions.
unsigned int fill_bit_removal
int ast_fax_tech_register(struct ast_fax_tech *tech)
register a fax technology