dahdi_pvt Struct Reference

#include <chan_dahdi.h>

Collaboration diagram for dahdi_pvt:

Collaboration graph
[legend]

Data Fields

char accountcode [AST_MAX_ACCOUNT_CODE]
unsigned int adsi:1
 TRUE if ADSI (Analog Display Services Interface) available.
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.
char begindigit
 DTMF digit in progress. 0 when no digit in progress.
int buf_no
int buf_policy
unsigned int bufferoverrideinuse:1
int bufsize
struct ast_dsp_busy_pattern busy_cadence
 Busy cadence pattern description.
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.).
char call_forward [AST_MAX_EXTENSION]
 Accumulated call forwarding number.
ast_group_t callgroup
 Bitmapped call groups this belongs to.
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.
struct ast_cc_config_paramscc_params
int channel
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
char cid_subaddr [AST_MAX_EXTENSION]
 Caller ID subaddress from an incoming call.
int cid_suppress_expire
char cid_tag [AST_MAX_EXTENSION]
 Caller ID tag from incoming call.
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.
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.
struct callerid_statecs
unsigned int dahditrcallerid:1
 TRUE if we should use the callerid from incoming call on dahdi transfer.
char defcontext [AST_MAX_CONTEXT]
 Default distinctive ring context.
char description [32]
 A description for the channel configuration.
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.
char dialstring [AST_CHANNEL_NAME]
int dialtone_detect
 Number of frames to watch for dialtone in incoming calls.
int dialtone_scanning_time_elapsed
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, present only for non sig_analog.
char dnid [AST_MAX_EXTENSION]
 Dialed Number Identifier.
struct dahdi_dialoperation dop
 DAHDI dial operation command struct for ioctl() call.
struct dahdi_distRings drings
 Distinctive Ring data.
struct ast_dspdsp
 Opaque DSP configuration structure.
int dsp_features
 DSP feature flags: DSP_FEATURE_xxx.
struct timeval dtmfcid_delay
int dtmfcid_holdoff_state
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
 Echo cancel parameters.
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
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.
float hwrxgain
 Hardware Rx gain set by chan_dahdi.conf.
unsigned int hwrxgain_enabled
 TRUE if hardware Rx gain set by Asterisk.
float hwtxgain
 Hardware Tx gain set by chan_dahdi.conf.
unsigned int hwtxgain_enabled
 TRUE if hardware Tx gain set by Asterisk.
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.
char language [MAX_LANGUAGE]
 Language configured for calls.
int law
 Active PCM encoding format: DAHDI_LAW_ALAW or DAHDI_LAW_MULAW.
int law_default
 Default call PCM encoding format: DAHDI_LAW_ALAW or DAHDI_LAW_MULAW.
unsigned int locallyblocked:2
 Bitmask for the channel being locally blocked.
ast_mutex_t lock
char mailbox [AST_MAX_MAILBOX_UNIQUEID]
 Voice mailbox location.
unsigned int manages_span_alarms:1
 TRUE if the channel alarms will be managed also as Span ones.
struct dahdi_pvtmaster
unsigned int mate:1
 TRUE if TDD in MATE mode.
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 muting
 TRUE if confrence is muted.
struct stasis_subscriptionmwi_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 mwisendactive:1
 TRUE if a MWI message sending thread is active.
struct ast_namedgroups * named_callgroups
 Named call groups this belongs to.
struct ast_namedgroups * named_pickupgroups
 Named pickup groups this belongs to.
struct dahdi_pvtnext
int oprmode
struct dahdi_pvtoprpeer
char * origcid_name
char * origcid_num
unsigned int outgoing:1
 TRUE if we originated the call leg.
int outsigmod
struct ast_channelowner
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_pvtprev
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 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).
int radio
 Nonzero if the signaling type is sent over a radio.
char rdnis [AST_MAX_EXTENSION]
 Redirecting Directory Number Information Service (RDNIS) number.
unsigned int remotelyblocked:2
 Bitmask for the channel being remotely blocked. 1 maintenance, 2 blocked in hardware.
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.
float rxdrc
float rxgain
 Software Rx gain set by chan_dahdi.conf.
struct dahdi_confinfo saveconf
int sendcalleridafter
 Send caller ID on FXS after this many rings. Set to 1 for US.
int sig
void * sig_pvt
struct dahdi_pvtslaves [MAX_SLAVES]
struct ast_smdi_interfacesmdi_iface
 The SMDI interface to get SMDI messages from.
int span
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_statetdd
unsigned int threewaycalling:1
 TRUE if three way calling is enabled.
int tonezone
unsigned int transfer:1
 TRUE if call transfer is enabled.
unsigned int transfertobusy:1
 TRUE if allowed to flash-transfer to busy channels.
float txdrc
float txgain
 Software 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
struct ast_variablevars
 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
