Asterisk - The Open Source Telephony Project
21.4.1
|
Interface header for analog signaling module. More...
Go to the source code of this file.
Data Structures | |
struct | analog_callback |
struct | analog_dialoperation |
struct | analog_pvt |
struct | analog_subchannel |
Macros | |
#define | ANALOG_FIRST_DIGIT_TIMEOUT 16000 |
Default time (ms) to detect first digit. | |
#define | ANALOG_INTER_DIGIT_TIMEOUT 8000 |
Default time (ms) to detect following digits. | |
#define | ANALOG_MATCH_DIGIT_TIMEOUT 3000 |
Default time (ms) to wait, in case of ambiguous match. | |
#define | ANALOG_MAX_CID 300 |
#define | ANALOG_SMDI_MD_WAIT_TIMEOUT 1500 /* 1.5 seconds */ |
#define | READ_SIZE 160 |
#define | RING_PATTERNS 3 |
Enumerations | |
enum | analog_cid_start { ANALOG_CID_START_POLARITY = 1, ANALOG_CID_START_POLARITY_IN, ANALOG_CID_START_RING, ANALOG_CID_START_DTMF_NOALERT } |
enum | analog_dialmode { ANALOG_DIALMODE_BOTH = 0, ANALOG_DIALMODE_PULSE, ANALOG_DIALMODE_DTMF, ANALOG_DIALMODE_NONE } |
enum | analog_dsp_digitmode { ANALOG_DIGITMODE_DTMF = 1, ANALOG_DIGITMODE_MF } |
enum | analog_event { ANALOG_EVENT_NONE = 0, ANALOG_EVENT_ONHOOK, ANALOG_EVENT_RINGOFFHOOK, ANALOG_EVENT_WINKFLASH, ANALOG_EVENT_ALARM, ANALOG_EVENT_NOALARM, ANALOG_EVENT_DIALCOMPLETE, ANALOG_EVENT_RINGERON, ANALOG_EVENT_RINGEROFF, ANALOG_EVENT_HOOKCOMPLETE, ANALOG_EVENT_PULSE_START, ANALOG_EVENT_POLARITY, ANALOG_EVENT_RINGBEGIN, ANALOG_EVENT_EC_DISABLED, ANALOG_EVENT_REMOVED, ANALOG_EVENT_NEONMWI_ACTIVE, ANALOG_EVENT_NEONMWI_INACTIVE, ANALOG_EVENT_TX_CED_DETECTED, ANALOG_EVENT_RX_CED_DETECTED, ANALOG_EVENT_EC_NLP_DISABLED, ANALOG_EVENT_EC_NLP_ENABLED, ANALOG_EVENT_ERROR, ANALOG_EVENT_DTMFCID, ANALOG_EVENT_PULSEDIGIT = (1 << 16), ANALOG_EVENT_DTMFDOWN = (1 << 17), ANALOG_EVENT_DTMFUP = (1 << 18) } |
enum | analog_sigtype { ANALOG_SIG_NONE = -1, ANALOG_SIG_FXOLS = 1, ANALOG_SIG_FXOKS, ANALOG_SIG_FXOGS, ANALOG_SIG_FXSLS, ANALOG_SIG_FXSKS, ANALOG_SIG_FXSGS, ANALOG_SIG_EMWINK, ANALOG_SIG_EM, ANALOG_SIG_EM_E1, ANALOG_SIG_FEATD, ANALOG_SIG_FEATDMF, ANALOG_SIG_E911, ANALOG_SIG_FGC_CAMA, ANALOG_SIG_FGC_CAMAMF, ANALOG_SIG_FEATB, ANALOG_SIG_SFWINK, ANALOG_SIG_SF, ANALOG_SIG_SF_FEATD, ANALOG_SIG_SF_FEATDMF, ANALOG_SIG_FEATDMF_TA, ANALOG_SIG_SF_FEATB } |
enum | analog_sub { ANALOG_SUB_REAL = 0, ANALOG_SUB_CALLWAIT, ANALOG_SUB_THREEWAY } |
enum | analog_tone { ANALOG_TONE_RINGTONE = 0, ANALOG_TONE_STUTTER, ANALOG_TONE_CONGESTION, ANALOG_TONE_DIALTONE, ANALOG_TONE_DIALRECALL, ANALOG_TONE_INFO } |
enum | dialop { ANALOG_DIAL_OP_REPLACE = 2 } |
Functions | |
int | analog_answer (struct analog_pvt *p, struct ast_channel *ast) |
int | analog_available (struct analog_pvt *p) |
int | analog_call (struct analog_pvt *p, struct ast_channel *ast, const char *rdest, int timeout) |
const char * | analog_cidstart_to_str (enum analog_cid_start cid_start) |
const char * | analog_cidtype_to_str (unsigned int cid_type) |
int | analog_config_complete (struct analog_pvt *p) |
void | analog_delete (struct analog_pvt *doomed) |
Delete the analog private structure. More... | |
int | analog_dnd (struct analog_pvt *p, int flag) |
struct ast_frame * | analog_exception (struct analog_pvt *p, struct ast_channel *ast) |
int | analog_fixup (struct ast_channel *oldchan, struct ast_channel *newchan, void *newp) |
void | analog_free (struct analog_pvt *p) |
void | analog_handle_dtmf (struct analog_pvt *p, struct ast_channel *ast, enum analog_sub index, struct ast_frame **dest) |
void * | analog_handle_init_event (struct analog_pvt *i, int event) |
int | analog_hangup (struct analog_pvt *p, struct ast_channel *ast) |
struct analog_pvt * | analog_new (enum analog_sigtype signallingtype, void *private_data) |
struct ast_channel * | analog_request (struct analog_pvt *p, int *callwait, const struct ast_channel *requestor) |
const char * | analog_sigtype_to_str (enum analog_sigtype sigtype) |
int | analog_ss_thread_start (struct analog_pvt *p, struct ast_channel *ast) |
enum analog_cid_start | analog_str_to_cidstart (const char *value) |
unsigned int | analog_str_to_cidtype (const char *name) |
enum analog_sigtype | analog_str_to_sigtype (const char *name) |
Variables | |
struct analog_callback | analog_callbacks |
Interface header for analog signaling module.
Definition in file sig_analog.h.
enum analog_sub |
Enumerator | |
---|---|
ANALOG_SUB_REAL |
Active call |
ANALOG_SUB_CALLWAIT |
Call-Waiting call on hold |
ANALOG_SUB_THREEWAY |
Three-way call |
Definition at line 108 of file sig_analog.h.
void analog_delete | ( | struct analog_pvt * | doomed | ) |
Delete the analog private structure.
doomed | Analog private structure to delete. |
Definition at line 4104 of file sig_analog.c.
struct analog_callback analog_callbacks |
Global analog callbacks to the upper layer.
Definition at line 3616 of file chan_dahdi.c.