20 #ifndef _ASTERISK_RES_FAX_H 21 #define _ASTERISK_RES_FAX_H 199 struct ast_fax_tech_token;
232 #define AST_FAX_FRFLAG_GATEWAY (1 << 13) 249 void (*
const release_token)(
struct ast_fax_tech_token *);
306 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.
const struct ast_fax_tech * tech
void ast_fax_tech_unregister(struct ast_fax_tech *tech)
unregister a fax technology
unsigned long frames_sent
unsigned long frames_received
char *(*const cli_show_stats)(int)
static int manager_fax_session(struct mansession *s, const struct message *m)
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
const char * ast_fax_session_operation_str(struct ast_fax_session *s)
get string representation of a FAX session's operation
struct ast_fax_debug_info * debug_info
#define AST_STRING_FIELD(name)
Declare a string field.
Asterisk internal frame definitions.
struct ast_fax_session_details * details
In case you didn't read that giant block of text above the mansession_session struct, the struct mansession is named this solely to keep the API the same in Asterisk. This structure really represents data that is different from Manager action to Manager action. The mansession_session pointer contained within points to session-specific data.
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
AST_LIST_HEAD_NOLOCK(contactliststruct, contact)
unsigned int ast_fax_minrate(void)
get the minimum supported fax rate
The AMI - Asterisk Manager Interface - is a TCP protocol created to manage Asterisk with third-party ...
unsigned int transcoding_mmr
unsigned int transcoding_jbig
ast_fax_modems
fax modem capabilities
unsigned int pages_transferred
unsigned int ast_fax_maxrate(void)
get the maxiumum supported fax rate
ast_control_t38_rate_management
used to register a FAX technology module with res_fax
#define AST_LIST_ENTRY(type)
Declare a forward link structure inside a list entry.
const char *const version
void *(*const new_session)(struct ast_fax_session *, struct ast_fax_tech_token *)
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_session)(struct ast_fax_session *, int)
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.
int error(const char *format,...)
char *(*const cli_show_capabilities)(int)
char *(*const cli_show_settings)(int)
Asterisk module definitions.
unsigned int fill_bit_removal
int ast_fax_tech_register(struct ast_fax_tech *tech)
register a fax technology