enum DAHDI_IFLIST which_iflist
int whichwink

Detailed Description

Definition at line 123 of file chan_dahdi.h.


Field Documentation

char accountcode[AST_MAX_ACCOUNT_CODE]

Account code

Definition at line 624 of file chan_dahdi.h.

Referenced by dahdi_new(), mkintf(), and process_dahdi().

unsigned int adsi

TRUE if ADSI (Analog Display Services Interface) available.

Note:
Set from the "adsi" value read in from chan_dahdi.conf

Definition at line 176 of file chan_dahdi.h.

Referenced by dahdi_new(), mkintf(), and process_dahdi().

int amaflags

AMA Flags

Definition at line 625 of file chan_dahdi.h.

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.

Note:
Set from the "answeronpolarityswitch" value read in from chan_dahdi.conf

Definition at line 182 of file chan_dahdi.h.

Referenced by dahdi_handle_event(), mkintf(), 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 685 of file chan_dahdi.h.

Referenced by dahdi_digit_begin(), and dahdi_digit_end().

int buf_no

Number of buffers

Definition at line 138 of file chan_dahdi.h.

Referenced by alloc_sub(), duplicate_pseudo(), mkintf(), process_dahdi(), and revert_fax_buffers().

Buffer policy

Definition at line 139 of file chan_dahdi.h.

Referenced by alloc_sub(), duplicate_pseudo(), mkintf(), process_dahdi(), and revert_fax_buffers().

unsigned int bufferoverrideinuse

TRUE while buffer configuration override is in use

Definition at line 253 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 137 of file chan_dahdi.h.

Referenced by dahdi_func_write(), dahdi_handle_dtmf(), mkintf(), my_handle_dtmf(), and revert_fax_buffers().

Busy cadence pattern description.

Note:
Set from the "busypattern" value read from chan_dahdi.conf

Definition at line 598 of file chan_dahdi.h.

Referenced by dahdi_new(), dahdi_show_channel(), mkintf(), and process_dahdi().

int busycount

Number of times to see "busy" tone before hanging up.

Note:
Set from the "busycount" value read in from chan_dahdi.conf

Definition at line 593 of file chan_dahdi.h.

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.).

Note:
Set from the "busydetect" value read in from chan_dahdi.conf

Definition at line 188 of file chan_dahdi.h.

Referenced by dahdi_new(), dahdi_read(), dahdi_show_channel(), mkintf(), and process_dahdi().

char call_forward[AST_MAX_EXTENSION]

Accumulated call forwarding number.

Definition at line 628 of file chan_dahdi.h.

Referenced by analog_ss_thread(), and dahdi_new().

Bitmapped call groups this belongs to.

Note:
The "callgroup" bitmapped group string read in from chan_dahdi.conf

Definition at line 516 of file chan_dahdi.h.

Referenced by dahdi_new(), mkintf(), and process_dahdi().

The value of calling presentation that we're going to use when placing a PRI call

Definition at line 544 of file chan_dahdi.h.

Referenced by dahdi_new().

Bitmapped call progress detection flags. CALLPROGRESS_xxx values.

Note:
Bits set from the "callprogress" and "faxdetect" values read in from chan_dahdi.conf

Definition at line 603 of file chan_dahdi.h.

Referenced by dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_new(), dahdi_read(), mkintf(), 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).

Note:
Set from the "callreturn" value read in from chan_dahdi.conf

Definition at line 194 of file chan_dahdi.h.

Referenced by analog_ss_thread(), mkintf(), and process_dahdi().

char callwait_name[AST_MAX_EXTENSION]

Call waiting name.

Definition at line 495 of file chan_dahdi.h.

Referenced by send_cwcidspill().

char callwait_num[AST_MAX_EXTENSION]

Call waiting number.

Definition at line 493 of file chan_dahdi.h.

Referenced by send_cwcidspill().

TRUE if Call Waiting (CW) CPE Alert Signal (CAS) is being sent.

Note:
After CAS is sent, the call waiting caller id will be sent if the phone gives a positive reply.

Definition at line 574 of file chan_dahdi.h.

Referenced by dahdi_callwait(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), dahdi_show_channel(), 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.

Note:
Can be disabled by dialing *70.

Initialized with the "callwaiting" value read in from chan_dahdi.conf

Definition at line 201 of file chan_dahdi.h.

Referenced by analog_ss_thread(), dahdi_hangup(), mkintf(), my_set_callwaiting(), native_bridge_is_capable(), and process_dahdi().

unsigned int callwaitingcallerid

TRUE if send caller ID for Call Waiting.

Note:
Set from the "callwaitingcallerid" value read in from chan_dahdi.conf

Definition at line 206 of file chan_dahdi.h.

Referenced by dahdi_callwait(), mkintf(), my_callwait(), native_bridge_is_capable(), and process_dahdi().

