Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
#include <chan_dahdi.h>
Data Fields | |
char | accountcode [AST_MAX_ACCOUNT_CODE] |
unsigned int | adsi:1 |
TRUE if ADSI (Analog Display Services Interface) available. More... | |
int | amaflags |
unsigned int | ani_info_digits:8 |
INTEGER, number of ANI INFO digits on a CAMA trunk. older switches use 1 INFO digit, newer switches use 2 INFO digits. More... | |
unsigned int | ani_timeout:16 |
INTEGER, length of ANI failure timeout in ms. More... | |
unsigned int | ani_wink_time:16 |
INTEGER, length of time to wait before sending ANI wink in ms. More... | |
unsigned int | answeronpolarityswitch:1 |
TRUE if we can use a polarity reversal to mark when an outgoing call is answered by the remote party. More... | |
char | begindigit |
DTMF digit in progress. 0 when no digit in progress. More... | |
int | buf_no |
int | buf_policy |
unsigned int | bufferoverrideinuse:1 |
int | bufsize |
struct ast_dsp_busy_pattern | busy_cadence |
Busy cadence pattern description. More... | |
int | busycount |
Number of times to see "busy" tone before hanging up. More... | |
unsigned int | busydetect:1 |
TRUE if busy detection is enabled. (Listens for the beep-beep busy pattern.) More... | |
char | call_forward [AST_MAX_EXTENSION] |
Accumulated call forwarding number. More... | |
unsigned int | calledsubscriberheld:1 |
TRUE if Called Subscriber held is enabled. This allows a single incoming call to hold a DAHDI channel up, allowing a recipient to hang up an extension and pick up another phone on the same line without disconnecting the call. More... | |
ast_group_t | callgroup |
Bitmapped call groups this belongs to. More... | |
int | callingpres |
int | callprogress |
Bitmapped call progress detection flags. CALLPROGRESS_xxx values. More... | |
unsigned int | callreturn:1 |
TRUE if call return is enabled. (*69, if your dialplan doesn't catch this first) More... | |
char | callwait_name [AST_MAX_EXTENSION] |
Call waiting name. More... | |
char | callwait_num [AST_MAX_EXTENSION] |
Call waiting number. More... | |
int | callwaitcas |
TRUE if Call Waiting (CW) CPE Alert Signal (CAS) is being sent. More... | |
unsigned int | callwaiting:1 |
TRUE if busy extensions will hear the call-waiting tone and can use hook-flash to switch between callers. More... | |
unsigned int | callwaitingcallerid:1 |
TRUE if send caller ID for Call Waiting. More... | |
int | callwaitingrepeat |
int | callwaitrings |
Number of call waiting rings. More... | |
unsigned int | cancallforward:1 |
TRUE if support for call forwarding enabled. Dial *72 to enable call forwarding. Dial *73 to disable call forwarding. More... | |
unsigned int | canpark:1 |
TRUE if support for call parking is enabled. More... | |
struct ast_cc_config_params * | cc_params |
int | channel |
int | cid_ani2 |
Automatic Number Identification code from PRI. More... | |
char | cid_name [AST_MAX_EXTENSION] |
Caller ID name from an incoming call. More... | |
char | cid_num [AST_MAX_EXTENSION] |
Caller ID number from an incoming call. More... | |
float | cid_rxgain |
Amount of gain to increase during caller id. More... | |
int | cid_signalling |
int | cid_start |
char | cid_subaddr [AST_MAX_EXTENSION] |
Caller ID subaddress from an incoming call. More... | |
int | cid_suppress_expire |
char | cid_tag [AST_MAX_EXTENSION] |
Caller ID tag from incoming call. More... | |
int | cid_ton |
Caller ID Q.931 TON/NPI field values. Set by PRI. Zero otherwise. More... | |
int | cidcwexpire |
int | cidlen |
Length of the cidspill buffer containing samples. More... | |
int | cidpos |
Position in the cidspill buffer to send out next. More... | |
unsigned char * | cidspill |
Analog caller ID waveform sample buffer. More... | |
unsigned int | confirmanswer:1 |
TRUE if to wait for a DTMF digit to confirm answer. More... | |
int | confno |
int | confusers |
char | context [AST_MAX_CONTEXT] |
The configured context for incoming calls. More... | |
struct callerid_state * | cs |
unsigned int | dahditrcallerid:1 |
TRUE if we should use the callerid from incoming call on dahdi transfer. More... | |
char | defcontext [AST_MAX_CONTEXT] |
Default distinctive ring context. More... | |
char | description [32] |
A description for the channel configuration. More... | |
unsigned int | destroy:1 |
TRUE if the channel is to be destroyed on hangup. (Used by pseudo channels.) More... | |
char | dialdest [256] |
Delayed dialing for E911. Overlap digits for ISDN. More... | |
unsigned int | dialednone:1 |
TRUE if analog type line dialed no digits in Dial() More... | |
unsigned int | dialing:1 |
TRUE if in the process of dialing digits or sending something. More... | |
int | dialmode |
char | dialstring [AST_CHANNEL_NAME] |
int | dialtone_detect |
Number of frames to watch for dialtone in incoming calls. More... | |
int | dialtone_scanning_time_elapsed |
unsigned int | didtdd:1 |
unsigned int | digital:1 |
TRUE if the transfer capability of the call is digital. More... | |
int | distinctivering |
unsigned int | dnd:1 |
TRUE if Do-Not-Disturb is enabled, present only for non sig_analog. More... | |
char | dnid [AST_MAX_EXTENSION] |
Dialed Number Identifier. More... | |
struct dahdi_dialoperation | dop |
DAHDI dial operation command struct for ioctl() call. More... | |
unsigned int | doreoriginate:1 |
Internal flag for if we should actually process a reorigination. More... | |
struct dahdi_distRings | drings |
Distinctive Ring data. More... | |
struct ast_dsp * | dsp |
Opaque DSP configuration structure. More... | |
int | dsp_features |
DSP feature flags: DSP_FEATURE_xxx. More... | |
struct timeval | dtmfcid_delay |
int | dtmfcid_holdoff_state |
int | dtmfrelax |
unsigned int | echobreak:1 |
XXX BOOLEAN Purpose??? More... | |
unsigned int | echocanbridged:1 |
TRUE if echo cancellation enabled when bridged. More... | |
struct { | |
struct dahdi_echocanparams head | |
struct dahdi_echocanparam params [DAHDI_MAX_ECHOCANPARAMS] | |
} | echocancel |
Echo cancel parameters. More... | |
unsigned int | echocanon:1 |
TRUE if echo cancellation is turned on. More... | |
char | echorest [20] |
Filled with 'w'. XXX Purpose?? More... | |
int | echotraining |
Echo training time. 0 = disabled. More... | |
char | exten [AST_MAX_EXTENSION] |
Extension to use in the dialplan. More... | |
int | fake_event |
Holding place for event injected from outside normal operation. More... | |
int | faxbuf_no |
int | faxbuf_policy |
unsigned int | faxdetect_timeout |
The number of seconds into call to disable fax detection. (0 = disabled) More... | |
unsigned int | faxhandled:1 |
TRUE if a fax tone has already been handled. More... | |
char | finaldial [64] |
Second part of SIG_FEATDMF_TA wink operation. More... | |
int | firstdigit_timeout |
Time (ms) to detect first digit (in an analog phone) More... | |
unsigned int | firstradio:1 |
TRUE if over a radio and dahdi_read() has been called. More... | |
struct timeval | flashtime |
ast_group_t | group |
Bitmapped groups this belongs to. More... | |
time_t | guardtime |
unsigned int | hanguponpolarityswitch:1 |
TRUE if the call will be considered "hung up" on a polarity reversal. More... | |
unsigned int | hardwaredtmf:1 |
TRUE if DTMF detection needs to be done by hardware. More... | |
unsigned int | hidecallerid:1 |
TRUE if the outgoing caller ID is blocked/hidden. More... | |
unsigned int | hidecalleridname:1 |
TRUE if hide just the name not the number for legacy PBX use. More... | |
float | hwrxgain |
Hardware Rx gain set by chan_dahdi.conf. More... | |
unsigned int | hwrxgain_enabled |
TRUE if hardware Rx gain set by Asterisk. More... | |
float | hwtxgain |
Hardware Tx gain set by chan_dahdi.conf. More... | |
unsigned int | hwtxgain_enabled |
TRUE if hardware Tx gain set by Asterisk. More... | |
unsigned int | ignoredtmf:1 |
TRUE if DTMF detection is disabled. More... | |
unsigned int | immediate:1 |
TRUE if the channel should be answered immediately without attempting to gather any digits. More... | |
unsigned int | immediatering:1 |
TRUE if audible ringback should be provided when immediate = yes. More... | |
unsigned int | inalarm:1 |
TRUE if in an alarm condition. More... | |
int | inconference |
unsigned int | inservice:1 |
TRUE if channel is out of reset and ready. More... | |
int | interdigit_timeout |
Time (ms) to detect following digits (in an analog phone) More... | |
char | language [MAX_LANGUAGE] |
Language configured for calls. More... | |
int | law |
Active PCM encoding format: DAHDI_LAW_ALAW or DAHDI_LAW_MULAW. More... | |
int | law_default |
Default call PCM encoding format: DAHDI_LAW_ALAW or DAHDI_LAW_MULAW. More... | |
unsigned int | locallyblocked:2 |
Bitmask for the channel being locally blocked. More... | |
ast_mutex_t | lock |
char | mailbox [AST_MAX_MAILBOX_UNIQUEID] |
Voice mailbox location. More... | |
unsigned int | manages_span_alarms:1 |
TRUE if the channel alarms will be managed also as Span ones. More... | |
struct dahdi_pvt * | master |
int | matchdigit_timeout |
Time (ms) to wait, in case of ambiguous match (in an analog phone) More... | |
unsigned int | mate:1 |
TRUE if TDD in MATE mode. More... | |
char | mohinterpret [MAX_MUSICCLASS] |
The configured music-on-hold class to use for calls. More... | |
char | mohsuggest [MAX_MUSICCLASS] |
Suggested music-on-hold class for peer channel to use for calls. More... | |
int | muting |
TRUE if confrence is muted. More... | |
struct ast_mwi_subscriber * | mwi_event_sub |
Opaque event subscription parameters for message waiting indication support. More... | |
unsigned int | mwimonitor_fsk:1 |
TRUE if the FXO port monitors for fsk type MWI indications from the other end. More... | |
unsigned int | mwimonitor_neon:1 |
TRUE if the FXO port monitors for neon type MWI indications from the other end. More... | |
unsigned int | mwimonitor_rpas:1 |
TRUE if the FXO port monitors for rpas precursor to fsk MWI indications from the other end. More... | |
unsigned int | mwimonitoractive:1 |
TRUE if an MWI monitor thread is currently active. More... | |
unsigned int | mwioverride_active:1 |
TRUE if a manual MWI override is active for a channel. More... | |
unsigned int | mwioverride_disposition:1 |
Manual MWI disposition (on/off) More... | |
struct mwisend_info | mwisend_data |
unsigned int | mwisendactive:1 |
TRUE if a MWI message sending thread is active. More... | |
struct ast_namedgroups * | named_callgroups |
Named call groups this belongs to. More... | |
struct ast_namedgroups * | named_pickupgroups |
Named pickup groups this belongs to. More... | |
struct dahdi_pvt * | next |
int | oprmode |
struct dahdi_pvt * | oprpeer |
char * | origcid_name |
char * | origcid_num |
unsigned int | outgoing:1 |
TRUE if we originated the call leg. More... | |
int | outsigmod |
struct ast_channel * | owner |
char | parkinglot [AST_MAX_EXTENSION] |
unsigned int | permcallwaiting:1 |
TRUE if busy extensions will hear the call-waiting tone and can use hook-flash to switch between callers. More... | |
unsigned int | permhidecallerid:1 |
TRUE if the outgoing caller ID is blocked/restricted/hidden. More... | |
ast_group_t | pickupgroup |
Bitmapped pickup groups this belongs to. More... | |
int | polarity |
Current line interface polarity. POLARITY_IDLE, POLARITY_REV. More... | |
struct timeval | polaritydelaytv |
Start delay time if polarityonanswerdelay is nonzero. More... | |
int | polarityonanswerdelay |
Minimal time period (ms) between the answer polarity switch and hangup polarity switch. More... | |
struct dahdi_pvt * | prev |
unsigned int | priexclusive:1 |
TRUE if PRI B channels are always exclusively selected. More... | |
unsigned int | priindication_oob:1 |
TRUE if PRI congestion/busy indications are sent out-of-band. More... | |
int | propconfno |
unsigned int | pulse:1 |
TRUE if we will pulse dial. More... | |
unsigned int | pulsedial:1 |
TRUE if a pulsed digit was detected. (Pulse dial phone detected) More... | |
int | radio |
Nonzero if the signaling type is sent over a radio. More... | |
char | rdnis [AST_MAX_EXTENSION] |
Redirecting Directory Number Information Service (RDNIS) number. More... | |
unsigned int | remotelyblocked:2 |
Bitmask for the channel being remotely blocked. 1 maintenance, 2 blocked in hardware. More... | |
unsigned int | reoriginate:1 |
TRUE if FXS (FXO-signalled) channel should reoriginate for user to make a new call. More... | |
unsigned int | restartpending:1 |
unsigned int | restrictcid:1 |
TRUE if caller ID is restricted. More... | |
int | ringt |
Ring timeout timer?? More... | |
int | ringt_base |
Ring timeout base. More... | |
float | rxdrc |
float | rxgain |
Software Rx gain set by chan_dahdi.conf. More... | |
struct dahdi_confinfo | saveconf |
int | sendcalleridafter |
Send caller ID on FXS after this many rings. Set to 1 for US. More... | |
int | sig |
void * | sig_pvt |
struct dahdi_pvt * | slaves [MAX_SLAVES] |
struct ast_smdi_interface * | smdi_iface |
The SMDI interface to get SMDI messages from. More... | |
int | span |
int | stripmsd |
Number of most significant digits/characters to strip from the dialed number. More... | |
struct dahdi_subchannel | sub_unused |
struct dahdi_subchannel | subs [3] |
struct tdd_state * | tdd |
unsigned int | threewaycalling:1 |
TRUE if three way calling is enabled. More... | |
unsigned int | threewaysilenthold:1 |
TRUE if a three way dial tone should time out to silence. More... | |
int | tonezone |
unsigned int | transfer:1 |
TRUE if call transfer is enabled. More... | |
unsigned int | transfertobusy:1 |
TRUE if allowed to flash-transfer to busy channels. More... | |
float | txdrc |
float | txgain |
Software Tx gain set by chan_dahdi.conf. More... | |
unsigned int | use_callerid:1 |
TRUE if caller ID is used on this channel. More... | |
unsigned int | use_callingpres:1 |
TRUE if we will use the calling presentation setting from the Asterisk channel for outgoing calls. More... | |
unsigned int | use_smdi:1 |
TRUE if SMDI (Simplified Message Desk Interface) is enabled. More... | |
unsigned int | usedistinctiveringdetection:1 |
TRUE if distinctive rings are to be detected. More... | |
unsigned int | usefaxbuffers:1 |
struct ast_variable * | vars |
Channel variable list with associated values to set when a channel is created. More... | |
int | waitfordialtone |
Number of milliseconds to wait for dialtone. More... | |
int | waitfordialtoneduration |
Transient variable. Stored off waitfordialtone duration at runtime. More... | |
int | waitfordialtonetemp |
Transient variable. Same as waitfordialtone, but temporarily set for a specific call, rather than permanently for the channel. More... | |
struct timeval | waitingfordt |
enum DAHDI_IFLIST | which_iflist |
int | whichwink |
Definition at line 124 of file chan_dahdi.h.
char accountcode[AST_MAX_ACCOUNT_CODE] |
Account code
Definition at line 700 of file chan_dahdi.h.
Referenced by dahdi_new(), and process_dahdi().
unsigned int adsi |
TRUE if ADSI (Analog Display Services Interface) available.
Definition at line 178 of file chan_dahdi.h.
Referenced by dahdi_new(), and process_dahdi().
int amaflags |
AMA Flags
Definition at line 701 of file chan_dahdi.h.
Referenced by dahdi_new(), and process_dahdi().
unsigned int ani_info_digits |
INTEGER, number of ANI INFO digits on a CAMA trunk. older switches use 1 INFO digit, newer switches use 2 INFO digits.
Definition at line 190 of file chan_dahdi.h.
Referenced by process_dahdi().
unsigned int ani_timeout |
INTEGER, length of ANI failure timeout in ms.
Definition at line 195 of file chan_dahdi.h.
Referenced by process_dahdi().
unsigned int ani_wink_time |
INTEGER, length of time to wait before sending ANI wink in ms.
Definition at line 200 of file chan_dahdi.h.
Referenced by process_dahdi().
unsigned int answeronpolarityswitch |
TRUE if we can use a polarity reversal to mark when an outgoing call is answered by the remote party.
Definition at line 184 of file chan_dahdi.h.
Referenced by dahdi_handle_event(), my_answer_polarityswitch(), my_hangup_polarityswitch(), my_start_polarityswitch(), and process_dahdi().
char begindigit |
DTMF digit in progress. 0 when no digit in progress.
Definition at line 761 of file chan_dahdi.h.
Referenced by dahdi_digit_begin(), and dahdi_digit_end().
int buf_no |
Number of buffers
Definition at line 139 of file chan_dahdi.h.
Referenced by alloc_sub(), duplicate_pseudo(), process_dahdi(), and revert_fax_buffers().
int buf_policy |
Buffer policy
Definition at line 140 of file chan_dahdi.h.
Referenced by alloc_sub(), duplicate_pseudo(), process_dahdi(), and revert_fax_buffers().
unsigned int bufferoverrideinuse |
TRUE while buffer configuration override is in use
Definition at line 278 of file chan_dahdi.h.
Referenced by dahdi_func_write(), dahdi_handle_dtmf(), my_handle_dtmf(), and revert_fax_buffers().
int bufsize |
Size of the buffers
Definition at line 138 of file chan_dahdi.h.
Referenced by dahdi_func_write(), dahdi_handle_dtmf(), my_handle_dtmf(), and revert_fax_buffers().
struct ast_dsp_busy_pattern busy_cadence |
Busy cadence pattern description.
Definition at line 646 of file chan_dahdi.h.
Referenced by dahdi_new(), and process_dahdi().
int busycount |
Number of times to see "busy" tone before hanging up.
Definition at line 641 of file chan_dahdi.h.
Referenced by dahdi_new(), and process_dahdi().
unsigned int busydetect |
TRUE if busy detection is enabled. (Listens for the beep-beep busy pattern.)
Definition at line 206 of file chan_dahdi.h.
Referenced by dahdi_new(), dahdi_read(), and process_dahdi().
char call_forward[AST_MAX_EXTENSION] |
Accumulated call forwarding number.
Definition at line 704 of file chan_dahdi.h.
Referenced by analog_ss_thread(), and dahdi_new().
unsigned int calledsubscriberheld |
TRUE if Called Subscriber held is enabled. This allows a single incoming call to hold a DAHDI channel up, allowing a recipient to hang up an extension and pick up another phone on the same line without disconnecting the call.
Definition at line 213 of file chan_dahdi.h.
Referenced by process_dahdi().
ast_group_t callgroup |
Bitmapped call groups this belongs to.
Definition at line 564 of file chan_dahdi.h.
Referenced by dahdi_new(), and process_dahdi().
int callingpres |
The value of calling presentation that we're going to use when placing a PRI call
Definition at line 592 of file chan_dahdi.h.
Referenced by dahdi_new().
int callprogress |
Bitmapped call progress detection flags. CALLPROGRESS_xxx values.
Definition at line 651 of file chan_dahdi.h.
Referenced by dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_new(), dahdi_read(), my_handle_dtmf(), my_have_progressdetect(), and process_dahdi().
unsigned int callreturn |
TRUE if call return is enabled. (*69, if your dialplan doesn't catch this first)
Definition at line 219 of file chan_dahdi.h.
Referenced by analog_ss_thread(), and process_dahdi().
char callwait_name[AST_MAX_EXTENSION] |
char callwait_num[AST_MAX_EXTENSION] |
int callwaitcas |
TRUE if Call Waiting (CW) CPE Alert Signal (CAS) is being sent.
Definition at line 622 of file chan_dahdi.h.
Referenced by dahdi_callwait(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), my_callwait(), my_send_callerid(), send_callerid(), and send_cwcidspill().
unsigned int callwaiting |
TRUE if busy extensions will hear the call-waiting tone and can use hook-flash to switch between callers.
Definition at line 226 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_hangup(), my_set_callwaiting(), native_bridge_is_capable(), and process_dahdi().
unsigned int callwaitingcallerid |
TRUE if send caller ID for Call Waiting.
Definition at line 231 of file chan_dahdi.h.
Referenced by dahdi_callwait(), my_callwait(), native_bridge_is_capable(), and process_dahdi().
int callwaitingrepeat |
How many samples to wait before repeating call waiting
Definition at line 593 of file chan_dahdi.h.
Referenced by __dahdi_exception(), dahdi_callwait(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), my_callwait(), and my_stop_callwait().
int callwaitrings |
Number of call waiting rings.
Definition at line 624 of file chan_dahdi.h.
Referenced by dahdi_call(), dahdi_callwait(), dahdi_read(), and my_callwait().
unsigned int cancallforward |
TRUE if support for call forwarding enabled. Dial *72 to enable call forwarding. Dial *73 to disable call forwarding.
Definition at line 238 of file chan_dahdi.h.
Referenced by analog_ss_thread(), and process_dahdi().
unsigned int canpark |
TRUE if support for call parking is enabled.
Definition at line 243 of file chan_dahdi.h.
Referenced by analog_ss_thread(), and process_dahdi().
struct ast_cc_config_params* cc_params |
Definition at line 765 of file chan_dahdi.h.
Referenced by dahdi_cc_callback(), dahdi_create_channel_range(), dahdi_new(), deep_copy_dahdi_chan_conf(), destroy_dahdi_pvt(), duplicate_pseudo(), process_dahdi(), and setup_dahdi().
int channel |
Channel Number
Definition at line 585 of file chan_dahdi.h.
Referenced by __dahdi_exception(), _dahdi_get_index(), action_dahdidialoffhook(), action_dahdidndoff(), action_dahdidndon(), action_transfer(), action_transferhangup(), alloc_sub(), analog_ss_thread(), check_for_conference(), create_channel_name(), dahdi_ami_channel_event(), dahdi_answer(), dahdi_call(), dahdi_conf_update(), dahdi_confmute(), dahdi_create_channel_range(), dahdi_destroy_channel_range(), dahdi_dial_str(), dahdi_digit_begin(), dahdi_dnd(), dahdi_dtmf_detect_enable(), dahdi_ec_disable(), dahdi_ec_enable(), dahdi_fixup(), dahdi_func_read(), dahdi_func_write(), dahdi_handle_event(), dahdi_hangup(), dahdi_iflist_insert(), dahdi_master_slave_link(), dahdi_master_slave_unlink(), dahdi_new(), dahdi_read(), dahdi_request(), dahdi_sendtext(), dahdi_set_dnd(), dahdi_set_hwgain(), dahdi_set_mwi(), dahdi_set_swgain(), dahdi_setoption(), dahdi_show_channel(), dahdi_train_ec(), dahdi_write(), destroy_all_channels(), do_monitor(), find_channel(), find_channel_from_str(), get_alarms(), handle_alarms(), handle_clear_alarms(), handle_init_event(), has_voicemail(), is_group_or_channel_match(), isourconf(), mwi_thread(), my_all_subchannels_hungup(), my_dahdi_write(), my_dial_digits(), my_dsp_set_digitmode(), my_handle_notify_message(), my_is_off_hook(), my_set_polarity(), native_start(), publish_channel_alarm_clear(), reset_conf(), and unalloc_sub().
int cid_ani2 |
Automatic Number Identification code from PRI.
Definition at line 524 of file chan_dahdi.h.
Referenced by dahdi_new().
char cid_name[AST_MAX_EXTENSION] |
Caller ID name from an incoming call.
Definition at line 535 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_handle_event(), dahdi_hangup(), dahdi_new(), mwi_send_init(), and process_dahdi().
char cid_num[AST_MAX_EXTENSION] |
Caller ID number from an incoming call.
Definition at line 526 of file chan_dahdi.h.
Referenced by analog_ss_thread(), create_channel_name(), dahdi_handle_event(), dahdi_hangup(), dahdi_new(), mwi_send_init(), and process_dahdi().
float cid_rxgain |
Amount of gain to increase during caller id.
Definition at line 158 of file chan_dahdi.h.
Referenced by bump_gains(), and process_dahdi().
int cid_signalling |
CID signalling type bell202 or v23
Definition at line 588 of file chan_dahdi.h.
Referenced by analog_ss_thread(), mwi_thread(), my_get_callerid(), my_start_cid_detect(), and process_dahdi().
int cid_start |
CID start indicator, polarity or ring or DTMF without warning event
Definition at line 589 of file chan_dahdi.h.
Referenced by analog_ss_thread(), do_monitor(), handle_init_event(), and process_dahdi().
char cid_subaddr[AST_MAX_EXTENSION] |
Caller ID subaddress from an incoming call.
Definition at line 537 of file chan_dahdi.h.
Referenced by create_channel_name(), and dahdi_hangup().
int cid_suppress_expire |
How many samples to suppress after a CID spill.
Definition at line 595 of file chan_dahdi.h.
Referenced by __dahdi_exception(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), my_send_callerid(), my_stop_callwait(), send_callerid(), and send_cwcidspill().
char cid_tag[AST_MAX_EXTENSION] |
Caller ID tag from incoming call.
Definition at line 531 of file chan_dahdi.h.
Referenced by dahdi_hangup(), dahdi_new(), and process_dahdi().
int cid_ton |
Caller ID Q.931 TON/NPI field values. Set by PRI. Zero otherwise.
Definition at line 533 of file chan_dahdi.h.
Referenced by dahdi_new().
int cidcwexpire |
When to stop waiting for CID/CW CAS response (In samples)
Definition at line 594 of file chan_dahdi.h.
Referenced by __dahdi_exception(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), my_send_callerid(), my_stop_callwait(), send_callerid(), and send_cwcidspill().
int cidlen |
Length of the cidspill buffer containing samples.
Definition at line 601 of file chan_dahdi.h.
Referenced by dahdi_callwait(), mwi_send_init(), mwi_send_process_buffer(), mwi_send_process_event(), my_callwait(), my_send_callerid(), send_callerid(), and send_cwcidspill().
int cidpos |
Position in the cidspill buffer to send out next.
Definition at line 599 of file chan_dahdi.h.
Referenced by dahdi_callwait(), mwi_send_init(), mwi_send_process_buffer(), mwi_send_process_event(), my_callwait(), my_send_callerid(), send_callerid(), and send_cwcidspill().
unsigned char* cidspill |
Analog caller ID waveform sample buffer.
Definition at line 597 of file chan_dahdi.h.
Referenced by dahdi_callwait(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), dahdi_write(), destroy_dahdi_pvt(), do_monitor(), handle_init_event(), mwi_send_init(), mwi_send_process_buffer(), mwi_send_process_event(), my_callwait(), my_cancel_cidspill(), my_send_callerid(), send_callerid(), and send_cwcidspill().
unsigned int confirmanswer |
TRUE if to wait for a DTMF digit to confirm answer.
Definition at line 245 of file chan_dahdi.h.
Referenced by dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_request(), my_check_confirmanswer(), and my_set_confirmanswer().
int confno |
Our conference
Definition at line 557 of file chan_dahdi.h.
Referenced by check_for_conference(), conf_add(), dahdi_conf_update(), isourconf(), my_complete_conference_update(), and reset_conf().
int confusers |
Who is using our conference
Definition at line 558 of file chan_dahdi.h.
char context[AST_MAX_CONTEXT] |
The configured context for incoming calls.
Definition at line 491 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_new(), my_distinctive_ring(), and process_dahdi().
struct callerid_state* cs |
Definition at line 126 of file chan_dahdi.h.
Referenced by my_get_callerid(), my_start_cid_detect(), and my_stop_cid_detect().
unsigned int dahditrcallerid |
TRUE if we should use the callerid from incoming call on dahdi transfer.
Definition at line 408 of file chan_dahdi.h.
Referenced by dahdi_handle_event(), and process_dahdi().
char defcontext[AST_MAX_CONTEXT] |
Default distinctive ring context.
Definition at line 500 of file chan_dahdi.h.
Referenced by analog_ss_thread(), and my_distinctive_ring().
char description[32] |
A description for the channel configuration.
Definition at line 496 of file chan_dahdi.h.
Referenced by Api::load(), ResourceApi::load(), Model::load(), Parameter::load(), Property::load(), and process_dahdi().
unsigned int destroy |
TRUE if the channel is to be destroyed on hangup. (Used by pseudo channels.)
Definition at line 250 of file chan_dahdi.h.
Referenced by dahdi_hangup(), and duplicate_pseudo().
char dialdest[256] |
Delayed dialing for E911. Overlap digits for ISDN.
Definition at line 713 of file chan_dahdi.h.
Referenced by dahdi_call(), and dahdi_handle_event().
unsigned int dialednone |
TRUE if analog type line dialed no digits in Dial()
Definition at line 253 of file chan_dahdi.h.
Referenced by dahdi_call(), and dahdi_handle_event().
unsigned int dialing |
TRUE if in the process of dialing digits or sending something.
Definition at line 258 of file chan_dahdi.h.
Referenced by __dahdi_exception(), dahdi_call(), dahdi_digit_begin(), dahdi_digit_end(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), dahdi_write(), and my_set_dialing().
int dialmode |
Dialing Modes Allowed (Pulse/Tone)
Definition at line 149 of file chan_dahdi.h.
Referenced by dahdi_func_write(), dahdi_read(), and process_dahdi().
char dialstring[AST_CHANNEL_NAME] |
Definition at line 772 of file chan_dahdi.h.
Referenced by dahdi_request(), and my_get_orig_dialstring().
int dialtone_detect |
Number of frames to watch for dialtone in incoming calls.
Definition at line 669 of file chan_dahdi.h.
Referenced by dahdi_new(), dahdi_read(), and process_dahdi().
int dialtone_scanning_time_elapsed |
Amount of audio scanned for dialtone, in frames
Definition at line 670 of file chan_dahdi.h.
Referenced by dahdi_new(), and dahdi_read().
unsigned int didtdd |
flag to say its done it once
Definition at line 251 of file chan_dahdi.h.
Referenced by dahdi_hangup(), dahdi_setoption(), and my_all_subchannels_hungup().
unsigned int digital |
TRUE if the transfer capability of the call is digital.
Definition at line 260 of file chan_dahdi.h.
Referenced by dahdi_ec_enable(), and dahdi_hangup().
int distinctivering |
Which distinctivering to use
Definition at line 719 of file chan_dahdi.h.
Referenced by dahdi_hangup(), dahdi_request(), and my_set_cadence().
unsigned int dnd |
TRUE if Do-Not-Disturb is enabled, present only for non sig_analog.
Definition at line 262 of file chan_dahdi.h.
Referenced by dahdi_dnd().
char dnid[AST_MAX_EXTENSION] |
Dialed Number Identifier.
Definition at line 547 of file chan_dahdi.h.
Referenced by dahdi_new(), and dahdi_request().
struct dahdi_dialoperation dop |
DAHDI dial operation command struct for ioctl() call.
Definition at line 696 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_handle_event(), dahdi_indicate(), dahdi_read(), and my_dial_digits().
unsigned int doreoriginate |
Internal flag for if we should actually process a reorigination.
Definition at line 293 of file chan_dahdi.h.
Referenced by dahdi_hangup(), and do_monitor().
struct dahdi_distRings drings |
Distinctive Ring data.
Definition at line 485 of file chan_dahdi.h.
Referenced by analog_ss_thread(), my_distinctive_ring(), and process_dahdi().
struct ast_dsp* dsp |
Opaque DSP configuration structure.
Definition at line 694 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_dtmf_detect_disable(), dahdi_dtmf_detect_enable(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_new(), dahdi_read(), dahdi_setoption(), my_all_subchannels_hungup(), my_dsp_reset_and_flush_digits(), my_dsp_set_digitmode(), my_handle_dtmf(), my_have_progressdetect(), and my_set_waitingfordt().
int dsp_features |
DSP feature flags: DSP_FEATURE_xxx.
Definition at line 738 of file chan_dahdi.h.
Referenced by dahdi_dtmf_detect_disable(), dahdi_dtmf_detect_enable(), dahdi_handle_dtmf(), dahdi_new(), dahdi_queryoption(), dahdi_read(), dahdi_setoption(), my_handle_dtmf(), and my_set_waitingfordt().
struct timeval dtmfcid_delay |
Time value used for allow line to settle
Definition at line 591 of file chan_dahdi.h.
Referenced by do_monitor().
int dtmfcid_holdoff_state |
State indicator that allows for line to settle before checking for dtmf energy
Definition at line 590 of file chan_dahdi.h.
Referenced by do_monitor().
int dtmfrelax |
whether to run in relaxed DTMF mode
Definition at line 720 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_hangup(), dahdi_new(), dahdi_setoption(), my_dsp_set_digitmode(), and process_dahdi().
unsigned int echobreak |
XXX BOOLEAN Purpose???
Definition at line 264 of file chan_dahdi.h.
Referenced by dahdi_handle_event().
unsigned int echocanbridged |
TRUE if echo cancellation enabled when bridged.
Definition at line 270 of file chan_dahdi.h.
Referenced by native_start(), and process_dahdi().
struct { ... } echocancel |
Echo cancel parameters.
Referenced by dahdi_ec_enable(), and process_echocancel().
unsigned int echocanon |
TRUE if echo cancellation is turned on.
Definition at line 272 of file chan_dahdi.h.
Referenced by dahdi_ec_disable(), dahdi_ec_enable(), dahdi_func_write(), dahdi_handle_event(), and dahdi_train_ec().
char echorest[20] |
Filled with 'w'. XXX Purpose??
Definition at line 636 of file chan_dahdi.h.
Referenced by dahdi_handle_event().
int echotraining |
Echo training time. 0 = disabled.
Definition at line 634 of file chan_dahdi.h.
Referenced by dahdi_handle_event(), dahdi_train_ec(), and process_dahdi().
char exten[AST_MAX_EXTENSION] |
Extension to use in the dialplan.
Definition at line 502 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_call(), dahdi_hangup(), and dahdi_new().
int fake_event |
Holding place for event injected from outside normal operation.
Definition at line 722 of file chan_dahdi.h.
Referenced by __dahdi_exception(), dahdi_fake_event(), dahdi_handle_event(), dahdi_new(), dahdi_read(), and my_get_event().
int faxbuf_no |
Number of Fax buffers
Definition at line 141 of file chan_dahdi.h.
Referenced by dahdi_handle_dtmf(), my_handle_dtmf(), and process_dahdi().
int faxbuf_policy |
Fax buffer policy
Definition at line 142 of file chan_dahdi.h.
Referenced by dahdi_handle_dtmf(), my_handle_dtmf(), and process_dahdi().
unsigned int faxdetect_timeout |
The number of seconds into call to disable fax detection. (0 = disabled)
Definition at line 675 of file chan_dahdi.h.
Referenced by dahdi_read(), and process_dahdi().
unsigned int faxhandled |
TRUE if a fax tone has already been handled.
Definition at line 274 of file chan_dahdi.h.
Referenced by dahdi_handle_dtmf(), dahdi_hangup(), my_all_subchannels_hungup(), and my_handle_dtmf().
char finaldial[64] |
Second part of SIG_FEATDMF_TA wink operation.
Definition at line 699 of file chan_dahdi.h.
Referenced by dahdi_handle_event().
int firstdigit_timeout |
Time (ms) to detect first digit (in an analog phone)
Definition at line 680 of file chan_dahdi.h.
Referenced by analog_ss_thread(), and process_dahdi().
unsigned int firstradio |
TRUE if over a radio and dahdi_read() has been called.
Definition at line 280 of file chan_dahdi.h.
Referenced by dahdi_read().
struct timeval flashtime |
Last flash-hook time
Definition at line 692 of file chan_dahdi.h.
Referenced by __dahdi_exception(), and dahdi_handle_event().
Bitmapped groups this belongs to.
Definition at line 552 of file chan_dahdi.h.
Referenced by dahdi_ami_channel_event(), dahdi_func_read(), is_group_or_channel_match(), and process_dahdi().
time_t guardtime |
Must wait this much time before using for new call
Definition at line 587 of file chan_dahdi.h.
Referenced by dahdi_hangup().
unsigned int hanguponpolarityswitch |
TRUE if the call will be considered "hung up" on a polarity reversal.
Definition at line 285 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_handle_event(), handle_init_event(), my_hangup_polarityswitch(), my_start_polarityswitch(), and process_dahdi().
unsigned int hardwaredtmf |
TRUE if DTMF detection needs to be done by hardware.
Definition at line 295 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_dtmf_detect_disable(), dahdi_dtmf_detect_enable(), dahdi_new(), and my_dsp_set_digitmode().
struct dahdi_echocanparams head |
Definition at line 627 of file chan_dahdi.h.
Referenced by dahdi_ec_enable(), and process_echocancel().
unsigned int hidecallerid |
TRUE if the outgoing caller ID is blocked/hidden.
Definition at line 302 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_call(), dahdi_hangup(), and process_dahdi().
unsigned int hidecalleridname |
TRUE if hide just the name not the number for legacy PBX use.
Definition at line 308 of file chan_dahdi.h.
Referenced by process_dahdi().
float hwrxgain |
Hardware Rx gain set by chan_dahdi.conf.
Definition at line 154 of file chan_dahdi.h.
Referenced by process_dahdi().
unsigned int hwrxgain_enabled |
TRUE if hardware Rx gain set by Asterisk.
Definition at line 467 of file chan_dahdi.h.
Referenced by process_dahdi().
float hwtxgain |
Hardware Tx gain set by chan_dahdi.conf.
Definition at line 156 of file chan_dahdi.h.
Referenced by process_dahdi().
unsigned int hwtxgain_enabled |
TRUE if hardware Tx gain set by Asterisk.
Definition at line 469 of file chan_dahdi.h.
Referenced by process_dahdi().
unsigned int ignoredtmf |
TRUE if DTMF detection is disabled.
Definition at line 310 of file chan_dahdi.h.
Referenced by dahdi_dtmf_detect_disable(), dahdi_dtmf_detect_enable(), dahdi_hangup(), dahdi_queryoption(), and dahdi_read().
unsigned int immediate |
TRUE if the channel should be answered immediately without attempting to gather any digits.
Definition at line 316 of file chan_dahdi.h.
Referenced by analog_ss_thread(), handle_init_event(), and process_dahdi().
unsigned int immediatering |
TRUE if audible ringback should be provided when immediate = yes.
Definition at line 322 of file chan_dahdi.h.
Referenced by process_dahdi().
unsigned int inalarm |
TRUE if in an alarm condition.
Definition at line 324 of file chan_dahdi.h.
Referenced by analog_ss_thread(), available(), dahdi_handle_event(), dahdi_read(), handle_init_event(), mwi_thread(), my_distinctive_ring(), and my_set_alarm().
int inconference |
If our real should be in the conference
Definition at line 136 of file chan_dahdi.h.
Referenced by dahdi_conf_update(), dahdi_master_slave_unlink(), my_complete_conference_update(), and native_start().
unsigned int inservice |
TRUE if channel is out of reset and ready.
Definition at line 442 of file chan_dahdi.h.
int interdigit_timeout |
Time (ms) to detect following digits (in an analog phone)
Definition at line 685 of file chan_dahdi.h.
Referenced by analog_ss_thread(), and process_dahdi().
char language[MAX_LANGUAGE] |
Language configured for calls.
Definition at line 507 of file chan_dahdi.h.
Referenced by dahdi_new(), and process_dahdi().
int law |
Active PCM encoding format: DAHDI_LAW_ALAW or DAHDI_LAW_MULAW.
Definition at line 556 of file chan_dahdi.h.
Referenced by bump_gains(), calc_energy(), dahdi_call(), dahdi_hangup(), dahdi_new(), dahdi_setoption(), isslavenative(), my_all_subchannels_hungup(), and restore_gains().
int law_default |
Default call PCM encoding format: DAHDI_LAW_ALAW or DAHDI_LAW_MULAW.
Definition at line 554 of file chan_dahdi.h.
Referenced by dahdi_hangup(), dahdi_new(), and my_all_subchannels_hungup().
unsigned int locallyblocked |
Bitmask for the channel being locally blocked.
Definition at line 451 of file chan_dahdi.h.
Referenced by available().
ast_mutex_t lock |
Channel private lock.
Definition at line 125 of file chan_dahdi.h.
Referenced by __dahdi_exception(), analog_ss_thread(), attempt_transfer(), create_channel_name(), dahdi_answer(), dahdi_call(), dahdi_digit_begin(), dahdi_digit_end(), dahdi_exception(), dahdi_fixup(), dahdi_func_read(), dahdi_func_write(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_lock_sub_owner(), dahdi_master_slave_unlink(), dahdi_queue_frame(), dahdi_read(), dahdi_request(), dahdi_sendtext(), dahdi_softhangup_all(), dahdi_write(), destroy_dahdi_pvt(), do_monitor(), duplicate_pseudo(), handle_init_event(), my_deadlock_avoidance_private(), my_handle_dtmf(), my_lock_private(), my_unlock_private(), native_bridge_is_capable(), native_start(), and native_stop().
char mailbox[AST_MAX_MAILBOX_UNIQUEID] |
Voice mailbox location.
Definition at line 709 of file chan_dahdi.h.
Referenced by handle_init_event(), has_voicemail(), mwi_thread(), my_handle_notify_message(), and process_dahdi().
unsigned int manages_span_alarms |
TRUE if the channel alarms will be managed also as Span ones.
Definition at line 465 of file chan_dahdi.h.
Referenced by destroy_dahdi_pvt(), handle_alarms(), and handle_clear_alarms().
struct dahdi_pvt* master |
Master to us (we follow their conferencing)
Definition at line 135 of file chan_dahdi.h.
Referenced by check_for_conference(), dahdi_conf_update(), dahdi_master_slave_link(), dahdi_master_slave_unlink(), my_complete_conference_update(), and native_start().
int matchdigit_timeout |
Time (ms) to wait, in case of ambiguous match (in an analog phone)
Definition at line 690 of file chan_dahdi.h.
Referenced by analog_ss_thread(), and process_dahdi().
unsigned int mate |
TRUE if TDD in MATE mode.
Definition at line 326 of file chan_dahdi.h.
Referenced by dahdi_queryoption(), dahdi_sendtext(), and dahdi_setoption().
char mohinterpret[MAX_MUSICCLASS] |
The configured music-on-hold class to use for calls.
Definition at line 512 of file chan_dahdi.h.
Referenced by dahdi_indicate(), and process_dahdi().
char mohsuggest[MAX_MUSICCLASS] |
Suggested music-on-hold class for peer channel to use for calls.
Definition at line 517 of file chan_dahdi.h.
Referenced by dahdi_handle_event(), dahdi_hangup(), and process_dahdi().
int muting |
TRUE if confrence is muted.
Definition at line 763 of file chan_dahdi.h.
Referenced by dahdi_hangup(), dahdi_new(), and dahdi_read().
struct ast_mwi_subscriber* mwi_event_sub |
Opaque event subscription parameters for message waiting indication support.
Definition at line 711 of file chan_dahdi.h.
Referenced by destroy_dahdi_pvt().
unsigned int mwimonitor_fsk |
TRUE if the FXO port monitors for fsk type MWI indications from the other end.
Definition at line 423 of file chan_dahdi.h.
Referenced by do_monitor(), and process_dahdi().
unsigned int mwimonitor_neon |
TRUE if the FXO port monitors for neon type MWI indications from the other end.
Definition at line 418 of file chan_dahdi.h.
Referenced by handle_init_event(), my_handle_notify_message(), and process_dahdi().
unsigned int mwimonitor_rpas |
TRUE if the FXO port monitors for rpas precursor to fsk MWI indications from the other end.
Definition at line 429 of file chan_dahdi.h.
Referenced by my_handle_notify_message(), and process_dahdi().
unsigned int mwimonitoractive |
TRUE if an MWI monitor thread is currently active.
Definition at line 431 of file chan_dahdi.h.
Referenced by do_monitor(), and mwi_thread().
unsigned int mwioverride_active |
TRUE if a manual MWI override is active for a channel.
Definition at line 435 of file chan_dahdi.h.
Referenced by dahdi_set_mwi(), and has_voicemail().
unsigned int mwioverride_disposition |
Manual MWI disposition (on/off)
Definition at line 437 of file chan_dahdi.h.
Referenced by dahdi_set_mwi(), and has_voicemail().
struct mwisend_info mwisend_data |
Definition at line 480 of file chan_dahdi.h.
Referenced by mwi_send_init(), mwi_send_process_buffer(), and mwi_send_process_event().
unsigned int mwisendactive |
TRUE if a MWI message sending thread is active.
Definition at line 433 of file chan_dahdi.h.
Referenced by do_monitor(), mwi_send_init(), mwi_send_process_buffer(), and mwi_send_process_event().
struct ast_namedgroups* named_callgroups |
Named call groups this belongs to.
Definition at line 574 of file chan_dahdi.h.
Referenced by dahdi_new(), destroy_dahdi_pvt(), and process_dahdi().
struct ast_namedgroups* named_pickupgroups |
Named pickup groups this belongs to.
Definition at line 579 of file chan_dahdi.h.
Referenced by dahdi_new(), destroy_dahdi_pvt(), and process_dahdi().
struct dahdi_pvt* next |
Next channel in list
Definition at line 169 of file chan_dahdi.h.
Referenced by __unload_module(), dahdi_cc_callback(), dahdi_create_channel_range(), dahdi_destroy_channel_range(), dahdi_iflist_extract(), dahdi_iflist_insert(), dahdi_request(), dahdi_restart(), dahdi_set_dnd(), dahdi_set_mwi(), dahdi_softhangup_all(), destroy_dahdi_pvt(), determine_starting_point(), do_monitor(), duplicate_pseudo(), find_channel(), and find_next_iface_in_span().
int oprmode |
"Operator Services" mode
Definition at line 151 of file chan_dahdi.h.
Referenced by __dahdi_exception(), available(), dahdi_answer(), dahdi_call(), dahdi_dnd(), dahdi_exception(), dahdi_fixup(), dahdi_handle_event(), dahdi_hangup(), dahdi_new(), dahdi_read(), dahdi_request(), dahdi_setoption(), do_monitor(), mwi_thread(), and my_get_sigpvt_bridged_channel().
struct dahdi_pvt* oprpeer |
"Operator Services" peer tech_pvt ptr
Definition at line 152 of file chan_dahdi.h.
Referenced by dahdi_handle_event(), and dahdi_setoption().
char* origcid_name |
malloced original callerid
Definition at line 539 of file chan_dahdi.h.
Referenced by dahdi_handle_event(), and dahdi_hangup().
char* origcid_num |
malloced original callerid
Definition at line 538 of file chan_dahdi.h.
Referenced by dahdi_handle_event(), and dahdi_hangup().
unsigned int outgoing |
TRUE if we originated the call leg.
Definition at line 328 of file chan_dahdi.h.
Referenced by dahdi_call(), dahdi_handle_event(), dahdi_hangup(), dahdi_new(), dahdi_read(), dahdi_request(), my_have_progressdetect(), and my_set_outgoing().
int outsigmod |
Outbound Signalling style (modifier)
Definition at line 150 of file chan_dahdi.h.
Referenced by dahdi_call(), dahdi_handle_event(), and process_dahdi().
struct ast_channel* owner |
Our current active owner (if applicable) Up to three channels can be associated with this call
Definition at line 127 of file chan_dahdi.h.
Referenced by __dahdi_exception(), __unload_module(), action_dahdidialoffhook(), analog_ss_thread(), available(), dahdi_digit_begin(), dahdi_digit_end(), dahdi_fake_event(), dahdi_fixup(), dahdi_handle_event(), dahdi_hangup(), dahdi_new(), dahdi_queue_frame(), dahdi_read(), dahdi_request(), dahdi_restart(), dahdi_softhangup_all(), dahdi_write(), destroy_channel(), destroy_dahdi_pvt(), do_monitor(), my_all_subchannels_hungup(), my_set_new_owner(), native_chan_changed(), and native_start().
struct dahdi_echocanparam params[DAHDI_MAX_ECHOCANPARAMS] |
Definition at line 628 of file chan_dahdi.h.
Referenced by process_echocancel().
char parkinglot[AST_MAX_EXTENSION] |
Parking lot for this channel
Definition at line 518 of file chan_dahdi.h.
Referenced by dahdi_new(), and process_dahdi().
unsigned int permcallwaiting |
TRUE if busy extensions will hear the call-waiting tone and can use hook-flash to switch between callers.
Definition at line 334 of file chan_dahdi.h.
Referenced by dahdi_hangup().
unsigned int permhidecallerid |
TRUE if the outgoing caller ID is blocked/restricted/hidden.
Definition at line 339 of file chan_dahdi.h.
Referenced by dahdi_hangup().
ast_group_t pickupgroup |
Bitmapped pickup groups this belongs to.
Definition at line 569 of file chan_dahdi.h.
Referenced by dahdi_new(), and process_dahdi().
int polarity |
Current line interface polarity. POLARITY_IDLE, POLARITY_REV.
Definition at line 736 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_handle_event(), dahdi_hangup(), handle_init_event(), my_set_polarity(), polarity_read(), polarity_write(), and unalloc_sub().
struct timeval polaritydelaytv |
Start delay time if polarityonanswerdelay is nonzero.
Definition at line 729 of file chan_dahdi.h.
Referenced by dahdi_handle_event().
int polarityonanswerdelay |
Minimal time period (ms) between the answer polarity switch and hangup polarity switch.
Definition at line 727 of file chan_dahdi.h.
Referenced by dahdi_handle_event(), and process_dahdi().
struct dahdi_pvt* prev |
Prev channel in list
Definition at line 170 of file chan_dahdi.h.
Referenced by dahdi_cc_callback(), dahdi_iflist_extract(), dahdi_iflist_insert(), dahdi_request(), determine_starting_point(), duplicate_pseudo(), and find_next_iface_in_span().
unsigned int priexclusive |
TRUE if PRI B channels are always exclusively selected.
Definition at line 349 of file chan_dahdi.h.
Referenced by process_dahdi().
unsigned int priindication_oob |
TRUE if PRI congestion/busy indications are sent out-of-band.
Definition at line 344 of file chan_dahdi.h.
Referenced by process_dahdi().
int propconfno |
Propagated conference number
Definition at line 559 of file chan_dahdi.h.
unsigned int pulse |
TRUE if we will pulse dial.
Definition at line 354 of file chan_dahdi.h.
Referenced by dahdi_digit_begin(), dahdi_digit_end(), and process_dahdi().
unsigned int pulsedial |
TRUE if a pulsed digit was detected. (Pulse dial phone detected)
Definition at line 356 of file chan_dahdi.h.
Referenced by dahdi_handle_event(), dahdi_hangup(), dahdi_read(), and my_set_pulsedial().
int radio |
Nonzero if the signaling type is sent over a radio.
Definition at line 148 of file chan_dahdi.h.
Referenced by __dahdi_exception(), available(), dahdi_answer(), dahdi_call(), dahdi_dnd(), dahdi_exception(), dahdi_fixup(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_new(), dahdi_read(), dahdi_request(), do_monitor(), handle_init_event(), mwi_thread(), my_get_sigpvt_bridged_channel(), and process_dahdi().
char rdnis[AST_MAX_EXTENSION] |
Redirecting Directory Number Information Service (RDNIS) number.
Definition at line 545 of file chan_dahdi.h.
Referenced by dahdi_hangup(), and dahdi_new().
unsigned int remotelyblocked |
Bitmask for the channel being remotely blocked. 1 maintenance, 2 blocked in hardware.
Definition at line 460 of file chan_dahdi.h.
Referenced by available().
unsigned int reoriginate |
TRUE if FXS (FXO-signalled) channel should reoriginate for user to make a new call.
Definition at line 289 of file chan_dahdi.h.
Referenced by dahdi_hangup(), and process_dahdi().
unsigned int restartpending |
flag to ensure counted only once for restart
Definition at line 357 of file chan_dahdi.h.
Referenced by dahdi_hangup(), and dahdi_softhangup_all().
unsigned int restrictcid |
TRUE if caller ID is restricted.
Definition at line 363 of file chan_dahdi.h.
Referenced by process_dahdi().
int ringt |
Ring timeout timer??
Definition at line 603 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), handle_init_event(), mwi_thread(), and my_set_ringtimeout().
int ringt_base |
Ring timeout base.
Definition at line 608 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_handle_event(), handle_init_event(), and mwi_thread().
float rxdrc |
Definition at line 165 of file chan_dahdi.h.
Referenced by bump_gains(), dahdi_call(), dahdi_setoption(), process_dahdi(), and restore_gains().
float rxgain |
Software Rx gain set by chan_dahdi.conf.
Definition at line 160 of file chan_dahdi.h.
Referenced by bump_gains(), dahdi_call(), dahdi_func_read(), dahdi_setoption(), process_dahdi(), and restore_gains().
struct dahdi_confinfo saveconf |
Saved conference info
Definition at line 132 of file chan_dahdi.h.
Referenced by restore_conference(), and save_conference().
int sendcalleridafter |
Send caller ID on FXS after this many rings. Set to 1 for US.
Definition at line 734 of file chan_dahdi.h.
Referenced by my_set_cadence(), and process_dahdi().
int sig |
Signalling style
Definition at line 143 of file chan_dahdi.h.
Referenced by action_transfer(), action_transferhangup(), analog_ss_thread(), available(), dahdi_answer(), dahdi_call(), dahdi_cc_callback(), dahdi_confmute(), dahdi_digit_begin(), dahdi_digit_end(), dahdi_dnd(), dahdi_ec_enable(), dahdi_exception(), dahdi_fixup(), dahdi_func_read(), dahdi_func_write(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_new(), dahdi_queryoption(), dahdi_read(), dahdi_request(), dahdi_sendtext(), dahdi_setoption(), destroy_dahdi_pvt(), do_monitor(), fxo_pvt(), handle_alarms(), handle_clear_alarms(), handle_init_event(), mwi_thread(), my_get_sigpvt_bridged_channel(), my_is_off_hook(), native_bridge_is_capable(), native_start(), and process_dahdi().
void* sig_pvt |
Definition at line 764 of file chan_dahdi.h.
Referenced by available(), dahdi_answer(), dahdi_call(), dahdi_confmute(), dahdi_digit_begin(), dahdi_dnd(), dahdi_ec_enable(), dahdi_exception(), dahdi_fixup(), dahdi_func_read(), dahdi_func_write(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_read(), dahdi_request(), dahdi_sendtext(), dahdi_setoption(), destroy_dahdi_pvt(), do_monitor(), handle_init_event(), mwi_thread(), my_distinctive_ring(), my_get_callerid(), my_get_sigpvt_bridged_channel(), my_send_callerid(), and native_start().
struct dahdi_pvt* slaves[MAX_SLAVES] |
Slave to us (follows our conferencing)
Definition at line 134 of file chan_dahdi.h.
Referenced by dahdi_conf_update(), dahdi_master_slave_link(), dahdi_master_slave_unlink(), isslavenative(), and my_complete_conference_update().
struct ast_smdi_interface* smdi_iface |
The SMDI interface to get SMDI messages from.
Definition at line 482 of file chan_dahdi.h.
Referenced by analog_ss_thread(), and destroy_dahdi_pvt().
int span |
Span number
Definition at line 586 of file chan_dahdi.h.
Referenced by action_dahdishowstatus(), create_channel_name(), dahdi_ami_channel_event(), dahdi_cc_callback(), dahdi_func_read(), destroy_all_channels(), find_next_iface_in_span(), get_alarms(), handle_alarms(), handle_clear_alarms(), is_group_or_channel_match(), and publish_span_alarm_clear().
int stripmsd |
Number of most significant digits/characters to strip from the dialed number.
Definition at line 615 of file chan_dahdi.h.
Referenced by dahdi_call(), and process_dahdi().
struct dahdi_subchannel sub_unused |
Just a safety precaution
Definition at line 130 of file chan_dahdi.h.
struct dahdi_subchannel subs[3] |
Sub-channels
Definition at line 131 of file chan_dahdi.h.
Referenced by __dahdi_exception(), _dahdi_get_index(), alloc_sub(), analog_ss_thread(), attempt_transfer(), bump_gains(), check_for_conference(), create_channel_name(), dahdi_call(), dahdi_close_sub(), dahdi_conf_update(), dahdi_confmute(), dahdi_destroy_channel_range(), dahdi_dial_str(), dahdi_digit_begin(), dahdi_digit_end(), dahdi_dtmf_detect_disable(), dahdi_dtmf_detect_enable(), dahdi_ec_disable(), dahdi_ec_enable(), dahdi_fixup(), dahdi_func_write(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_lock_sub_owner(), dahdi_master_slave_unlink(), dahdi_new(), dahdi_read(), dahdi_restart(), dahdi_ring_phone(), dahdi_sendtext(), dahdi_setoption(), dahdi_train_ec(), dahdi_wink(), dahdi_write(), destroy_channel(), do_monitor(), duplicate_pseudo(), get_alarms(), handle_init_event(), isslavenative(), mwi_send_init(), mwi_send_process_buffer(), mwi_send_process_event(), mwi_thread(), my_all_subchannels_hungup(), my_complete_conference_update(), my_conf_add(), my_conf_del(), my_dahdi_write(), my_distinctive_ring(), my_flash(), my_get_callerid(), my_get_event(), my_get_sub_fd(), my_handle_dtmf(), my_is_dialing(), my_is_off_hook(), my_off_hook(), my_on_hook(), my_play_tone(), my_set_cadence(), my_set_inthreeway(), my_set_linear_mode(), my_set_needringing(), my_set_polarity(), my_start(), my_start_cid_detect(), my_stop_cid_detect(), my_swap_subchannels(), my_wait_event(), native_chan_changed(), native_start(), reset_conf(), restore_conference(), restore_gains(), revert_fax_buffers(), save_conference(), send_callerid(), swap_subs(), unalloc_sub(), and wakeup_sub().
struct tdd_state* tdd |
TDD flag
Definition at line 702 of file chan_dahdi.h.
Referenced by dahdi_queryoption(), dahdi_read(), dahdi_sendtext(), and dahdi_setoption().
unsigned int threewaycalling |
TRUE if three way calling is enabled.
Definition at line 368 of file chan_dahdi.h.
Referenced by dahdi_handle_event(), and process_dahdi().
unsigned int threewaysilenthold |
TRUE if a three way dial tone should time out to silence.
Definition at line 373 of file chan_dahdi.h.
Referenced by process_dahdi().
int tonezone |
tone zone for this chan, or -1 for default
Definition at line 167 of file chan_dahdi.h.
Referenced by process_dahdi().
unsigned int transfer |
TRUE if call transfer is enabled.
Definition at line 382 of file chan_dahdi.h.
Referenced by analog_ss_thread(), dahdi_handle_event(), native_start(), and process_dahdi().
unsigned int transfertobusy |
TRUE if allowed to flash-transfer to busy channels.
Definition at line 413 of file chan_dahdi.h.
Referenced by dahdi_handle_event(), and process_dahdi().
float txdrc |
Dynamic Range Compression factor. a number between 1 and 6ish
Definition at line 164 of file chan_dahdi.h.
Referenced by bump_gains(), dahdi_call(), dahdi_setoption(), process_dahdi(), and restore_gains().
float txgain |
Software Tx gain set by chan_dahdi.conf.
Definition at line 162 of file chan_dahdi.h.
Referenced by bump_gains(), dahdi_call(), dahdi_func_read(), dahdi_setoption(), process_dahdi(), and restore_gains().
unsigned int use_callerid |
TRUE if caller ID is used on this channel.
Definition at line 390 of file chan_dahdi.h.
Referenced by analog_ss_thread(), and process_dahdi().
unsigned int use_callingpres |
TRUE if we will use the calling presentation setting from the Asterisk channel for outgoing calls.
Definition at line 397 of file chan_dahdi.h.
Referenced by process_dahdi().
unsigned int use_smdi |
TRUE if SMDI (Simplified Message Desk Interface) is enabled.
Definition at line 479 of file chan_dahdi.h.
Referenced by analog_ss_thread(), destroy_dahdi_pvt(), and process_dahdi().
unsigned int usedistinctiveringdetection |
TRUE if distinctive rings are to be detected.
Definition at line 403 of file chan_dahdi.h.
Referenced by analog_ss_thread().
unsigned int usefaxbuffers |
TRUE if dynamic faxbuffers are configured for use, default is OFF
Definition at line 276 of file chan_dahdi.h.
Referenced by dahdi_handle_dtmf(), my_handle_dtmf(), and process_dahdi().
struct ast_variable* vars |
Channel variable list with associated values to set when a channel is created.
Definition at line 584 of file chan_dahdi.h.
Referenced by dahdi_new(), destroy_dahdi_pvt(), and process_dahdi().
int waitfordialtone |
Number of milliseconds to wait for dialtone.
Definition at line 656 of file chan_dahdi.h.
Referenced by dahdi_new(), my_set_waitingfordt(), and process_dahdi().
int waitfordialtoneduration |
Transient variable. Stored off waitfordialtone duration at runtime.
Definition at line 664 of file chan_dahdi.h.
Referenced by dahdi_read(), and my_set_waitingfordt().
int waitfordialtonetemp |
Transient variable. Same as waitfordialtone, but temporarily set for a specific call, rather than permanently for the channel.
Definition at line 660 of file chan_dahdi.h.
Referenced by dahdi_func_write(), and my_set_waitingfordt().
struct timeval waitingfordt |
Time we started waiting for dialtone
Definition at line 691 of file chan_dahdi.h.
Referenced by dahdi_call(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), my_check_waitingfordt(), and my_set_waitingfordt().
enum DAHDI_IFLIST which_iflist |
Which interface list is this structure listed?
Definition at line 168 of file chan_dahdi.h.
Referenced by dahdi_iflist_extract(), dahdi_iflist_insert(), destroy_dahdi_pvt(), and duplicate_pseudo().
int whichwink |
SIG_FEATDMF_TA Which wink are we on?
Definition at line 697 of file chan_dahdi.h.
Referenced by dahdi_handle_event().