
Data Fields | |
| char | accountcode [AST_MAX_ACCOUNT_CODE] |
| unsigned int | adsi:1 |
| TRUE if ADSI (Analog Display Services Interface) available. | |
| unsigned int | allocated:1 |
| TRUE when this channel is allocated. | |
| unsigned int | alreadyhungup:1 |
| TRUE if the call has already gone/hungup. | |
| int | amaflags |
| unsigned int | answeronpolarityswitch:1 |
| TRUE if we can use a polarity reversal to mark when an outgoing call is answered by the remote party. | |
| struct dahdi_pvt * | bearer |
| XXX Purpose??? | |
| char | begindigit |
| DTMF digit in progress. 0 when no digit in progress. | |
| int | buf_no |
| int | buf_policy |
| unsigned int | bufferoverrideinuse:1 |
| TRUE while dynamic faxbuffers are in use. | |
| int | bufsize |
| int | busy_quietlength |
| Length of "busy" tone off time. | |
| int | busy_tonelength |
| Length of "busy" tone on time. | |
| int | busycount |
| Number of times to see "busy" tone before hanging up. | |
| unsigned int | busydetect:1 |
| TRUE if busy detection is enabled. (Listens for the beep-beep busy pattern.) | |
| q931_call * | call |
| Opaque libpri call control structure. | |
| char | call_forward [AST_MAX_EXTENSION] |
| Accumulated call forwarding number. | |
| enum dahdi_call_level | call_level |
| unsigned int | call_ref_ident |
| unsigned int | call_ref_pc |
| ast_group_t | callgroup |
| Bitmapped call groups this belongs to. | |
| unsigned char | calling_party_cat |
| int | callingpres |
| int | callprogress |
| Bitmapped call progress detection flags. CALLPROGRESS_xxx values. | |
| unsigned int | callreturn:1 |
| TRUE if call return is enabled. (*69, if your dialplan doesn't catch this first) | |
| char | callwait_name [AST_MAX_EXTENSION] |
| Call waiting name. | |
| char | callwait_num [AST_MAX_EXTENSION] |
| Call waiting number. | |
| int | callwaitcas |
| TRUE if Call Waiting (CW) CPE Alert Signal (CAS) is being sent. | |
| unsigned int | callwaiting:1 |
| TRUE if busy extensions will hear the call-waiting tone and can use hook-flash to switch between callers. | |
| unsigned int | callwaitingcallerid:1 |
| TRUE if send caller ID for Call Waiting. | |
| int | callwaitingrepeat |
| int | callwaitrings |
| Number of call waiting rings. | |
| unsigned int | cancallforward:1 |
| TRUE if support for call forwarding enabled. Dial *72 to enable call forwarding. Dial *73 to disable call forwarding. | |
| unsigned int | canpark:1 |
| TRUE if support for call parking is enabled. | |
| int | channel |
| char | charge_number [50] |
| int | cic |
| char | cid_ani [AST_MAX_EXTENSION] |
| Automatic Number Identification number (Alternate PRI caller ID number) | |
| int | cid_ani2 |
| Automatic Number Identification code from PRI. | |
| char | cid_name [AST_MAX_EXTENSION] |
| Caller ID name from an incoming call. | |
| char | cid_num [AST_MAX_EXTENSION] |
| Caller ID number from an incoming call. | |
| float | cid_rxgain |
| Amount of gain to increase during caller id. | |
| int | cid_signalling |
| int | cid_start |
| int | cid_suppress_expire |
| int | cid_ton |
| Caller ID Q.931 TON/NPI field values. Set by PRI. Zero otherwise. | |
| int | cidcwexpire |
| int | cidlen |
| Length of the cidspill buffer containing samples. | |
| int | cidpos |
| Position in the cidspill buffer to send out next. | |
| int | cidrings |
| unsigned char * | cidspill |
| Analog caller ID waveform sample buffer. | |
| unsigned int | confirmanswer:1 |
| TRUE if to wait for a DTMF digit to confirm answer. | |
| int | confno |
| int | confusers |
| char | context [AST_MAX_CONTEXT] |
| The configured context for incoming calls. | |
| unsigned int | dahditrcallerid:1 |
| TRUE if we should use the callerid from incoming call on dahdi transfer. | |
| char | defcontext [AST_MAX_CONTEXT] |
| Saved context string. | |
| unsigned int | destroy:1 |
| TRUE if the channel is to be destroyed on hangup. (Used by pseudo channels.) | |
| char | dialdest [256] |
| Delayed dialing for E911. Overlap digits for ISDN. | |
| unsigned int | dialednone:1 |
| TRUE if analog type line dialed no digits in Dial() | |
| unsigned int | dialing:1 |
| TRUE if in the process of dialing digits or sending something. | |
| unsigned int | didtdd:1 |
| unsigned int | digital:1 |
| TRUE if the transfer capability of the call is digital. | |
| int | distinctivering |
| unsigned int | dnd:1 |
| TRUE if Do-Not-Disturb is enabled. | |
| char | dnid [AST_MAX_EXTENSION] |
| Dialed Number Identifier. | |
| struct dahdi_dialoperation | dop |
| DAHDI dial operation command struct for ioctl() call. | |
| unsigned int | dpc |
| struct dahdi_distRings | drings |
| Distinctive Ring data. | |
| struct ast_dsp * | dsp |
| Opaque DSP configuration structure. | |
| int | dsp_features |
| DSP feature flags: DSP_FEATURE_xxx. | |
| int | dtmfrelax |
| unsigned int | echobreak:1 |
| XXX BOOLEAN Purpose??? | |
| unsigned int | echocanbridged:1 |
| TRUE if echo cancellation enabled when bridged. | |
| struct { | |
| struct dahdi_echocanparams head | |
| struct dahdi_echocanparam params [DAHDI_MAX_ECHOCANPARAMS] | |
| } | echocancel |
| unsigned int | echocanon:1 |
| TRUE if echo cancellation is turned on. | |
| char | echorest [20] |
| Filled with 'w'. XXX Purpose?? | |
| int | echotraining |
| Echo training time. 0 = disabled. | |
| char | exten [AST_MAX_EXTENSION] |
| Extension to use in the dialplan. | |
| int | fake_event |
| Holding place for event injected from outside normal operation. | |
| int | faxbuf_no |
| int | faxbuf_policy |
| unsigned int | faxhandled:1 |
| TRUE if a fax tone has already been handled. | |
| char | finaldial [64] |
| Second part of SIG_FEATDMF_TA wink operation. | |
| unsigned int | firstradio:1 |
| TRUE if over a radio and dahdi_read() has been called. | |
| struct timeval | flashtime |
| int | fxsoffhookstate |
| TRUE if the FXS port is off-hook. | |
| unsigned char | gen_add_nai |
| unsigned char | gen_add_num_plan |
| char | gen_add_number [50] |
| unsigned char | gen_add_pres_ind |
| unsigned char | gen_add_type |
| char | gen_dig_number [50] |
| unsigned char | gen_dig_scheme |
| unsigned char | gen_dig_type |
| char | generic_name [50] |
| ast_group_t | group |
| Bitmapped groups this belongs to. | |
| time_t | guardtime |
| unsigned int | hanguponpolarityswitch:1 |
| TRUE if the call will be considered "hung up" on a polarity reversal. | |
| unsigned int | hardwaredtmf:1 |
| TRUE if DTMF detection needs to be done by hardware. | |
| unsigned int | hidecallerid:1 |
| TRUE if the outgoing caller ID is blocked/hidden. | |
| unsigned int | hidecalleridname:1 |
| TRUE if hide just the name not the number for legacy PBX use. | |
| unsigned int | ignoredtmf:1 |
| TRUE if DTMF detection is disabled. | |
| unsigned int | immediate:1 |
| TRUE if the channel should be answered immediately without attempting to gather any digits. | |
| unsigned int | inalarm:1 |
| TRUE if in an alarm condition. | |
| int | inconference |
| unsigned int | inservice:1 |
| TRUE if channel is out of reset and ready. | |
| unsigned int | isidlecall:1 |
| TRUE if this is an idle call. | |
| char | jip_number [50] |
| char | language [MAX_LANGUAGE] |
| Language configured for calls. | |
| char | lastcid_name [AST_MAX_EXTENSION] |
| Last Caller ID name from an incoming call. | |
| char | lastcid_num [AST_MAX_EXTENSION] |
| Last Caller ID number from an incoming call. | |
| int | law |
| Active PCM encoding format: DAHDI_LAW_ALAW or DAHDI_LAW_MULAW. | |
| unsigned int | locallyblocked:1 |
| TRUE if the channel is locally blocked. | |
| ast_mutex_t | lock |
| int | logicalspan |
| Logical span number within trunk group. | |
| unsigned int | loopedback:1 |
| unsigned char | lspi_context |
| char | lspi_ident [50] |
| unsigned char | lspi_scheme |
| unsigned char | lspi_type |
| char | mailbox [AST_MAX_EXTENSION] |
| Voice mailbox location. | |
| struct dahdi_pvt * | master |
| unsigned int | mate:1 |
| TRUE if TDD in MATE mode. | |
| struct dahdi_mfcr2 * | mfcr2 |
| int | mfcr2_accept_on_offer:1 |
| int | mfcr2_allow_collect_calls:1 |
| int | mfcr2_ani_index |
| int | mfcr2_answer_pending:1 |
| int | mfcr2_call_accepted:1 |
| openr2_calling_party_category_t | mfcr2_category |
| int | mfcr2_charge_calls:1 |
| int | mfcr2_dnis_index |
| int | mfcr2_dnis_matched:1 |
| int | mfcr2_forced_release:1 |
| int | mfcr2_progress:1 |
| openr2_calling_party_category_t | mfcr2_recvd_category |
| int | mfcr2call:1 |
| char | mohinterpret [MAX_MUSICCLASS] |
| The configured music-on-hold class to use for calls. | |
| char | mohsuggest [MAX_MUSICCLASS] |
| Suggested music-on-hold class for peer channel to use for calls. | |
| int | msgstate |
| -1 = unknown, 0 = no messages, 1 = new messages available | |
| int | muting |
| TRUE if confrence is muted. | |
| struct ast_event_sub * | mwi_event_sub |
| Opaque event subscription parameters for message waiting indication support. | |
| unsigned int | mwimonitor_fsk:1 |
| TRUE if the FXO port monitors for fsk type MWI indications from the other end. | |
| unsigned int | mwimonitor_neon:1 |
| TRUE if the FXO port monitors for neon type MWI indications from the other end. | |
| unsigned int | mwimonitor_rpas:1 |
| TRUE if the FXO port monitors for rpas precursor to fsk MWI indications from the other end. | |
| unsigned int | mwimonitoractive:1 |
| TRUE if an MWI monitor thread is currently active. | |
| struct mwisend_info | mwisend_data |
| unsigned int | mwisend_fsk: 1 |
| unsigned int | mwisend_rpas:1 |
| struct dahdi_vmwi_info | mwisend_setting |
| unsigned int | mwisendactive:1 |
| TRUE if a MWI message sending thread is active. | |
| struct dahdi_pvt * | next |
| int | onhooktime |
| Time the interface went on-hook. | |
| int | oprmode |
| struct dahdi_pvt * | oprpeer |
| char | orig_called_num [50] |
| char * | origcid_name |
| char * | origcid_num |
| unsigned int | outgoing:1 |
| TRUE if we originated the call leg. | |
| 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. | |
| unsigned int | permhidecallerid:1 |
| TRUE if the outgoing caller ID is blocked/restricted/hidden. | |
| ast_group_t | pickupgroup |
| Bitmapped pickup groups this belongs to. | |
| int | polarity |
| Current line interface polarity. POLARITY_IDLE, POLARITY_REV. | |
| struct timeval | polaritydelaytv |
| Start delay time if polarityonanswerdelay is nonzero. | |
| int | polarityonanswerdelay |
| Minimal time period (ms) between the answer polarity switch and hangup polarity switch. | |
| struct dahdi_pvt * | prev |
| struct dahdi_pri * | pri |
| DAHDI PRI control parameters. | |
| unsigned int | priexclusive:1 |
| TRUE if PRI B channels are always exclusively selected. | |
| unsigned int | priindication_oob:1 |
| TRUE if PRI congestion/busy indications are sent out-of-band. | |
| int | prioffset |
| Channel number in span. | |
| unsigned int | progress:1 |
| TRUE if the call has seen inband-information progress through the network. | |
| int | propconfno |
| unsigned int | pulse:1 |
| TRUE if we will pulse dial. | |
| unsigned int | pulsedial:1 |
| TRUE if a pulsed digit was detected. (Pulse dial phone detected) | |
| openr2_chan_t * | r2chan |
| int | radio |
| Nonzero if the signaling type is sent over a radio. | |
| char | rdnis [AST_MAX_EXTENSION] |
| Redirecting Directory Number Information Service (RDNIS) number. | |
| struct dahdi_pvt * | realcall |
| XXX Purpose??? | |
| char | redirecting_num [50] |
| unsigned int | remotelyblocked:1 |
| TRUE if the channel is remotely blocked. | |
| unsigned int | resetting:1 |
| TRUE if this channel is being reset/restarted. | |
| unsigned int | restartpending:1 |
| unsigned int | restrictcid:1 |
| TRUE if caller ID is restricted. | |
| int | ringt |
| Ring timeout timer?? | |
| int | ringt_base |
| Ring timeout base. | |
| unsigned int | rlt:1 |
| XXX BOOLEAN Purpose??? | |
| float | rxgain |
| Rx gain set by chan_dahdi.conf. | |
| struct dahdi_confinfo | saveconf |
| int | sendcalleridafter |
| Send caller ID after this many rings. | |
| int | sig |
| struct dahdi_pvt * | slaves [MAX_SLAVES] |
| struct ast_smdi_interface * | smdi_iface |
| The serial port to listen for SMDI data on. | |
| int | span |
| struct dahdi_ss7 * | ss7 |
| SS7 control parameters. | |
| struct isup_call * | ss7call |
| Opaque libss7 call control structure. | |
| int | stripmsd |
| Number of most significant digits/characters to strip from the dialed number. | |
| 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. | |
| int | tonezone |
| int | transcap |
| unsigned int | transfer:1 |
| TRUE if call transfer is enabled. | |
| unsigned int | transfertobusy:1 |
| TRUE if allowed to flash-transfer to busy channels. | |
| float | txgain |
| Tx gain set by chan_dahdi.conf. | |
| unsigned int | use_callerid:1 |
| TRUE if caller ID is used on this channel. | |
| unsigned int | use_callingpres:1 |
| TRUE if we will use the calling presentation setting from the Asterisk channel for outgoing calls. | |
| unsigned int | use_smdi:1 |
| TRUE if SMDI (Simplified Message Desk Interface) is enabled. | |
| unsigned int | usedistinctiveringdetection:1 |
| TRUE if distinctive rings are to be detected. | |
| unsigned int | usefaxbuffers:1 |
| TRUE if dynamic faxbuffers are configured for use, default is OFF. | |
| struct ast_variable * | vars |
| Channel variable list with associated values to set when a channel is created. | |
| int | waitfordialtone |
| Number of milliseconds to wait for dialtone. | |
| struct timeval | waitingfordt |
| int | whichwink |
Definition at line 686 of file chan_dahdi.c.
| char accountcode[AST_MAX_ACCOUNT_CODE] |
Account code
Definition at line 1168 of file chan_dahdi.c.
Referenced by dahdi_new(), mkintf(), and process_dahdi().
| unsigned int adsi |
TRUE if ADSI (Analog Display Services Interface) available.
Definition at line 729 of file chan_dahdi.c.
Referenced by dahdi_new(), mkintf(), and process_dahdi().
| unsigned int allocated |
TRUE when this channel is allocated.
Needed to hold an outgoing channel allocation before the owner pointer is created.
Definition at line 849 of file chan_dahdi.c.
Referenced by dahdi_hangup(), dahdi_request(), dahdi_show_channel(), sig_pri_available(), and sig_pri_is_chan_in_use().
| unsigned int alreadyhungup |
TRUE if the call has already gone/hungup.
Definition at line 981 of file chan_dahdi.c.
Referenced by dahdi_hangup(), dahdi_new(), pri_dchannel(), and ss7_linkset().
| int amaflags |
AMA Flags
Definition at line 1169 of file chan_dahdi.c.
Referenced by dahdi_new(), mkintf(), and 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 735 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_handle_event(), mkintf(), and process_dahdi().
XXX Purpose???
Definition at line 1214 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_handle_event(), dahdi_hangup(), dahdi_new(), dahdi_request(), dahdi_show_channel(), pri_assign_bearer(), pri_dchannel(), and pri_fixup_principle().
| char begindigit |
DTMF digit in progress. 0 when no digit in progress.
Definition at line 1276 of file chan_dahdi.c.
Referenced by dahdi_digit_begin(), and dahdi_digit_end().
| int buf_no |
Number of buffers
Definition at line 700 of file chan_dahdi.c.
Referenced by alloc_sub(), dahdi_hangup(), duplicate_pseudo(), mkintf(), and process_dahdi().
| int buf_policy |
Buffer policy
Definition at line 701 of file chan_dahdi.c.
Referenced by alloc_sub(), dahdi_hangup(), duplicate_pseudo(), mkintf(), and process_dahdi().
| unsigned int bufferoverrideinuse |
TRUE while dynamic faxbuffers are in use.
Definition at line 803 of file chan_dahdi.c.
Referenced by dahdi_func_write(), dahdi_handle_dtmf(), and dahdi_hangup().
| int bufsize |
Size of the buffers
Definition at line 699 of file chan_dahdi.c.
Referenced by dahdi_func_write(), dahdi_handle_dtmf(), dahdi_hangup(), and mkintf().
| int busy_quietlength |
Length of "busy" tone off time.
Definition at line 1147 of file chan_dahdi.c.
Referenced by dahdi_new(), dahdi_show_channel(), mkintf(), and process_dahdi().
| int busy_tonelength |
Length of "busy" tone on time.
Definition at line 1142 of file chan_dahdi.c.
Referenced by dahdi_new(), dahdi_show_channel(), mkintf(), and process_dahdi().
| int busycount |
Number of times to see "busy" tone before hanging up.
Definition at line 1137 of file chan_dahdi.c.
Referenced by dahdi_new(), dahdi_show_channel(), mkintf(), and process_dahdi().
| unsigned int busydetect |
TRUE if busy detection is enabled. (Listens for the beep-beep busy pattern.)
Definition at line 741 of file chan_dahdi.c.
Referenced by dahdi_new(), dahdi_read(), dahdi_show_channel(), mkintf(), and process_dahdi().
| q931_call* call |
Opaque libpri call control structure.
Definition at line 1218 of file chan_dahdi.c.
Referenced by dahdi_answer(), dahdi_bridge(), dahdi_call(), dahdi_digit_begin(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_send_callrerouting_facility_exec(), dahdi_send_keypad_facility_exec(), dahdi_show_channel(), mkintf(), pri_assign_bearer(), pri_dchannel(), pri_find_principle_by_call(), pri_fixup_principle(), sig_pri_is_chan_in_use(), sig_pri_kill_call(), and ss_thread().
| char call_forward[AST_MAX_EXTENSION] |
Accumulated call forwarding number.
Definition at line 1172 of file chan_dahdi.c.
Referenced by dahdi_new(), and ss_thread().
Call establishment life cycle level for simple comparisons.
Definition at line 996 of file chan_dahdi.c.
Referenced by dahdi_answer(), dahdi_call(), dahdi_digit_begin(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_read(), pri_dchannel(), ss7_linkset(), ss7_start_call(), and ss_thread().
| unsigned int call_ref_ident |
Definition at line 1250 of file chan_dahdi.c.
Referenced by ss7_start_call().
| unsigned int call_ref_pc |
Definition at line 1251 of file chan_dahdi.c.
Referenced by dahdi_call(), and ss7_start_call().
Bitmapped call groups this belongs to.
Definition at line 1072 of file chan_dahdi.c.
Referenced by dahdi_new(), mkintf(), and process_dahdi().
| unsigned char calling_party_cat |
Definition at line 1252 of file chan_dahdi.c.
Referenced by ss7_linkset(), and ss7_start_call().
| int callingpres |
The value of calling presentation that we're going to use when placing a PRI call
Definition at line 1088 of file chan_dahdi.c.
Referenced by dahdi_new(), pri_dchannel(), and ss7_linkset().
| int callprogress |
Bitmapped call progress detection flags. CALLPROGRESS_xxx values.
Definition at line 1152 of file chan_dahdi.c.
Referenced by dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_new(), dahdi_read(), mkintf(), and process_dahdi().
| unsigned int callreturn |
TRUE if call return is enabled. (*69, if your dialplan doesn't catch this first)
Definition at line 747 of file chan_dahdi.c.
Referenced by mkintf(), process_dahdi(), and ss_thread().
| char callwait_name[AST_MAX_EXTENSION] |
Call waiting name.
Definition at line 1053 of file chan_dahdi.c.
Referenced by dahdi_call(), and send_cwcidspill().
| char callwait_num[AST_MAX_EXTENSION] |
Call waiting number.
Definition at line 1051 of file chan_dahdi.c.
Referenced by dahdi_call(), and send_cwcidspill().
| int callwaitcas |
TRUE if Call Waiting (CW) CPE Alert Signal (CAS) is being sent.
Definition at line 1118 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_callwait(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), dahdi_show_channel(), 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 754 of file chan_dahdi.c.
Referenced by available(), dahdi_bridge(), dahdi_hangup(), mkintf(), process_dahdi(), and ss_thread().
| unsigned int callwaitingcallerid |
TRUE if send caller ID for Call Waiting.
Definition at line 759 of file chan_dahdi.c.
Referenced by dahdi_bridge(), dahdi_callwait(), mkintf(), and process_dahdi().
How many samples to wait before repeating call waiting
Definition at line 1089 of file chan_dahdi.c.
Referenced by __dahdi_exception(), dahdi_callwait(), dahdi_handle_event(), dahdi_hangup(), and dahdi_read().
| int callwaitrings |
Number of call waiting rings.
Definition at line 1120 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_callwait(), and dahdi_read().
| 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 766 of file chan_dahdi.c.
Referenced by mkintf(), process_dahdi(), and ss_thread().
| unsigned int canpark |
TRUE if support for call parking is enabled.
Definition at line 771 of file chan_dahdi.c.
Referenced by mkintf(), process_dahdi(), and ss_thread().
| int channel |
Channel Number or CRV
Definition at line 1083 of file chan_dahdi.c.
Referenced by __dahdi_exception(), _dahdi_get_index(), action_dahdidialoffhook(), action_dahdidndoff(), action_dahdidndon(), action_dahdishowchannels(), action_transfer(), action_transferhangup(), alloc_sub(), available(), check_for_conference(), dahdi_answer(), dahdi_bridge(), dahdi_call(), dahdi_confmute(), dahdi_destroy_channel_bynum(), dahdi_disable_ec(), dahdi_dnd(), dahdi_enable_ec(), dahdi_fixup(), dahdi_func_write(), dahdi_handle_event(), dahdi_hangup(), dahdi_link(), dahdi_loopback(), dahdi_new(), dahdi_r2_disconnect_call(), dahdi_r2_on_call_accepted(), dahdi_r2_on_call_end(), dahdi_r2_on_call_offered(), dahdi_r2_on_hardware_alarm(), dahdi_read(), dahdi_request(), dahdi_sendtext(), dahdi_set_dnd(), dahdi_set_hwgain(), dahdi_set_swgain(), dahdi_setoption(), dahdi_show_channel(), dahdi_show_channels(), dahdi_train_ec(), dahdi_unlink(), dahdi_write(), destroy_all_channels(), do_idle_thread(), do_monitor(), enable_dtmf_detect(), find_channel(), get_alarms(), handle_alarms(), handle_init_event(), handle_mfcr2_call_files(), handle_mfcr2_set_blocked(), handle_mfcr2_set_debug(), handle_mfcr2_set_idle(), handle_mfcr2_show_channels(), isourconf(), mkintf(), mwi_thread(), my_dahdi_write(), pri_dchannel(), pri_find_crv(), pri_fixup_principle(), reset_conf(), ss7_start_call(), ss_thread(), unalloc_sub(), and update_conf().
| char charge_number[50] |
Definition at line 1233 of file chan_dahdi.c.
Referenced by ss7_linkset(), and ss7_start_call().
| int cic |
CIC associated with channel
Definition at line 1254 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_hangup(), dahdi_show_channel(), handle_ss7_block_linkset(), handle_ss7_unblock_linkset(), mkintf(), ss7_block_cics(), ss7_find_cic(), ss7_handle_cqm(), ss7_hangup_cics(), ss7_inservice(), ss7_linkset(), ss7_reset_linkset(), and ss7_start_call().
| char cid_ani[AST_MAX_EXTENSION] |
Automatic Number Identification number (Alternate PRI caller ID number)
Definition at line 1034 of file chan_dahdi.c.
Referenced by dahdi_new(), pri_dchannel(), and ss7_linkset().
| int cid_ani2 |
Automatic Number Identification code from PRI.
Definition at line 1037 of file chan_dahdi.c.
Referenced by dahdi_new(), pri_dchannel(), and ss7_linkset().
| char cid_name[AST_MAX_EXTENSION] |
Caller ID name from an incoming call.
Definition at line 1043 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), dahdi_hangup(), dahdi_new(), dahdi_r2_on_ani_digit_received(), dahdi_r2_on_call_init(), dahdi_r2_on_call_offered(), dahdi_show_channel(), mkintf(), mwi_send_init(), pri_dchannel(), process_dahdi(), ss7_linkset(), and ss_thread().
| char cid_num[AST_MAX_EXTENSION] |
Caller ID number from an incoming call.
Definition at line 1039 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), dahdi_hangup(), dahdi_new(), dahdi_r2_on_ani_digit_received(), dahdi_r2_on_call_init(), dahdi_r2_on_call_offered(), dahdi_r2_on_dnis_digit_received(), dahdi_show_channel(), mkintf(), mwi_send_init(), pri_dchannel(), process_dahdi(), ss7_linkset(), and ss_thread().
| float cid_rxgain |
Amount of gain to increase during caller id.
Definition at line 714 of file chan_dahdi.c.
Referenced by bump_gains(), mkintf(), and process_dahdi().
| int cid_signalling |
CID signalling type bell202 or v23
Definition at line 1086 of file chan_dahdi.c.
Referenced by mkintf(), mwi_thread(), process_dahdi(), and ss_thread().
| int cid_start |
CID start indicator, polarity or ring
Definition at line 1087 of file chan_dahdi.c.
Referenced by handle_init_event(), mkintf(), process_dahdi(), and ss_thread().
How many samples to suppress after a CID spill.
Definition at line 1091 of file chan_dahdi.c.
Referenced by __dahdi_exception(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), send_callerid(), and send_cwcidspill().
| int cid_ton |
Caller ID Q.931 TON/NPI field values. Set by PRI. Zero otherwise.
Definition at line 1041 of file chan_dahdi.c.
Referenced by dahdi_new(), dahdi_show_channel(), mkintf(), pri_dchannel(), and ss7_linkset().
| int cidcwexpire |
When to stop waiting for CID/CW CAS response (In samples)
Definition at line 1090 of file chan_dahdi.c.
Referenced by __dahdi_exception(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), send_callerid(), and send_cwcidspill().
| int cidlen |
Length of the cidspill buffer containing samples.
Definition at line 1097 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_callwait(), mwi_send_init(), mwi_send_process_buffer(), mwi_send_process_event(), send_callerid(), and send_cwcidspill().
| int cidpos |
Position in the cidspill buffer to send out next.
Definition at line 1095 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_callwait(), mwi_send_init(), mwi_send_process_buffer(), mwi_send_process_event(), send_callerid(), and send_cwcidspill().
| int cidrings |
Which ring to deliver CID on
Definition at line 1194 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_handle_event(), dahdi_hangup(), and dahdi_read().
| unsigned char* cidspill |
Analog caller ID waveform sample buffer.
Definition at line 1093 of file chan_dahdi.c.
Referenced by dahdi_call(), 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(), send_callerid(), and send_cwcidspill().
| unsigned int confirmanswer |
TRUE if to wait for a DTMF digit to confirm answer.
Definition at line 773 of file chan_dahdi.c.
Referenced by dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_request(), and pri_dchannel().
| int confno |
Our conference
Definition at line 1065 of file chan_dahdi.c.
Referenced by check_for_conference(), conf_add(), dahdi_show_channel(), isourconf(), mkintf(), reset_conf(), and update_conf().
| int confusers |
Who is using our conference
Definition at line 1066 of file chan_dahdi.c.
| char context[AST_MAX_CONTEXT] |
The configured context for incoming calls.
Definition at line 1009 of file chan_dahdi.c.
Referenced by action_dahdishowchannels(), dahdi_new(), dahdi_r2_on_call_offered(), dahdi_r2_on_dnis_digit_received(), dahdi_show_channel(), dahdi_show_channels(), handle_mfcr2_show_channels(), mkintf(), pri_dchannel(), process_dahdi(), ss7_linkset(), and ss_thread().
| unsigned int dahditrcallerid |
TRUE if we should use the callerid from incoming call on dahdi transfer.
Definition at line 928 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), mkintf(), and process_dahdi().
| char defcontext[AST_MAX_CONTEXT] |
Saved context string.
Definition at line 1013 of file chan_dahdi.c.
Referenced by mkintf(), and ss_thread().
| unsigned int destroy |
TRUE if the channel is to be destroyed on hangup. (Used by pseudo channels.)
Definition at line 778 of file chan_dahdi.c.
Referenced by dahdi_hangup(), dahdi_show_channel(), duplicate_pseudo(), and mkintf().
| char dialdest[256] |
Delayed dialing for E911. Overlap digits for ISDN.
Definition at line 1181 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_digit_begin(), dahdi_handle_event(), and pri_dchannel().
| unsigned int dialednone |
TRUE if analog type line dialed no digits in Dial()
Definition at line 781 of file chan_dahdi.c.
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 783 of file chan_dahdi.c.
Referenced by __dahdi_exception(), dahdi_answer(), dahdi_call(), dahdi_digit_begin(), dahdi_digit_end(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_r2_on_call_accepted(), dahdi_read(), dahdi_show_channel(), dahdi_write(), pri_dchannel(), and ss7_linkset().
| unsigned int didtdd |
flag to say its done it once
Definition at line 779 of file chan_dahdi.c.
Referenced by dahdi_hangup(), and dahdi_setoption().
| unsigned int digital |
TRUE if the transfer capability of the call is digital.
Definition at line 785 of file chan_dahdi.c.
Referenced by dahdi_answer(), dahdi_call(), dahdi_enable_ec(), dahdi_hangup(), dahdi_indicate(), dahdi_new(), dahdi_request(), and pri_dchannel().
| int distinctivering |
Variable for enabling Ring Pulse Alert before MWI FSK Spill Which distinctivering to use
Definition at line 1193 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_hangup(), and dahdi_request().
| unsigned int dnd |
TRUE if Do-Not-Disturb is enabled.
Definition at line 787 of file chan_dahdi.c.
Referenced by action_dahdidndoff(), action_dahdidndon(), action_dahdishowchannels(), available(), dahdi_dnd(), and dahdi_show_channel().
| char dnid[AST_MAX_EXTENSION] |
Dialed Number Identifier.
Definition at line 1057 of file chan_dahdi.c.
Referenced by dahdi_new(), pri_dchannel(), and ss7_linkset().
| struct dahdi_dialoperation dop |
DAHDI dial operation command struct for ioctl() call.
Definition at line 1164 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_handle_event(), dahdi_indicate(), dahdi_read(), pri_dchannel(), and ss_thread().
| unsigned int dpc |
CIC's DPC
Definition at line 1255 of file chan_dahdi.c.
Referenced by dahdi_call(), mkintf(), ss7_block_cics(), ss7_find_cic(), ss7_handle_cqm(), ss7_hangup_cics(), ss7_inservice(), ss7_linkset(), and ss7_reset_linkset().
| struct dahdi_distRings drings |
Distinctive Ring data.
Definition at line 1003 of file chan_dahdi.c.
Referenced by mkintf(), process_dahdi(), and ss_thread().
Opaque DSP configuration structure.
Definition at line 1161 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_handle_event(), dahdi_hangup(), dahdi_new(), dahdi_read(), dahdi_setoption(), dahdi_show_channel(), disable_dtmf_detect(), enable_dtmf_detect(), mkintf(), pri_dchannel(), ss7_linkset(), and ss_thread().
| int dsp_features |
DSP feature flags: DSP_FEATURE_xxx.
Definition at line 1227 of file chan_dahdi.c.
Referenced by dahdi_new(), dahdi_read(), disable_dtmf_detect(), enable_dtmf_detect(), pri_dchannel(), and ss7_linkset().
| int dtmfrelax |
whether to run in relaxed DTMF mode
Definition at line 1195 of file chan_dahdi.c.
Referenced by dahdi_hangup(), dahdi_new(), dahdi_setoption(), dahdi_show_channel(), mkintf(), process_dahdi(), and ss_thread().
| unsigned int echobreak |
XXX BOOLEAN Purpose???
Definition at line 789 of file chan_dahdi.c.
Referenced by dahdi_call(), and dahdi_handle_event().
| unsigned int echocanbridged |
TRUE if echo cancellation enabled when bridged.
Definition at line 795 of file chan_dahdi.c.
Referenced by dahdi_bridge(), dahdi_show_channel(), mkintf(), and process_dahdi().
| struct { ... } echocancel |
Referenced by dahdi_enable_ec(), dahdi_show_channel(), mkintf(), and process_echocancel().
| unsigned int echocanon |
TRUE if echo cancellation is turned on.
Definition at line 797 of file chan_dahdi.c.
Referenced by dahdi_disable_ec(), dahdi_enable_ec(), dahdi_handle_event(), dahdi_show_channel(), and dahdi_train_ec().
| char echorest[20] |
Filled with 'w'. XXX Purpose??
Definition at line 1132 of file chan_dahdi.c.
Referenced by dahdi_call(), and dahdi_handle_event().
| int echotraining |
Echo training time. 0 = disabled.
Definition at line 1130 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_handle_event(), dahdi_train_ec(), mkintf(), and process_dahdi().
| char exten[AST_MAX_EXTENSION] |
Extension to use in the dialplan.
Definition at line 1015 of file chan_dahdi.c.
Referenced by dahdi_hangup(), dahdi_new(), dahdi_r2_on_call_init(), dahdi_r2_on_call_offered(), dahdi_r2_on_dnis_digit_received(), dahdi_show_channel(), dahdi_show_channels(), pri_dchannel(), ss7_linkset(), ss7_start_call(), and ss_thread().
| int fake_event |
Holding place for event injected from outside normal operation.
Definition at line 1197 of file chan_dahdi.c.
Referenced by __dahdi_exception(), dahdi_fake_event(), dahdi_handle_event(), dahdi_new(), and dahdi_read().
| int faxbuf_no |
Number of Fax buffers
Definition at line 702 of file chan_dahdi.c.
Referenced by dahdi_handle_dtmf(), mkintf(), and process_dahdi().
| int faxbuf_policy |
Fax buffer policy
Definition at line 703 of file chan_dahdi.c.
Referenced by dahdi_handle_dtmf(), mkintf(), and process_dahdi().
| unsigned int faxhandled |
TRUE if a fax tone has already been handled.
Definition at line 799 of file chan_dahdi.c.
Referenced by dahdi_handle_dtmf(), dahdi_hangup(), and dahdi_show_channel().
| char finaldial[64] |
Second part of SIG_FEATDMF_TA wink operation.
Definition at line 1167 of file chan_dahdi.c.
Referenced by dahdi_call(), and dahdi_handle_event().
| unsigned int firstradio |
TRUE if over a radio and dahdi_read() has been called.
Definition at line 805 of file chan_dahdi.c.
Referenced by dahdi_read(), and mkintf().
| struct timeval flashtime |
Last flash-hook time
Definition at line 1159 of file chan_dahdi.c.
Referenced by __dahdi_exception(), and dahdi_handle_event().
| int fxsoffhookstate |
TRUE if the FXS port is off-hook.
Definition at line 1185 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), dahdi_hangup(), do_monitor(), handle_init_event(), and mkintf().
| unsigned char gen_add_nai |
Definition at line 1240 of file chan_dahdi.c.
Referenced by dahdi_call(), and ss7_linkset().
| unsigned char gen_add_num_plan |
Definition at line 1239 of file chan_dahdi.c.
Referenced by dahdi_call(), and ss7_linkset().
| char gen_add_number[50] |
Definition at line 1234 of file chan_dahdi.c.
Referenced by ss7_linkset(), and ss7_start_call().
| unsigned char gen_add_pres_ind |
Definition at line 1241 of file chan_dahdi.c.
Referenced by dahdi_call(), and ss7_linkset().
| unsigned char gen_add_type |
Definition at line 1242 of file chan_dahdi.c.
Referenced by dahdi_call(), and ss7_linkset().
| char gen_dig_number[50] |
Definition at line 1235 of file chan_dahdi.c.
Referenced by ss7_linkset(), and ss7_start_call().
| unsigned char gen_dig_scheme |
Definition at line 1244 of file chan_dahdi.c.
Referenced by dahdi_call(), ss7_linkset(), and ss7_start_call().
| unsigned char gen_dig_type |
Definition at line 1243 of file chan_dahdi.c.
Referenced by dahdi_call(), ss7_linkset(), and ss7_start_call().
| char generic_name[50] |
Definition at line 1238 of file chan_dahdi.c.
Referenced by ss7_linkset(), and ss7_start_call().
Bitmapped groups this belongs to.
Definition at line 1062 of file chan_dahdi.c.
Referenced by available(), dahdi_show_channels(), handle_mfcr2_show_channels(), mkintf(), and process_dahdi().
| time_t guardtime |
Must wait this much time before using for new call
Definition at line 1085 of file chan_dahdi.c.
Referenced by available(), and dahdi_hangup().
| unsigned int hanguponpolarityswitch |
TRUE if the call will be considered "hung up" on a polarity reversal.
Definition at line 810 of file chan_dahdi.c.
Referenced by dahdi_answer(), dahdi_call(), dahdi_handle_event(), handle_init_event(), mkintf(), process_dahdi(), and ss_thread().
| unsigned int hardwaredtmf |
TRUE if DTMF detection needs to be done by hardware.
Definition at line 812 of file chan_dahdi.c.
Referenced by dahdi_new(), disable_dtmf_detect(), enable_dtmf_detect(), and ss_thread().
| struct dahdi_echocanparams head |
Definition at line 1123 of file chan_dahdi.c.
Referenced by dahdi_enable_ec(), dahdi_show_channel(), mkintf(), and process_echocancel().
| unsigned int hidecallerid |
TRUE if the outgoing caller ID is blocked/hidden.
Definition at line 819 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_hangup(), mkintf(), process_dahdi(), and ss_thread().
| unsigned int hidecalleridname |
TRUE if hide just the name not the number for legacy PBX use.
Definition at line 825 of file chan_dahdi.c.
Referenced by dahdi_call(), mkintf(), and process_dahdi().
| unsigned int ignoredtmf |
TRUE if DTMF detection is disabled.
Definition at line 827 of file chan_dahdi.c.
Referenced by dahdi_hangup(), dahdi_read(), disable_dtmf_detect(), and enable_dtmf_detect().
| unsigned int immediate |
TRUE if the channel should be answered immediately without attempting to gather any digits.
Definition at line 833 of file chan_dahdi.c.
Referenced by dahdi_r2_on_call_offered(), dahdi_r2_on_dnis_digit_received(), handle_init_event(), mkintf(), pri_dchannel(), process_dahdi(), ss7_linkset(), and ss_thread().
| unsigned int inalarm |
TRUE if in an alarm condition.
Definition at line 835 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), dahdi_r2_on_hardware_alarm(), dahdi_read(), dahdi_request(), dahdi_show_channel(), handle_init_event(), mkintf(), mwi_thread(), pri_dchannel(), sig_pri_is_chan_in_use(), ss7_linkset(), and ss_thread().
| int inconference |
If our real should be in the conference
Definition at line 697 of file chan_dahdi.c.
Referenced by dahdi_bridge(), dahdi_show_channel(), dahdi_unlink(), and update_conf().
| unsigned int inservice |
TRUE if channel is out of reset and ready.
Definition at line 958 of file chan_dahdi.c.
Referenced by mkintf(), pri_dchannel(), ss7_inservice(), and ss7_linkset().
| unsigned int isidlecall |
TRUE if this is an idle call.
Definition at line 986 of file chan_dahdi.c.
Referenced by dahdi_new(), and pri_dchannel().
| char jip_number[50] |
Definition at line 1245 of file chan_dahdi.c.
Referenced by ss7_linkset(), and ss7_start_call().
| char language[MAX_LANGUAGE] |
Language configured for calls.
Definition at line 1020 of file chan_dahdi.c.
Referenced by dahdi_new(), dahdi_show_channels(), mkintf(), and process_dahdi().
| char lastcid_name[AST_MAX_EXTENSION] |
Last Caller ID name from an incoming call.
Definition at line 1047 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_read(), and pri_dchannel().
| char lastcid_num[AST_MAX_EXTENSION] |
Last Caller ID number from an incoming call.
Definition at line 1045 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_read(), pri_dchannel(), and ss_thread().
| int law |
Active PCM encoding format: DAHDI_LAW_ALAW or DAHDI_LAW_MULAW.
Definition at line 1064 of file chan_dahdi.c.
Referenced by bump_gains(), dahdi_call(), dahdi_hangup(), dahdi_set_swgain(), dahdi_setoption(), dahdi_show_channel(), isslavenative(), mkintf(), and restore_gains().
| unsigned int locallyblocked |
TRUE if the channel is locally blocked.
Definition at line 963 of file chan_dahdi.c.
Referenced by available(), dahdi_show_channels(), handle_mfcr2_set_blocked(), handle_mfcr2_set_idle(), handle_ss7_block_cic(), handle_ss7_unblock_cic(), mkintf(), ss7_handle_cqm(), and ss7_linkset().
Channel private lock.
Definition at line 687 of file chan_dahdi.c.
Referenced by dahdi_accept_r2_call_exec(), dahdi_answer(), dahdi_bridge(), dahdi_call(), dahdi_digit_begin(), dahdi_digit_end(), dahdi_exception(), dahdi_fixup(), dahdi_func_read(), dahdi_handle_dtmf(), dahdi_hangup(), dahdi_indicate(), dahdi_lock_sub_owner(), dahdi_queue_frame(), dahdi_r2_disconnect_call(), dahdi_r2_on_call_disconnect(), dahdi_r2_on_call_end(), dahdi_r2_on_call_init(), dahdi_r2_on_call_offered(), dahdi_r2_on_hardware_alarm(), dahdi_r2_on_line_blocked(), dahdi_r2_on_line_idle(), dahdi_r2_on_protocol_error(), dahdi_read(), dahdi_request(), dahdi_send_callrerouting_facility_exec(), dahdi_send_keypad_facility_exec(), dahdi_softhangup_all(), dahdi_unlink(), destroy_dahdi_pvt(), duplicate_pseudo(), handle_mfcr2_set_blocked(), handle_mfcr2_set_idle(), mkintf(), pri_dchannel(), pri_grab(), pri_hangup_all(), sig_pri_kill_call(), sig_pri_lock_owner(), ss7_grab(), ss7_hangup_cics(), ss7_linkset(), ss7_start_call(), and ss_thread().
| int logicalspan |
Logical span number within trunk group.
Definition at line 1222 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_show_channel(), mkintf(), pri_dchannel(), pri_find_empty_chan(), pri_find_principle(), and pri_fixup_principle().
| unsigned int loopedback |
Definition at line 1256 of file chan_dahdi.c.
Referenced by dahdi_loopback(), and ss7_linkset().
| unsigned char lspi_context |
Definition at line 1248 of file chan_dahdi.c.
| char lspi_ident[50] |
Definition at line 1249 of file chan_dahdi.c.
Referenced by dahdi_call(), and ss7_start_call().
| unsigned char lspi_scheme |
Definition at line 1247 of file chan_dahdi.c.
| unsigned char lspi_type |
Definition at line 1246 of file chan_dahdi.c.
| char mailbox[AST_MAX_EXTENSION] |
Voice mailbox location.
Definition at line 1177 of file chan_dahdi.c.
Referenced by dahdi_show_channel(), do_monitor(), handle_init_event(), has_voicemail(), mkintf(), mwi_thread(), process_dahdi(), and ss_thread().
Master to us (we follow their conferencing)
Definition at line 696 of file chan_dahdi.c.
Referenced by check_for_conference(), dahdi_link(), dahdi_show_channel(), dahdi_unlink(), and update_conf().
| unsigned int mate |
TRUE if TDD in MATE mode.
Definition at line 837 of file chan_dahdi.c.
Referenced by dahdi_sendtext(), and dahdi_setoption().
| struct dahdi_mfcr2* mfcr2 |
Definition at line 1259 of file chan_dahdi.c.
Referenced by available(), dahdi_accept_r2_call_exec(), dahdi_call(), dahdi_hangup(), dahdi_indicate(), dahdi_read(), dahdi_request(), dahdi_show_channel(), and mkintf().
Definition at line 1273 of file chan_dahdi.c.
Referenced by dahdi_r2_on_call_accepted(), dahdi_r2_on_call_offered(), dahdi_show_channel(), and mkintf().
Definition at line 1268 of file chan_dahdi.c.
Referenced by dahdi_r2_on_call_offered(), dahdi_show_channel(), and mkintf().
| int mfcr2_ani_index |
Definition at line 1264 of file chan_dahdi.c.
Referenced by dahdi_r2_on_ani_digit_received(), dahdi_r2_on_call_init(), and mkintf().
Definition at line 1266 of file chan_dahdi.c.
Referenced by dahdi_answer(), dahdi_r2_on_call_accepted(), and dahdi_r2_on_call_init().
Definition at line 1271 of file chan_dahdi.c.
Referenced by dahdi_accept_r2_call_exec(), dahdi_answer(), dahdi_call(), dahdi_indicate(), dahdi_r2_on_call_accepted(), dahdi_r2_on_call_init(), and dahdi_read().
| openr2_calling_party_category_t mfcr2_category |
Definition at line 1262 of file chan_dahdi.c.
Referenced by dahdi_r2_get_channel_category(), and mkintf().
Definition at line 1267 of file chan_dahdi.c.
Referenced by dahdi_answer(), dahdi_r2_on_call_offered(), dahdi_show_channel(), and mkintf().
| int mfcr2_dnis_index |
Definition at line 1263 of file chan_dahdi.c.
Referenced by dahdi_r2_on_call_init(), dahdi_r2_on_dnis_digit_received(), and mkintf().
Definition at line 1270 of file chan_dahdi.c.
Referenced by dahdi_r2_on_call_init(), and dahdi_r2_on_dnis_digit_received().
Definition at line 1269 of file chan_dahdi.c.
Referenced by dahdi_hangup(), dahdi_show_channel(), and mkintf().
| int mfcr2_progress |
Definition at line 1272 of file chan_dahdi.c.
Referenced by dahdi_call(), and dahdi_read().
| openr2_calling_party_category_t mfcr2_recvd_category |
Definition at line 1261 of file chan_dahdi.c.
Referenced by dahdi_new(), and dahdi_r2_on_call_offered().
| int mfcr2call |
Definition at line 1265 of file chan_dahdi.c.
Referenced by available(), dahdi_accept_r2_call_exec(), dahdi_hangup(), dahdi_new(), dahdi_r2_disconnect_call(), dahdi_r2_on_call_end(), dahdi_r2_on_call_init(), dahdi_r2_on_protocol_error(), dahdi_request(), handle_mfcr2_set_idle(), and mkintf().
| char mohinterpret[MAX_MUSICCLASS] |
The configured music-on-hold class to use for calls.
Definition at line 1025 of file chan_dahdi.c.
Referenced by dahdi_indicate(), dahdi_show_channels(), mkintf(), and process_dahdi().
| char mohsuggest[MAX_MUSICCLASS] |
Suggested music-on-hold class for peer channel to use for calls.
Definition at line 1030 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), dahdi_hangup(), mkintf(), and process_dahdi().
| int msgstate |
-1 = unknown, 0 = no messages, 1 = new messages available
Definition at line 1187 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), do_monitor(), and mkintf().
| int muting |
TRUE if confrence is muted.
Definition at line 1278 of file chan_dahdi.c.
Referenced by dahdi_hangup(), dahdi_new(), and dahdi_read().
| struct ast_event_sub* mwi_event_sub |
Opaque event subscription parameters for message waiting indication support.
Definition at line 1179 of file chan_dahdi.c.
Referenced by destroy_dahdi_pvt(), and mkintf().
| unsigned int mwimonitor_fsk |
TRUE if the FXO port monitors for fsk type MWI indications from the other end.
Definition at line 943 of file chan_dahdi.c.
Referenced by do_monitor(), mkintf(), 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 938 of file chan_dahdi.c.
Referenced by handle_init_event(), mkintf(), 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 949 of file chan_dahdi.c.
Referenced by mkintf(), process_dahdi(), and ss_thread().
| unsigned int mwimonitoractive |
TRUE if an MWI monitor thread is currently active.
Definition at line 951 of file chan_dahdi.c.
Referenced by do_monitor(), and mwi_thread().
| struct mwisend_info mwisend_data |
Definition at line 998 of file chan_dahdi.c.
Referenced by mwi_send_init(), mwi_send_process_buffer(), and mwi_send_process_event().
| unsigned int mwisend_fsk |
Definition at line 1190 of file chan_dahdi.c.
Referenced by mkintf(), mwi_send_init(), mwi_send_process_buffer(), and process_dahdi().
| unsigned int mwisend_rpas |
Variable for enabling FSK MWI handling in chan_dahdi
Definition at line 1191 of file chan_dahdi.c.
Referenced by mkintf(), mwi_send_init(), and process_dahdi().
| struct dahdi_vmwi_info mwisend_setting |
Which VMWI methods to use
Definition at line 1189 of file chan_dahdi.c.
Referenced by mkintf(), and process_dahdi().
| unsigned int mwisendactive |
TRUE if a MWI message sending thread is active.
Definition at line 953 of file chan_dahdi.c.
Referenced by do_monitor(), mwi_send_init(), mwi_send_process_buffer(), and mwi_send_process_event().
Next channel in list
Definition at line 720 of file chan_dahdi.c.
Referenced by __unload_module(), action_dahdishowchannels(), dahdi_destroy_channel_bynum(), dahdi_hangup(), dahdi_request(), dahdi_restart(), dahdi_set_dnd(), dahdi_set_hwgain(), dahdi_set_swgain(), dahdi_show_channel(), dahdi_show_channels(), dahdi_softhangup_all(), destroy_all_channels(), destroy_channel(), destroy_dahdi_pvt(), do_monitor(), duplicate_pseudo(), find_channel(), handle_mfcr2_call_files(), handle_mfcr2_set_blocked(), handle_mfcr2_set_debug(), handle_mfcr2_set_idle(), handle_mfcr2_show_channels(), mkintf(), pri_find_crv(), and pri_fixup_principle().
| int onhooktime |
Time the interface went on-hook.
Definition at line 1183 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), dahdi_hangup(), do_monitor(), and mkintf().
| int oprmode |
"Operator Services" mode
Definition at line 711 of file chan_dahdi.c.
Referenced by __dahdi_exception(), available(), dahdi_answer(), dahdi_call(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), and dahdi_setoption().
"Operator Services" peer tech_pvt ptr
Definition at line 712 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), and dahdi_setoption().
| char orig_called_num[50] |
Definition at line 1236 of file chan_dahdi.c.
Referenced by ss7_linkset(), and ss7_start_call().
| char* origcid_name |
malloced original callerid
Definition at line 1049 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), and dahdi_hangup().
| char* origcid_num |
malloced original callerid
Definition at line 1048 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), and dahdi_hangup().
| unsigned int outgoing |
TRUE if we originated the call leg.
Definition at line 852 of file chan_dahdi.c.
Referenced by available(), dahdi_call(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_new(), dahdi_read(), dahdi_request(), pri_dchannel(), and ss7_handle_cqm().
| int outsigmod |
Outbound Signalling style (modifier)
Definition at line 710 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_handle_event(), mkintf(), 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 688 of file chan_dahdi.c.
Referenced by __dahdi_exception(), __unload_module(), action_dahdidialoffhook(), action_dahdishowchannels(), available(), dahdi_answer(), dahdi_bridge(), dahdi_call(), dahdi_digit_begin(), dahdi_digit_end(), dahdi_fake_event(), dahdi_fixup(), dahdi_handle_event(), dahdi_hangup(), dahdi_new(), dahdi_queue_frame(), dahdi_r2_answer(), dahdi_r2_on_call_disconnect(), dahdi_r2_on_protocol_error(), dahdi_read(), dahdi_request(), dahdi_restart(), dahdi_show_channel(), dahdi_softhangup_all(), dahdi_write(), destroy_channel(), destroy_dahdi_pvt(), do_monitor(), pri_assign_bearer(), pri_dchannel(), pri_fixup_principle(), pri_queue_frame(), sig_pri_is_chan_in_use(), sig_pri_kill_call(), sig_pri_lock_owner(), ss7_hangup_cics(), ss7_linkset(), and ss_thread().
| struct dahdi_echocanparam params[DAHDI_MAX_ECHOCANPARAMS] |
Definition at line 1124 of file chan_dahdi.c.
Referenced by dahdi_show_channel(), and process_echocancel().
| char parkinglot[AST_MAX_EXTENSION] |
Parking lot for this channel
Definition at line 1031 of file chan_dahdi.c.
Referenced by dahdi_new(), mkintf(), 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 859 of file chan_dahdi.c.
Referenced by dahdi_hangup(), and mkintf().
| unsigned int permhidecallerid |
TRUE if the outgoing caller ID is blocked/restricted/hidden.
Definition at line 864 of file chan_dahdi.c.
Referenced by dahdi_hangup(), and mkintf().
Bitmapped pickup groups this belongs to.
Definition at line 1077 of file chan_dahdi.c.
Referenced by dahdi_new(), mkintf(), and process_dahdi().
| int polarity |
Current line interface polarity. POLARITY_IDLE, POLARITY_REV.
Definition at line 1225 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), dahdi_hangup(), handle_init_event(), ss_thread(), and unalloc_sub().
| struct timeval polaritydelaytv |
Start delay time if polarityonanswerdelay is nonzero.
Definition at line 1204 of file chan_dahdi.c.
Referenced by dahdi_answer(), dahdi_call(), and dahdi_handle_event().
Minimal time period (ms) between the answer polarity switch and hangup polarity switch.
Definition at line 1202 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), mkintf(), and process_dahdi().
Prev channel in list
Definition at line 721 of file chan_dahdi.c.
Referenced by dahdi_destroy_channel_bynum(), dahdi_hangup(), dahdi_request(), destroy_channel(), destroy_dahdi_pvt(), duplicate_pseudo(), and mkintf().
DAHDI PRI control parameters.
Definition at line 1212 of file chan_dahdi.c.
Referenced by available(), dahdi_answer(), dahdi_bridge(), dahdi_call(), dahdi_digit_begin(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_new(), dahdi_read(), dahdi_request(), dahdi_send_callrerouting_facility_exec(), dahdi_send_keypad_facility_exec(), dahdi_show_channel(), do_idle_thread(), do_monitor(), mkintf(), pri_assign_bearer(), pri_dchannel(), sig_pri_available(), and ss_thread().
| unsigned int priexclusive |
TRUE if PRI B channels are always exclusively selected.
Definition at line 874 of file chan_dahdi.c.
Referenced by dahdi_call(), mkintf(), and process_dahdi().
| unsigned int priindication_oob |
TRUE if PRI congestion/busy indications are sent out-of-band.
Definition at line 869 of file chan_dahdi.c.
Referenced by dahdi_indicate(), mkintf(), and process_dahdi().
| int prioffset |
Channel number in span.
Definition at line 1220 of file chan_dahdi.c.
Referenced by dahdi_indicate(), mkintf(), pri_dchannel(), pri_find_empty_chan(), pri_find_principle(), and pri_fixup_principle().
| unsigned int progress |
TRUE if the call has seen inband-information progress through the network.
Definition at line 988 of file chan_dahdi.c.
Referenced by dahdi_hangup(), dahdi_indicate(), pri_dchannel(), and ss7_linkset().
| int propconfno |
Propagated conference number
Definition at line 1067 of file chan_dahdi.c.
Referenced by dahdi_show_channel(), and mkintf().
| unsigned int pulse |
TRUE if we will pulse dial.
Definition at line 879 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_digit_begin(), dahdi_digit_end(), mkintf(), and process_dahdi().
| unsigned int pulsedial |
TRUE if a pulsed digit was detected. (Pulse dial phone detected)
Definition at line 881 of file chan_dahdi.c.
Referenced by dahdi_bridge(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), and dahdi_show_channel().
| openr2_chan_t* r2chan |
Definition at line 1260 of file chan_dahdi.c.
Referenced by dahdi_accept_r2_call_exec(), dahdi_answer(), dahdi_call(), dahdi_handle_event(), dahdi_hangup(), dahdi_r2_answer(), dahdi_r2_disconnect_call(), dahdi_read(), dahdi_show_channel(), handle_mfcr2_call_files(), handle_mfcr2_set_blocked(), handle_mfcr2_set_debug(), handle_mfcr2_set_idle(), handle_mfcr2_show_channels(), and mkintf().
| int radio |
Nonzero if the signaling type is sent over a radio.
Definition at line 709 of file chan_dahdi.c.
Referenced by __dahdi_exception(), available(), dahdi_answer(), dahdi_call(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_read(), dahdi_show_channel(), do_monitor(), handle_init_event(), mkintf(), and process_dahdi().
| char rdnis[AST_MAX_EXTENSION] |
Redirecting Directory Number Information Service (RDNIS) number.
Definition at line 1055 of file chan_dahdi.c.
Referenced by dahdi_hangup(), dahdi_new(), dahdi_r2_on_call_init(), dahdi_r2_on_dnis_digit_received(), and pri_dchannel().
XXX Purpose???
Definition at line 1216 of file chan_dahdi.c.
Referenced by dahdi_hangup(), pri_assign_bearer(), and pri_dchannel().
| char redirecting_num[50] |
Definition at line 1237 of file chan_dahdi.c.
Referenced by ss7_linkset(), and ss7_start_call().
| unsigned int remotelyblocked |
TRUE if the channel is remotely blocked.
Definition at line 968 of file chan_dahdi.c.
Referenced by available(), dahdi_r2_on_line_blocked(), dahdi_r2_on_line_idle(), dahdi_show_channels(), mkintf(), ss7_block_cics(), ss7_handle_cqm(), and ss7_linkset().
| unsigned int resetting |
TRUE if this channel is being reset/restarted.
Definition at line 993 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), dahdi_show_channel(), handle_init_event(), mkintf(), pri_check_restart(), pri_dchannel(), and sig_pri_is_chan_in_use().
| unsigned int restartpending |
flag to ensure counted only once for restart
Definition at line 882 of file chan_dahdi.c.
Referenced by dahdi_hangup(), dahdi_softhangup_all(), and ss7_linkset().
| unsigned int restrictcid |
TRUE if caller ID is restricted.
Definition at line 888 of file chan_dahdi.c.
Referenced by mkintf(), and process_dahdi().
| int ringt |
Ring timeout timer??
Definition at line 1099 of file chan_dahdi.c.
Referenced by dahdi_answer(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), handle_init_event(), mwi_thread(), and ss_thread().
| int ringt_base |
Ring timeout base.
Definition at line 1104 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), handle_init_event(), mkintf(), mwi_thread(), and ss_thread().
| unsigned int rlt |
XXX BOOLEAN Purpose???
Definition at line 979 of file chan_dahdi.c.
Referenced by dahdi_hangup(), dahdi_indicate(), and ss7_linkset().
| float rxgain |
Rx gain set by chan_dahdi.conf.
Definition at line 716 of file chan_dahdi.c.
Referenced by bump_gains(), dahdi_call(), dahdi_func_read(), dahdi_setoption(), mkintf(), pri_dchannel(), process_dahdi(), and restore_gains().
| struct dahdi_confinfo saveconf |
Saved conference info
Definition at line 693 of file chan_dahdi.c.
Referenced by restore_conference(), and save_conference().
Send caller ID after this many rings.
Definition at line 1209 of file chan_dahdi.c.
Referenced by dahdi_call(), mkintf(), and process_dahdi().
| int sig |
Signalling style
Definition at line 704 of file chan_dahdi.c.
Referenced by action_dahdishowchannels(), available(), build_channels(), dahdi_answer(), dahdi_bridge(), dahdi_call(), dahdi_confmute(), dahdi_digit_begin(), dahdi_digit_end(), dahdi_enable_ec(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_new(), dahdi_queue_frame(), dahdi_read(), dahdi_request(), dahdi_send_callrerouting_facility_exec(), dahdi_show_channel(), do_monitor(), handle_init_event(), handle_mfcr2_call_files(), handle_mfcr2_set_blocked(), handle_mfcr2_set_debug(), handle_mfcr2_set_idle(), handle_mfcr2_show_channels(), mkintf(), pri_dchannel(), process_dahdi(), and ss_thread().
Slave to us (follows our conferencing)
Definition at line 695 of file chan_dahdi.c.
Referenced by dahdi_link(), dahdi_show_channel(), dahdi_unlink(), isslavenative(), and update_conf().
| struct ast_smdi_interface* smdi_iface |
The serial port to listen for SMDI data on.
Definition at line 1000 of file chan_dahdi.c.
Referenced by destroy_dahdi_pvt(), mkintf(), and ss_thread().
| int span |
Span number
Definition at line 1084 of file chan_dahdi.c.
Referenced by dahdi_answer(), dahdi_digit_begin(), dahdi_indicate(), dahdi_send_callrerouting_facility_exec(), dahdi_show_channel(), get_alarms(), mkintf(), and ss_thread().
SS7 control parameters.
Definition at line 1230 of file chan_dahdi.c.
Referenced by available(), dahdi_answer(), dahdi_call(), dahdi_hangup(), dahdi_indicate(), dahdi_show_channel(), and mkintf().
| struct isup_call* ss7call |
Opaque libss7 call control structure.
Definition at line 1232 of file chan_dahdi.c.
Referenced by available(), dahdi_answer(), dahdi_call(), dahdi_hangup(), dahdi_indicate(), mkintf(), ss7_handle_cqm(), ss7_linkset(), and ss7_start_call().
| int stripmsd |
Number of most significant digits/characters to strip from the dialed number.
Definition at line 1111 of file chan_dahdi.c.
Referenced by dahdi_call(), mkintf(), and process_dahdi().
| struct dahdi_subchannel sub_unused |
Just a safety precaution
Definition at line 691 of file chan_dahdi.c.
| struct dahdi_subchannel subs[3] |
Sub-channels
Definition at line 692 of file chan_dahdi.c.
Referenced by __dahdi_exception(), _dahdi_get_index(), alloc_sub(), attempt_transfer(), available(), bump_gains(), check_for_conference(), dahdi_answer(), dahdi_bridge(), dahdi_call(), dahdi_close_sub(), dahdi_confmute(), dahdi_destroy_channel_bynum(), dahdi_digit_begin(), dahdi_digit_end(), dahdi_disable_ec(), dahdi_enable_ec(), dahdi_fixup(), dahdi_func_write(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_lock_sub_owner(), dahdi_loopback(), dahdi_new(), dahdi_r2_on_call_accepted(), dahdi_r2_on_call_answered(), dahdi_r2_on_call_disconnect(), dahdi_read(), dahdi_request(), dahdi_restart(), dahdi_ring_phone(), dahdi_sendtext(), dahdi_set_hwgain(), dahdi_set_swgain(), dahdi_setoption(), dahdi_show_channel(), dahdi_train_ec(), dahdi_unlink(), dahdi_wink(), dahdi_write(), destroy_channel(), disable_dtmf_detect(), do_monitor(), duplicate_pseudo(), enable_dtmf_detect(), get_alarms(), handle_init_event(), isslavenative(), mkintf(), mwi_send_init(), mwi_send_process_buffer(), mwi_send_process_event(), mwi_thread(), my_dahdi_write(), pri_assign_bearer(), pri_dchannel(), pri_hangup_all(), reset_conf(), restore_conference(), restore_gains(), save_conference(), send_callerid(), ss7_linkset(), ss7_start_call(), ss_thread(), swap_subs(), unalloc_sub(), update_conf(), and wakeup_sub().
TDD flag
Definition at line 1170 of file chan_dahdi.c.
Referenced by dahdi_read(), dahdi_sendtext(), dahdi_setoption(), and dahdi_show_channel().
| unsigned int threewaycalling |
TRUE if three way calling is enabled.
Definition at line 893 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), mkintf(), and process_dahdi().
| int tonezone |
tone zone for this chan, or -1 for default
Definition at line 719 of file chan_dahdi.c.
Referenced by mkintf(), and process_dahdi().
| int transcap |
Definition at line 1253 of file chan_dahdi.c.
| unsigned int transfer |
TRUE if call transfer is enabled.
Definition at line 902 of file chan_dahdi.c.
Referenced by dahdi_bridge(), dahdi_handle_event(), mkintf(), process_dahdi(), and ss_thread().
| unsigned int transfertobusy |
TRUE if allowed to flash-transfer to busy channels.
Definition at line 933 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), mkintf(), and process_dahdi().
| float txgain |
Tx gain set by chan_dahdi.conf.
Definition at line 718 of file chan_dahdi.c.
Referenced by bump_gains(), dahdi_call(), dahdi_func_read(), dahdi_setoption(), mkintf(), pri_dchannel(), process_dahdi(), and restore_gains().
| unsigned int use_callerid |
TRUE if caller ID is used on this channel.
Definition at line 910 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_r2_on_call_offered(), mkintf(), pri_dchannel(), process_dahdi(), ss7_linkset(), and ss_thread().
| unsigned int use_callingpres |
TRUE if we will use the calling presentation setting from the Asterisk channel for outgoing calls.
Definition at line 917 of file chan_dahdi.c.
Referenced by dahdi_call(), mkintf(), and process_dahdi().
| unsigned int use_smdi |
TRUE if SMDI (Simplified Message Desk Interface) is enabled.
Definition at line 973 of file chan_dahdi.c.
Referenced by destroy_dahdi_pvt(), mkintf(), process_dahdi(), and ss_thread().
| unsigned int usedistinctiveringdetection |
TRUE if distinctive rings are to be detected.
Definition at line 923 of file chan_dahdi.c.
Referenced by mkintf(), and ss_thread().
| unsigned int usefaxbuffers |
TRUE if dynamic faxbuffers are configured for use, default is OFF.
Definition at line 801 of file chan_dahdi.c.
Referenced by dahdi_handle_dtmf(), mkintf(), and process_dahdi().
| struct ast_variable* vars |
Channel variable list with associated values to set when a channel is created.
Definition at line 1082 of file chan_dahdi.c.
Referenced by dahdi_new(), dahdi_show_channel(), destroy_dahdi_pvt(), mkintf(), and process_dahdi().
| int waitfordialtone |
Number of milliseconds to wait for dialtone.
Definition at line 1157 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_new(), dahdi_read(), dahdi_show_channel(), mkintf(), and process_dahdi().
| struct timeval waitingfordt |
Time we started waiting for dialtone
Definition at line 1158 of file chan_dahdi.c.
Referenced by dahdi_call(), dahdi_handle_event(), dahdi_hangup(), and dahdi_read().
| int whichwink |
SIG_FEATDMF_TA Which wink are we on?
Definition at line 1165 of file chan_dahdi.c.
Referenced by dahdi_call(), and dahdi_handle_event().