How many samples to wait before repeating call waiting

Definition at line 545 of file chan_dahdi.h.

Referenced by __dahdi_exception(), dahdi_callwait(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), my_callwait(), and my_stop_callwait().

Number of call waiting rings.

Definition at line 576 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.

Note:
Set from the "cancallforward" value read in from chan_dahdi.conf

Definition at line 213 of file chan_dahdi.h.

Referenced by analog_ss_thread(), mkintf(), and process_dahdi().

unsigned int canpark

TRUE if support for call parking is enabled.

Note:
Set from the "canpark" value read in from chan_dahdi.conf

Definition at line 218 of file chan_dahdi.h.

Referenced by analog_ss_thread(), mkintf(), and process_dahdi().

int channel

int cid_ani2

Automatic Number Identification code from PRI.

Definition at line 476 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 487 of file chan_dahdi.h.

Referenced by analog_ss_thread(), dahdi_handle_event(), dahdi_hangup(), dahdi_new(), dahdi_show_channel(), mkintf(), mwi_send_init(), and process_dahdi().

char cid_num[AST_MAX_EXTENSION]

float cid_rxgain

Amount of gain to increase during caller id.

Definition at line 156 of file chan_dahdi.h.

Referenced by bump_gains(), mkintf(), and process_dahdi().

CID signalling type bell202 or v23

Definition at line 540 of file chan_dahdi.h.

Referenced by analog_ss_thread(), mkintf(), mwi_thread(), my_get_callerid(), and process_dahdi().

int cid_start

CID start indicator, polarity or ring or DTMF without warning event

Definition at line 541 of file chan_dahdi.h.

Referenced by analog_ss_thread(), do_monitor(), handle_init_event(), mkintf(), and process_dahdi().

char cid_subaddr[AST_MAX_EXTENSION]

Caller ID subaddress from an incoming call.

Definition at line 489 of file chan_dahdi.h.

Referenced by create_channel_name(), dahdi_hangup(), dahdi_show_channel(), and mkintf().

How many samples to suppress after a CID spill.

Definition at line 547 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.

Note:
the "cid_tag" string read in from chan_dahdi.conf

Definition at line 483 of file chan_dahdi.h.

Referenced by dahdi_hangup(), dahdi_new(), mkintf(), and process_dahdi().

int cid_ton

Caller ID Q.931 TON/NPI field values. Set by PRI. Zero otherwise.

Definition at line 485 of file chan_dahdi.h.

Referenced by dahdi_new(), dahdi_show_channel(), and mkintf().

When to stop waiting for CID/CW CAS response (In samples)

Definition at line 546 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 553 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 551 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

unsigned int confirmanswer

TRUE if to wait for a DTMF digit to confirm answer.

Definition at line 220 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

int confusers

Who is using our conference

Definition at line 510 of file chan_dahdi.h.

char context[AST_MAX_CONTEXT]

The configured context for incoming calls.

Note:
The "context" string read in from chan_dahdi.conf

Definition at line 443 of file chan_dahdi.h.

Referenced by action_dahdishowchannels(), analog_ss_thread(), dahdi_new(), dahdi_show_channel(), dahdi_show_channels(), mkintf(), my_distinctive_ring(), and process_dahdi().

struct callerid_state* cs [read]

Definition at line 125 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.

Note:
Set from the "useincomingcalleridondahditransfer" value read in from chan_dahdi.conf

Definition at line 364 of file chan_dahdi.h.

Referenced by dahdi_handle_event(), mkintf(), and process_dahdi().

char defcontext[AST_MAX_CONTEXT]

Default distinctive ring context.

Definition at line 452 of file chan_dahdi.h.

Referenced by analog_ss_thread(), mkintf(), and my_distinctive_ring().

char description[32]

A description for the channel configuration.

Note:
The "description" string read in from chan_dahdi.conf

Definition at line 448 of file chan_dahdi.h.

Referenced by action_dahdishowchannels(), dahdi_show_channel(), dahdi_show_channels(), mkintf(), and process_dahdi().

unsigned int destroy

TRUE if the channel is to be destroyed on hangup. (Used by pseudo channels.).

Definition at line 225 of file chan_dahdi.h.

Referenced by dahdi_hangup(), dahdi_show_channel(), duplicate_pseudo(), mkintf(), and process_dahdi().

char dialdest[256]

Delayed dialing for E911. Overlap digits for ISDN.

Definition at line 637 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 228 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.

Note:
This is used as a receive squelch for ISDN until connected.

Definition at line 233 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_show_channel(), dahdi_write(), and my_set_dialing().

char dialstring[AST_CHANNEL_NAME]

Definition at line 696 of file chan_dahdi.h.

Referenced by dahdi_request(), and my_get_orig_dialstring().

Number of frames to watch for dialtone in incoming calls.

Note:
Set from the "dialtone_detect" value read in from chan_dahdi.conf

Definition at line 613 of file chan_dahdi.h.

Referenced by dahdi_new(), dahdi_read(), mkintf(), and process_dahdi().

Amount of audio scanned for dialtone, in frames

Definition at line 614 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 226 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 235 of file chan_dahdi.h.

Referenced by dahdi_ec_enable(), and dahdi_hangup().

Which distinctivering to use

Definition at line 643 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 237 of file chan_dahdi.h.

Referenced by dahdi_dnd().

char dnid[AST_MAX_EXTENSION]

Dialed Number Identifier.

Definition at line 499 of file chan_dahdi.h.

Referenced by dahdi_new(), and dahdi_request().

struct dahdi_dialoperation dop [read]

DAHDI dial operation command struct for ioctl() call.

Definition at line 620 of file chan_dahdi.h.

Referenced by analog_ss_thread(), dahdi_handle_event(), dahdi_indicate(), and dahdi_read().

struct dahdi_distRings drings [read]

Distinctive Ring data.

Definition at line 437 of file chan_dahdi.h.

Referenced by analog_ss_thread(), mkintf(), my_distinctive_ring(), and process_dahdi().

struct ast_dsp* dsp [read]

struct timeval dtmfcid_delay [read]

Time value used for allow line to settle

Definition at line 543 of file chan_dahdi.h.

Referenced by do_monitor().

State indicator that allows for line to settle before checking for dtmf energy

Definition at line 542 of file chan_dahdi.h.

Referenced by do_monitor().

int dtmfrelax

whether to run in relaxed DTMF mode

Definition at line 644 of file chan_dahdi.h.

Referenced by analog_ss_thread(), dahdi_hangup(), dahdi_new(), dahdi_setoption(), dahdi_show_channel(), mkintf(), my_dsp_set_digitmode(), and process_dahdi().

unsigned int echobreak

XXX BOOLEAN Purpose???

Definition at line 239 of file chan_dahdi.h.

Referenced by dahdi_handle_event().

unsigned int echocanbridged

TRUE if echo cancellation enabled when bridged.

Note:
Initialized with the "echocancelwhenbridged" value read in from chan_dahdi.conf

Disabled if the echo canceller is not setup.

Definition at line 245 of file chan_dahdi.h.

Referenced by dahdi_show_channel(), mkintf(), native_start(), and process_dahdi().

struct { ... } echocancel

Echo cancel parameters.

Referenced by dahdi_ec_enable(), dahdi_show_channel(), mkintf(), and process_echocancel().

unsigned int echocanon

TRUE if echo cancellation is turned on.

Definition at line 247 of file chan_dahdi.h.

Referenced by dahdi_ec_disable(), dahdi_ec_enable(), dahdi_func_write(), dahdi_handle_event(), dahdi_show_channel(), and dahdi_train_ec().

char echorest[20]

Filled with 'w'. XXX Purpose??

Definition at line 588 of file chan_dahdi.h.

Referenced by dahdi_handle_event().

Echo training time. 0 = disabled.

Note:
Set from the "echotraining" value read in from chan_dahdi.conf

Definition at line 586 of file chan_dahdi.h.

Referenced by dahdi_handle_event(), dahdi_train_ec(), mkintf(), and process_dahdi().

char exten[AST_MAX_EXTENSION]

Extension to use in the dialplan.

Definition at line 454 of file chan_dahdi.h.

Referenced by dahdi_call(), dahdi_hangup(), dahdi_new(), dahdi_show_channel(), and dahdi_show_channels().

Holding place for event injected from outside normal operation.

Definition at line 646 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 140 of file chan_dahdi.h.

Referenced by dahdi_handle_dtmf(), mkintf(), my_handle_dtmf(), and process_dahdi().

Fax buffer policy

Definition at line 141 of file chan_dahdi.h.

Referenced by dahdi_handle_dtmf(), mkintf(), my_handle_dtmf(), and process_dahdi().

unsigned int faxhandled

TRUE if a fax tone has already been handled.

Definition at line 249 of file chan_dahdi.h.

Referenced by dahdi_handle_dtmf(), dahdi_hangup(), dahdi_show_channel(), my_all_subchannels_hungup(), and my_handle_dtmf().

char finaldial[64]

Second part of SIG_FEATDMF_TA wink operation.

Definition at line 623 of file chan_dahdi.h.

Referenced by dahdi_handle_event().

unsigned int firstradio

TRUE if over a radio and dahdi_read() has been called.

Definition at line 255 of file chan_dahdi.h.

Referenced by dahdi_read(), and mkintf().

struct timeval flashtime [read]

Last flash-hook time

Definition at line 616 of file chan_dahdi.h.

Referenced by __dahdi_exception(), and dahdi_handle_event().

Bitmapped groups this belongs to.

Note:
The "group" bitmapped group string read in from chan_dahdi.conf

Definition at line 504 of file chan_dahdi.h.

Referenced by dahdi_show_channels(), is_group_or_channel_match(), mkintf(), and process_dahdi().

time_t guardtime

Must wait this much time before using for new call

Definition at line 539 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.

Note:
Set from the "hanguponpolarityswitch" value read in from chan_dahdi.conf

Definition at line 260 of file chan_dahdi.h.

Referenced by analog_ss_thread(), dahdi_handle_event(), handle_init_event(), mkintf(), 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 262 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 [read]

Definition at line 579 of file chan_dahdi.h.

Referenced by dahdi_ec_enable(), dahdi_show_channel(), mkintf(), and process_echocancel().

unsigned int hidecallerid

TRUE if the outgoing caller ID is blocked/hidden.

Note:
Caller ID can be disabled by dialing *67.

Caller ID can be enabled by dialing *82.

Initialized with the "hidecallerid" value read in from chan_dahdi.conf

Definition at line 269 of file chan_dahdi.h.

Referenced by analog_ss_thread(), dahdi_call(), dahdi_hangup(), mkintf(), and process_dahdi().

unsigned int hidecalleridname

TRUE if hide just the name not the number for legacy PBX use.

Note:
Only applies to PRI channels.

Set from the "hidecalleridname" value read in from chan_dahdi.conf

Definition at line 275 of file chan_dahdi.h.

Referenced by mkintf(), and process_dahdi().

float hwrxgain

Hardware Rx gain set by chan_dahdi.conf.

Definition at line 152 of file chan_dahdi.h.

Referenced by dahdi_set_hwgain(), dahdi_show_channel(), mkintf(), and process_dahdi().

unsigned int hwrxgain_enabled

TRUE if hardware Rx gain set by Asterisk.

Definition at line 419 of file chan_dahdi.h.

Referenced by dahdi_set_hwgain(), dahdi_show_channel(), mkintf(), and process_dahdi().

float hwtxgain

Hardware Tx gain set by chan_dahdi.conf.

Definition at line 154 of file chan_dahdi.h.

Referenced by dahdi_set_hwgain(), dahdi_show_channel(), mkintf(), and process_dahdi().

unsigned int hwtxgain_enabled

TRUE if hardware Tx gain set by Asterisk.

Definition at line 421 of file chan_dahdi.h.

Referenced by dahdi_set_hwgain(), dahdi_show_channel(), mkintf(), and process_dahdi().

unsigned int ignoredtmf

TRUE if DTMF detection is disabled.

Definition at line 277 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.

Note:
Set from the "immediate" value read in from chan_dahdi.conf

Definition at line 283 of file chan_dahdi.h.

Referenced by analog_ss_thread(), handle_init_event(), mkintf(), and process_dahdi().

unsigned int inalarm

If our real should be in the conference

Definition at line 135 of file chan_dahdi.h.

Referenced by dahdi_conf_update(), dahdi_master_slave_unlink(), dahdi_show_channel(), my_complete_conference_update(), and native_start().

unsigned int inservice

TRUE if channel is out of reset and ready.

Note:
Used by SS7. Otherwise set but not used.

Definition at line 394 of file chan_dahdi.h.

Referenced by dahdi_show_channels(), and mkintf().

char language[MAX_LANGUAGE]

Language configured for calls.

Note:
The "language" string read in from chan_dahdi.conf

Definition at line 459 of file chan_dahdi.h.

Referenced by dahdi_new(), dahdi_show_channels(), mkintf(), and process_dahdi().

int law

Active PCM encoding format: DAHDI_LAW_ALAW or DAHDI_LAW_MULAW.

Definition at line 508 of file chan_dahdi.h.

Referenced by bump_gains(), dahdi_call(), dahdi_hangup(), dahdi_new(), dahdi_set_swgain(), dahdi_setoption(), isslavenative(), mkintf(), my_all_subchannels_hungup(), and restore_gains().

Default call PCM encoding format: DAHDI_LAW_ALAW or DAHDI_LAW_MULAW.

Definition at line 506 of file chan_dahdi.h.

Referenced by dahdi_hangup(), dahdi_new(), dahdi_show_channel(), mkintf(), and my_all_subchannels_hungup().

unsigned int locallyblocked

Bitmask for the channel being locally blocked.

Note:
Applies to SS7 and MFCR2 channels.

For MFCR2 only the first bit is used - TRUE if blocked

For SS7 two bits are used

Bit 0 - TRUE if maintenance blocked

Bit 1 - TRUE if hardware blocked

Definition at line 403 of file chan_dahdi.h.

Referenced by available(), dahdi_show_channels(), and mkintf().

char mailbox[AST_MAX_MAILBOX_UNIQUEID]

Voice mailbox location.

Note:
Set from the "mailbox" string read in from chan_dahdi.conf

Definition at line 633 of file chan_dahdi.h.

Referenced by dahdi_show_channel(), do_monitor(), handle_init_event(), has_voicemail(), mkintf(), 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.

Note:
Applies to all channels

Definition at line 417 of file chan_dahdi.h.

Referenced by destroy_dahdi_pvt(), handle_alarms(), handle_clear_alarms(), and process_dahdi().

struct dahdi_pvt* master [read]

unsigned int mate

TRUE if TDD in MATE mode.

Definition at line 287 of file chan_dahdi.h.

Referenced by dahdi_sendtext(), and dahdi_setoption().

char mohinterpret[MAX_MUSICCLASS]

The configured music-on-hold class to use for calls.

Note:
The "musicclass" or "mohinterpret" or "musiconhold" string read in from chan_dahdi.conf

Definition at line 464 of file chan_dahdi.h.

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.

Note:
The "mohsuggest" string read in from chan_dahdi.conf

Definition at line 469 of file chan_dahdi.h.

Referenced by dahdi_handle_event(), dahdi_hangup(), mkintf(), and process_dahdi().

int muting

TRUE if confrence is muted.

Definition at line 687 of file chan_dahdi.h.

Referenced by dahdi_hangup(), dahdi_new(), and dahdi_read().

Opaque event subscription parameters for message waiting indication support.

Definition at line 635 of file chan_dahdi.h.

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.

Note:
Set if the "mwimonitor" value read in contains "fsk" from chan_dahdi.conf

Definition at line 379 of file chan_dahdi.h.

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.

Note:
Set if the "mwimonitor" value read in contains "neon" from chan_dahdi.conf

Definition at line 374 of file chan_dahdi.h.

Referenced by handle_init_event(), mkintf(), 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.

Note:
RPAS - Ring Pulse Alert Signal

Set if the "mwimonitor" value read in contains "rpas" from chan_dahdi.conf

Definition at line 385 of file chan_dahdi.h.

Referenced by mkintf(), my_handle_notify_message(), and process_dahdi().

unsigned int mwimonitoractive

TRUE if an MWI monitor thread is currently active.

Definition at line 387 of file chan_dahdi.h.

Referenced by do_monitor(), and mwi_thread().

struct mwisend_info mwisend_data [read]

Definition at line 432 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 389 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 [read]

Named call groups this belongs to.

Note:
The "namedcallgroup" string read in from chan_dahdi.conf

Definition at line 526 of file chan_dahdi.h.

Referenced by dahdi_new(), destroy_dahdi_pvt(), mkintf(), and process_dahdi().

struct ast_namedgroups* named_pickupgroups [read]

Named pickup groups this belongs to.

Note:
The "namedpickupgroup" string read in from chan_dahdi.conf

Definition at line 531 of file chan_dahdi.h.

Referenced by dahdi_new(), destroy_dahdi_pvt(), mkintf(), and process_dahdi().

struct dahdi_pvt* next [read]

int oprmode

struct dahdi_pvt* oprpeer [read]

"Operator Services" peer tech_pvt ptr

Definition at line 150 of file chan_dahdi.h.

Referenced by dahdi_handle_event(), and dahdi_setoption().

char* origcid_name

malloced original callerid

Definition at line 491 of file chan_dahdi.h.

Referenced by dahdi_handle_event(), and dahdi_hangup().

char* origcid_num

malloced original callerid

Definition at line 490 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 289 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 148 of file chan_dahdi.h.

Referenced by dahdi_call(), dahdi_handle_event(), mkintf(), and process_dahdi().

struct ast_channel* owner [read]

struct dahdi_echocanparam params[DAHDI_MAX_ECHOCANPARAMS] [read]

Definition at line 580 of file chan_dahdi.h.

Referenced by dahdi_show_channel(), and process_echocancel().

char parkinglot[AST_MAX_EXTENSION]

Parking lot for this channel

Definition at line 470 of file chan_dahdi.h.

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.

Note:
Set from the "callwaiting" value read in from chan_dahdi.conf

Definition at line 295 of file chan_dahdi.h.

Referenced by dahdi_hangup(), and mkintf().

unsigned int permhidecallerid

TRUE if the outgoing caller ID is blocked/restricted/hidden.

Note:
Set from the "hidecallerid" value read in from chan_dahdi.conf

Definition at line 300 of file chan_dahdi.h.

Referenced by dahdi_hangup(), and mkintf().

Bitmapped pickup groups this belongs to.

Note:
The "pickupgroup" bitmapped group string read in from chan_dahdi.conf

Definition at line 521 of file chan_dahdi.h.

Referenced by dahdi_new(), mkintf(), and process_dahdi().

int polarity

Current line interface polarity. POLARITY_IDLE, POLARITY_REV.

Definition at line 660 of file chan_dahdi.h.

Referenced by analog_ss_thread(), dahdi_handle_event(), dahdi_hangup(), handle_init_event(), my_set_polarity(), and unalloc_sub().

struct timeval polaritydelaytv [read]

Start delay time if polarityonanswerdelay is nonzero.

Definition at line 653 of file chan_dahdi.h.

Referenced by dahdi_handle_event().

Minimal time period (ms) between the answer polarity switch and hangup polarity switch.

Definition at line 651 of file chan_dahdi.h.

Referenced by dahdi_handle_event(), mkintf(), and process_dahdi().

struct dahdi_pvt* prev [read]

unsigned int priexclusive

TRUE if PRI B channels are always exclusively selected.

Note:
Set from the "priexclusive" value read in from chan_dahdi.conf

Definition at line 310 of file chan_dahdi.h.

Referenced by mkintf(), and process_dahdi().

unsigned int priindication_oob

TRUE if PRI congestion/busy indications are sent out-of-band.

Note:
Set from the "priindication" value read in from chan_dahdi.conf

Definition at line 305 of file chan_dahdi.h.

Referenced by mkintf(), and process_dahdi().

Propagated conference number

Definition at line 511 of file chan_dahdi.h.

Referenced by dahdi_show_channel(), and mkintf().

unsigned int pulse

TRUE if we will pulse dial.

Note:
Set from the "pulsedial" value read in from chan_dahdi.conf

Definition at line 315 of file chan_dahdi.h.

Referenced by 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 317 of file chan_dahdi.h.

Referenced by dahdi_handle_event(), dahdi_hangup(), dahdi_read(), dahdi_show_channel(), and my_set_pulsedial().

int radio

char rdnis[AST_MAX_EXTENSION]

Redirecting Directory Number Information Service (RDNIS) number.

Definition at line 497 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.

Note:
Applies to SS7 and MFCR2 channels.

For MFCR2 only the first bit is used - TRUE if blocked

For SS7 two bits are used

Bit 0 - TRUE if maintenance blocked

Bit 1 - TRUE if hardware blocked

Definition at line 412 of file chan_dahdi.h.

Referenced by available(), dahdi_show_channels(), and mkintf().

unsigned int restartpending

flag to ensure counted only once for restart

Definition at line 318 of file chan_dahdi.h.

Referenced by dahdi_hangup(), and dahdi_softhangup_all().

unsigned int restrictcid

TRUE if caller ID is restricted.

Note:
Set but not used. Should be deleted. Redundant with permhidecallerid.

Set from the "restrictcid" value read in from chan_dahdi.conf

Definition at line 324 of file chan_dahdi.h.

Referenced by mkintf(), and process_dahdi().

int ringt

Ring timeout base.

Note:
Value computed indirectly from "ringtimeout" read in from chan_dahdi.conf

Definition at line 560 of file chan_dahdi.h.

Referenced by analog_ss_thread(), dahdi_handle_event(), handle_init_event(), mkintf(), and mwi_thread().

float rxdrc

float rxgain

Software Rx gain set by chan_dahdi.conf.

Definition at line 158 of file chan_dahdi.h.

Referenced by bump_gains(), dahdi_call(), dahdi_func_read(), dahdi_set_swgain(), dahdi_setoption(), dahdi_show_channel(), mkintf(), process_dahdi(), and restore_gains().

struct dahdi_confinfo saveconf [read]

Saved conference info

Definition at line 131 of file chan_dahdi.h.

Referenced by restore_conference(), and save_conference().

Send caller ID on FXS after this many rings. Set to 1 for US.

Note:
Set from the "sendcalleridafter" value read in from chan_dahdi.conf

Definition at line 658 of file chan_dahdi.h.

Referenced by mkintf(), my_set_cadence(), and process_dahdi().

int sig

void* sig_pvt

struct dahdi_pvt* slaves[MAX_SLAVES] [read]

The SMDI interface to get SMDI messages from.

Definition at line 434 of file chan_dahdi.h.

Referenced by analog_ss_thread(), destroy_dahdi_pvt(), and mkintf().

int span

int stripmsd

Number of most significant digits/characters to strip from the dialed number.

Note:
Feature is deprecated. Use dialplan logic.

The characters are stripped before the PRI TON/NPI prefix characters are processed.

Definition at line 567 of file chan_dahdi.h.

Referenced by dahdi_call(), mkintf(), and process_dahdi().

Just a safety precaution

Definition at line 129 of file chan_dahdi.h.

struct dahdi_subchannel subs[3] [read]

Sub-channels

Definition at line 130 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_set_hwgain(), dahdi_set_swgain(), dahdi_setoption(), dahdi_show_channel(), dahdi_train_ec(), dahdi_wink(), dahdi_write(), destroy_channel(), do_monitor(), duplicate_pseudo(), get_alarms(), handle_init_event(), isslavenative(), mkintf(), 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 [read]

TDD flag

Definition at line 626 of file chan_dahdi.h.

Referenced by dahdi_read(), dahdi_sendtext(), dahdi_setoption(), and dahdi_show_channel().

unsigned int threewaycalling

TRUE if three way calling is enabled.

Note:
Set from the "threewaycalling" value read in from chan_dahdi.conf

Definition at line 329 of file chan_dahdi.h.

Referenced by dahdi_handle_event(), mkintf(), and process_dahdi().

int tonezone

tone zone for this chan, or -1 for default

Definition at line 165 of file chan_dahdi.h.

Referenced by mkintf(), and process_dahdi().

unsigned int transfer

TRUE if call transfer is enabled.

Note:
For FXS ports (either direct analog or over T1/E1): Support flash-hook call transfer

For digital ports using ISDN PRI protocols: Support switch-side transfer (called 2BCT, RLT or other names)

Set from the "transfer" value read in from chan_dahdi.conf

Definition at line 338 of file chan_dahdi.h.

Referenced by analog_ss_thread(), dahdi_handle_event(), mkintf(), native_start(), and process_dahdi().

unsigned int transfertobusy

TRUE if allowed to flash-transfer to busy channels.

Note:
Set from the "transfertobusy" value read in from chan_dahdi.conf

Definition at line 369 of file chan_dahdi.h.

Referenced by dahdi_handle_event(), mkintf(), and process_dahdi().

float txdrc

Dynamic Range Compression factor. a number between 1 and 6ish

Definition at line 162 of file chan_dahdi.h.

Referenced by bump_gains(), dahdi_call(), dahdi_set_swgain(), dahdi_setoption(), dahdi_show_channel(), mkintf(), process_dahdi(), and restore_gains().

float txgain

Software Tx 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_set_swgain(), dahdi_setoption(), dahdi_show_channel(), mkintf(), process_dahdi(), and restore_gains().

unsigned int use_callerid

TRUE if caller ID is used on this channel.

Note:
PRI and SS7 spans will save caller ID from the networking peer.

FXS ports will generate the caller ID spill.

FXO ports will listen for the caller ID spill.

Set from the "usecallerid" value read in from chan_dahdi.conf

Definition at line 346 of file chan_dahdi.h.

Referenced by analog_ss_thread(), mkintf(), and process_dahdi().

unsigned int use_callingpres

TRUE if we will use the calling presentation setting from the Asterisk channel for outgoing calls.

Note:
Only applies to PRI and SS7 channels.

Set from the "usecallingpres" value read in from chan_dahdi.conf

Definition at line 353 of file chan_dahdi.h.

Referenced by mkintf(), and process_dahdi().

unsigned int use_smdi

TRUE if SMDI (Simplified Message Desk Interface) is enabled.

Note:
Set from the "usesmdi" value read in from chan_dahdi.conf

Definition at line 431 of file chan_dahdi.h.

Referenced by analog_ss_thread(), destroy_dahdi_pvt(), mkintf(), and process_dahdi().

TRUE if distinctive rings are to be detected.

Note:
For FXO lines

Set indirectly from the "usedistinctiveringdetection" value read in from chan_dahdi.conf

Definition at line 359 of file chan_dahdi.h.

Referenced by analog_ss_thread(), and mkintf().

unsigned int usefaxbuffers

TRUE if dynamic faxbuffers are configured for use, default is OFF

Definition at line 251 of file chan_dahdi.h.

Referenced by dahdi_handle_dtmf(), mkintf(), my_handle_dtmf(), and process_dahdi().

struct ast_variable* vars [read]

Channel variable list with associated values to set when a channel is created.

Note:
The "setvar" strings read in from chan_dahdi.conf

Definition at line 536 of file chan_dahdi.h.

Referenced by dahdi_new(), dahdi_show_channel(), destroy_dahdi_pvt(), mkintf(), and process_dahdi().

Number of milliseconds to wait for dialtone.

Note:
Set from the "waitfordialtone" value read in from chan_dahdi.conf

Definition at line 608 of file chan_dahdi.h.

Referenced by dahdi_new(), dahdi_read(), dahdi_show_channel(), mkintf(), my_set_waitingfordt(), and process_dahdi().

struct timeval waitingfordt [read]

Time we started waiting for dialtone

Definition at line 615 of file chan_dahdi.h.

Referenced by dahdi_call(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), my_check_waitingfordt(), and my_set_waitingfordt().

Which interface list is this structure listed?

Definition at line 166 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 621 of file chan_dahdi.h.

Referenced by dahdi_handle_event().


The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:36:13 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6