Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
dahdi_pvt Struct Reference

Data Fields

char accountcode [AST_MAX_ACCOUNT_CODE]
 
unsigned int adsi:1
 TRUE if ADSI (Analog Display Services Interface) available. More...
 
int amaflags
 
unsigned int ani_info_digits:8
 INTEGER, number of ANI INFO digits on a CAMA trunk. older switches use 1 INFO digit, newer switches use 2 INFO digits. More...
 
unsigned int ani_timeout:16
 INTEGER, length of ANI failure timeout in ms. More...
 
unsigned int ani_wink_time:16
 INTEGER, length of time to wait before sending ANI wink in ms. More...
 
unsigned int answeronpolarityswitch:1
 TRUE if we can use a polarity reversal to mark when an outgoing call is answered by the remote party. More...
 
char begindigit
 DTMF digit in progress. 0 when no digit in progress.
 
int buf_no
 
int buf_policy
 
unsigned int bufferoverrideinuse:1
 
int bufsize
 
struct ast_dsp_busy_pattern busy_cadence
 Busy cadence pattern description. More...
 
int busycount
 Number of times to see "busy" tone before hanging up. More...
 
unsigned int busydetect:1
 TRUE if busy detection is enabled. (Listens for the beep-beep busy pattern.) More...
 
char call_forward [AST_MAX_EXTENSION]
 Accumulated call forwarding number.
 
unsigned int calledsubscriberheld:1
 TRUE if Called Subscriber held is enabled. This allows a single incoming call to hold a DAHDI channel up, allowing a recipient to hang up an extension and pick up another phone on the same line without disconnecting the call.
 
ast_group_t callgroup
 Bitmapped call groups this belongs to. More...
 
int callingpres
 
int callprogress
 Bitmapped call progress detection flags. CALLPROGRESS_xxx values. More...
 
unsigned int callreturn:1
 TRUE if call return is enabled. (*69, if your dialplan doesn't catch this first) More...
 
char callwait_name [AST_MAX_EXTENSION]
 Call waiting name.
 
char callwait_num [AST_MAX_EXTENSION]
 Call waiting number.
 
int callwaitcas
 TRUE if Call Waiting (CW) CPE Alert Signal (CAS) is being sent. More...
 
unsigned int callwaiting:1
 TRUE if busy extensions will hear the call-waiting tone and can use hook-flash to switch between callers. More...
 
unsigned int callwaitingcallerid:1
 TRUE if send caller ID for Call Waiting. More...
 
int callwaitingrepeat
 
int callwaitrings
 Number of call waiting rings.
 
unsigned int cancallforward:1
 TRUE if support for call forwarding enabled. Dial *72 to enable call forwarding. Dial *73 to disable call forwarding. More...
 
unsigned int canpark:1
 TRUE if support for call parking is enabled. More...
 
struct ast_cc_config_paramscc_params
 
int channel
 
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
 
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. More...
 
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. More...
 
struct callerid_statecs
 
unsigned int dahditrcallerid:1
 TRUE if we should use the callerid from incoming call on dahdi transfer. More...
 
char defcontext [AST_MAX_CONTEXT]
 Default distinctive ring context.
 
char description [32]
 A description for the channel configuration. More...
 
unsigned int destroy:1
 TRUE if the channel is to be destroyed on hangup. (Used by pseudo channels.)
 
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. More...
 
int dialmode
 
char dialstring [AST_CHANNEL_NAME]
 
int dialtone_detect
 Number of frames to watch for dialtone in incoming calls. More...
 
int dialtone_scanning_time_elapsed
 
unsigned int didtdd:1
 
unsigned int digital:1
 TRUE if the transfer capability of the call is digital.
 
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.
 
unsigned int doreoriginate:1
 Internal flag for if we should actually process a reorigination.
 
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. More...
 
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. More...
 
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 faxdetect_timeout
 The number of seconds into call to disable fax detection. (0 = disabled) More...
 
unsigned int faxhandled:1
 TRUE if a fax tone has already been handled.
 
char finaldial [64]
 Second part of SIG_FEATDMF_TA wink operation.
 
int firstdigit_timeout
 Time (ms) to detect first digit (in an analog phone) More...
 
unsigned int firstradio:1
 TRUE if over a radio and dahdi_read() has been called.
 
struct timeval flashtime
 
ast_group_t group
 Bitmapped groups this belongs to. More...
 
time_t guardtime
 
unsigned int hanguponpolarityswitch:1
 TRUE if the call will be considered "hung up" on a polarity reversal. More...
 
unsigned int hardwaredtmf:1
 TRUE if DTMF detection needs to be done by hardware.
 
unsigned int hidecallerid:1
 TRUE if the outgoing caller ID is blocked/hidden. More...
 
unsigned int hidecalleridname:1
 TRUE if hide just the name not the number for legacy PBX use. More...
 
float hwrxgain
 Hardware Rx gain set by chan_dahdi.conf.
 
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. More...
 
unsigned int immediatering:1
 TRUE if audible ringback should be provided when immediate = yes. More...
 
unsigned int inalarm:1
 TRUE if in an alarm condition.
 
int inconference
 
unsigned int inservice:1
 TRUE if channel is out of reset and ready. More...
 
int interdigit_timeout
 Time (ms) to detect following digits (in an analog phone) More...
 
char language [MAX_LANGUAGE]
 Language configured for calls. More...
 
int law
 Active PCM encoding format: DAHDI_LAW_ALAW or DAHDI_LAW_MULAW.
 
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. More...
 
ast_mutex_t lock
 
int logicalspan
 
char mailbox [AST_MAX_MAILBOX_UNIQUEID]
 Voice mailbox location. More...
 
unsigned int manages_span_alarms:1
 TRUE if the channel alarms will be managed also as Span ones. More...
 
struct dahdi_pvtmaster
 
int matchdigit_timeout
 Time (ms) to wait, in case of ambiguous match (in an analog phone) More...
 
unsigned int mate:1
 TRUE if TDD in MATE mode.
 
char mohinterpret [MAX_MUSICCLASS]
 The configured music-on-hold class to use for calls. More...
 
char mohsuggest [MAX_MUSICCLASS]
 Suggested music-on-hold class for peer channel to use for calls. More...
 
int muting
 TRUE if confrence is muted.
 
struct ast_mwi_subscribermwi_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. More...
 
unsigned int mwimonitor_neon:1
 TRUE if the FXO port monitors for neon type MWI indications from the other end. More...
 
unsigned int mwimonitor_rpas:1
 TRUE if the FXO port monitors for rpas precursor to fsk MWI indications from the other end. More...
 
unsigned int mwimonitoractive:1
 TRUE if an MWI monitor thread is currently active.
 
unsigned int mwioverride_active:1
 TRUE if a manual MWI override is active for a channel.
 
unsigned int mwioverride_disposition:1
 Manual MWI disposition (on/off)
 
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 ast_namedgroups * named_callgroups
 Named call groups this belongs to. More...
 
struct ast_namedgroups * named_pickupgroups
 Named pickup groups this belongs to. More...
 
struct dahdi_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. More...
 
unsigned int permhidecallerid:1
 TRUE if the outgoing caller ID is blocked/restricted/hidden. More...
 
ast_group_t pickupgroup
 Bitmapped pickup groups this belongs to. More...
 
int polarity
 Current line interface polarity. POLARITY_IDLE, POLARITY_REV.
 
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
 
struct sig_pri_spanpri
 
unsigned int priexclusive:1
 TRUE if PRI B channels are always exclusively selected. More...
 
unsigned int priindication_oob:1
 TRUE if PRI congestion/busy indications are sent out-of-band. More...
 
int propconfno
 
unsigned int pulse:1
 TRUE if we will pulse dial. More...
 
unsigned int pulsedial:1
 TRUE if a pulsed digit was detected. (Pulse dial phone detected)
 
int radio
 Nonzero if the signaling type is sent over a radio. More...
 
char rdnis [AST_MAX_EXTENSION]
 Redirecting Directory Number Information Service (RDNIS) number.
 
unsigned int remotelyblocked:2
 Bitmask for the channel being remotely blocked. 1 maintenance, 2 blocked in hardware. More...
 
unsigned int reoriginate:1
 TRUE if FXS (FXO-signalled) channel should reoriginate for user to make a new call.
 
unsigned int restartpending:1
 
unsigned int restrictcid:1
 TRUE if caller ID is restricted. More...
 
int ringt
 Ring timeout timer??
 
int ringt_base
 Ring timeout base. More...
 
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. More...
 
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. More...
 
struct dahdi_subchannel sub_unused
 
struct dahdi_subchannel subs [3]
 
struct tdd_statetdd
 
unsigned int threewaycalling:1
 TRUE if three way calling is enabled. More...
 
unsigned int threewaysilenthold:1
 TRUE if a three way dial tone should time out to silence. More...
 
int tonezone
 
unsigned int transfer:1
 TRUE if call transfer is enabled. More...
 
unsigned int transfertobusy:1
 TRUE if allowed to flash-transfer to busy channels. More...
 
float txdrc
 
float txgain
 Software Tx gain set by chan_dahdi.conf.
 
unsigned int use_callerid:1
 TRUE if caller ID is used on this channel. More...
 
unsigned int use_callingpres:1
 TRUE if we will use the calling presentation setting from the Asterisk channel for outgoing calls. More...
 
unsigned int use_smdi:1
 TRUE if SMDI (Simplified Message Desk Interface) is enabled. More...
 
unsigned int usedistinctiveringdetection:1
 TRUE if distinctive rings are to be detected. More...
 
unsigned int usefaxbuffers:1
 
struct ast_variablevars
 Channel variable list with associated values to set when a channel is created. More...
 
int waitfordialtone
 Number of milliseconds to wait for dialtone. More...
 
int waitfordialtoneduration
 Transient variable. Stored off waitfordialtone duration at runtime.
 
int waitfordialtonetemp
 Transient variable. Same as waitfordialtone, but temporarily set for a specific call, rather than permanently for the channel.
 
struct timeval waitingfordt
 
enum DAHDI_IFLIST which_iflist
 
int whichwink
 

Detailed Description

Definition at line 124 of file chan_dahdi.h.

Field Documentation

char accountcode[AST_MAX_ACCOUNT_CODE]

Account code

Definition at line 700 of file chan_dahdi.h.

Referenced by mkintf().

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 178 of file chan_dahdi.h.

Referenced by mkintf().

int amaflags

AMA Flags

Definition at line 701 of file chan_dahdi.h.

Referenced by mkintf().

unsigned int ani_info_digits

INTEGER, number of ANI INFO digits on a CAMA trunk. older switches use 1 INFO digit, newer switches use 2 INFO digits.

Note
Set from the "ani_info_digits" value read in from chan_dahdi.conf

Definition at line 190 of file chan_dahdi.h.

Referenced by mkintf().

unsigned int ani_timeout

INTEGER, length of ANI failure timeout in ms.

Note
Set from the "ani_timeout" value read in from chan_dahdi.conf

Definition at line 195 of file chan_dahdi.h.

Referenced by mkintf().

unsigned int ani_wink_time

INTEGER, length of time to wait before sending ANI wink in ms.

Note
Set from the "ani_wink_time" value read in from chan_dahdi.conf

Definition at line 200 of file chan_dahdi.h.

Referenced by mkintf().

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 184 of file chan_dahdi.h.

Referenced by mkintf().

int buf_no

Number of buffers

Definition at line 139 of file chan_dahdi.h.

Referenced by mkintf().

int buf_policy

Buffer policy

Definition at line 140 of file chan_dahdi.h.

Referenced by mkintf().

unsigned int bufferoverrideinuse

TRUE while buffer configuration override is in use

Definition at line 278 of file chan_dahdi.h.

int bufsize

Size of the buffers

Definition at line 138 of file chan_dahdi.h.

Referenced by mkintf().

struct ast_dsp_busy_pattern busy_cadence

Busy cadence pattern description.

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

Definition at line 646 of file chan_dahdi.h.

Referenced by mkintf().

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 641 of file chan_dahdi.h.

Referenced by mkintf().

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 206 of file chan_dahdi.h.

Referenced by mkintf().

ast_group_t callgroup

Bitmapped call groups this belongs to.

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

Definition at line 564 of file chan_dahdi.h.

Referenced by mkintf().

int callingpres

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

Definition at line 592 of file chan_dahdi.h.

int callprogress

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 651 of file chan_dahdi.h.

Referenced by mkintf().

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 219 of file chan_dahdi.h.

Referenced by mkintf().

int callwaitcas

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 622 of file chan_dahdi.h.

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 226 of file chan_dahdi.h.

Referenced by mkintf().

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 231 of file chan_dahdi.h.

Referenced by mkintf().

int callwaitingrepeat

How many samples to wait before repeating call waiting

Definition at line 593 of file chan_dahdi.h.

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 238 of file chan_dahdi.h.

Referenced by mkintf().

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 243 of file chan_dahdi.h.

Referenced by mkintf().

int channel

Channel Number

Definition at line 585 of file chan_dahdi.h.

Referenced by dahdi_answer(), dahdi_dnd(), dahdi_setoption(), get_alarms(), and mkintf().

int cid_signalling

CID signalling type bell202 or v23

Definition at line 588 of file chan_dahdi.h.

Referenced by mkintf().

int cid_start

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

Definition at line 589 of file chan_dahdi.h.

Referenced by mkintf().

int cid_suppress_expire

How many samples to suppress after a CID spill.

Definition at line 595 of file chan_dahdi.h.

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 531 of file chan_dahdi.h.

Referenced by mkintf().

int cidcwexpire

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

Definition at line 594 of file chan_dahdi.h.

int confno

Our conference

Definition at line 557 of file chan_dahdi.h.

Referenced by mkintf().

int confusers

Who is using our conference

Definition at line 558 of file chan_dahdi.h.

char context[AST_MAX_CONTEXT]

The configured context for incoming calls.

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

Definition at line 491 of file chan_dahdi.h.

Referenced by mkintf().

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 408 of file chan_dahdi.h.

Referenced by mkintf().

char description[32]

A description for the channel configuration.

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

Definition at line 496 of file chan_dahdi.h.

Referenced by mkintf().

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 258 of file chan_dahdi.h.

int dialmode

Dialing Modes Allowed (Pulse/Tone)

Definition at line 149 of file chan_dahdi.h.

Referenced by mkintf().

int dialtone_detect

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 669 of file chan_dahdi.h.

Referenced by mkintf().

int dialtone_scanning_time_elapsed

Amount of audio scanned for dialtone, in frames

Definition at line 670 of file chan_dahdi.h.

unsigned int didtdd

flag to say its done it once

Definition at line 251 of file chan_dahdi.h.

Referenced by dahdi_setoption().

int distinctivering

Variable for enabling Ring Pulse Alert before MWI FSK Spill Which distinctivering to use

Definition at line 719 of file chan_dahdi.h.

struct timeval dtmfcid_delay

Time value used for allow line to settle

Definition at line 591 of file chan_dahdi.h.

int dtmfcid_holdoff_state

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

Definition at line 590 of file chan_dahdi.h.

int dtmfrelax

whether to run in relaxed DTMF mode

Definition at line 720 of file chan_dahdi.h.

Referenced by dahdi_setoption(), and mkintf().

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 270 of file chan_dahdi.h.

Referenced by mkintf().

int echotraining

Echo training time. 0 = disabled.

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

Definition at line 634 of file chan_dahdi.h.

Referenced by mkintf().

int faxbuf_no

Number of Fax buffers

Definition at line 141 of file chan_dahdi.h.

Referenced by mkintf().

int faxbuf_policy

Fax buffer policy

Definition at line 142 of file chan_dahdi.h.

Referenced by mkintf().

unsigned int faxdetect_timeout

The number of seconds into call to disable fax detection. (0 = disabled)

Note
Set from the "faxdetect_timeout" value read in from chan_dahdi.conf

Definition at line 675 of file chan_dahdi.h.

Referenced by mkintf().

int firstdigit_timeout

Time (ms) to detect first digit (in an analog phone)

Note
Set from the "firstdigit_timeout" value read in from chan_dahdi.conf

Definition at line 680 of file chan_dahdi.h.

Referenced by mkintf().

struct timeval flashtime

Last flash-hook time

Definition at line 692 of file chan_dahdi.h.

ast_group_t group

Bitmapped groups this belongs to.

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

Definition at line 552 of file chan_dahdi.h.

Referenced by mkintf().

time_t guardtime

Must wait this much time before using for new call

Definition at line 587 of file chan_dahdi.h.

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 285 of file chan_dahdi.h.

Referenced by mkintf().

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 302 of file chan_dahdi.h.

Referenced by mkintf().

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 308 of file chan_dahdi.h.

Referenced by mkintf().

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 316 of file chan_dahdi.h.

Referenced by mkintf().

unsigned int immediatering

TRUE if audible ringback should be provided when immediate = yes.

Note
Set from the "immediatering" value read in from chan_dahdi.conf

Definition at line 322 of file chan_dahdi.h.

Referenced by mkintf().

int inconference

If our real should be in the conference

Definition at line 136 of file chan_dahdi.h.

unsigned int inservice

TRUE if channel is out of reset and ready.

Note
Used by SS7. Otherwise set but not used.

Definition at line 442 of file chan_dahdi.h.

Referenced by mkintf().

int interdigit_timeout

Time (ms) to detect following digits (in an analog phone)

Note
Set from the "interdigit_timeout" value read in from chan_dahdi.conf

Definition at line 685 of file chan_dahdi.h.

Referenced by mkintf().

char language[MAX_LANGUAGE]

Language configured for calls.

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

Definition at line 507 of file chan_dahdi.h.

Referenced by mkintf().

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 451 of file chan_dahdi.h.

Referenced by mkintf().

Channel private lock.

Definition at line 125 of file chan_dahdi.h.

Referenced by dahdi_answer(), 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 709 of file chan_dahdi.h.

Referenced by mkintf().

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 465 of file chan_dahdi.h.

struct dahdi_pvt* master

Master to us (we follow their conferencing)

Definition at line 135 of file chan_dahdi.h.

int matchdigit_timeout

Time (ms) to wait, in case of ambiguous match (in an analog phone)

Note
Set from the "matchdigit_timeout" value read in from chan_dahdi.conf

Definition at line 690 of file chan_dahdi.h.

Referenced by mkintf().

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 512 of file chan_dahdi.h.

Referenced by mkintf().

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 517 of file chan_dahdi.h.

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

Referenced by mkintf().

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 418 of file chan_dahdi.h.

Referenced by mkintf().

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 429 of file chan_dahdi.h.

Referenced by mkintf().

unsigned int mwisend_rpas

Variable for enabling FSK MWI handling in chan_dahdi

Definition at line 717 of file chan_dahdi.h.

Referenced by mkintf().

struct dahdi_vmwi_info mwisend_setting

Which VMWI methods to use

Definition at line 715 of file chan_dahdi.h.

Referenced by mkintf().

struct ast_namedgroups* named_callgroups

Named call groups this belongs to.

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

Definition at line 574 of file chan_dahdi.h.

Referenced by mkintf().

struct ast_namedgroups* named_pickupgroups

Named pickup groups this belongs to.

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

Definition at line 579 of file chan_dahdi.h.

Referenced by mkintf().

struct dahdi_pvt* next

Next channel in list

Definition at line 169 of file chan_dahdi.h.

Referenced by dahdi_cc_callback(), and mkintf().

int oprmode

"Operator Services" mode

Definition at line 151 of file chan_dahdi.h.

Referenced by dahdi_answer(), dahdi_dnd(), dahdi_setoption(), and mkintf().

struct dahdi_pvt* oprpeer

"Operator Services" peer tech_pvt ptr

Definition at line 152 of file chan_dahdi.h.

Referenced by dahdi_setoption().

char* origcid_name

malloced original callerid

Definition at line 539 of file chan_dahdi.h.

char* origcid_num

malloced original callerid

Definition at line 538 of file chan_dahdi.h.

int outsigmod

Outbound Signalling style (modifier)

Definition at line 150 of file chan_dahdi.h.

Referenced by mkintf().

struct ast_channel* owner

Our current active owner (if applicable) Up to three channels can be associated with this call

Definition at line 127 of file chan_dahdi.h.

char parkinglot[AST_MAX_EXTENSION]

Parking lot for this channel

Definition at line 518 of file chan_dahdi.h.

Referenced by mkintf().

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 334 of file chan_dahdi.h.

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

Referenced by mkintf().

ast_group_t pickupgroup

Bitmapped pickup groups this belongs to.

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

Definition at line 569 of file chan_dahdi.h.

Referenced by mkintf().

struct dahdi_pvt* prev

Prev channel in list

Definition at line 170 of file chan_dahdi.h.

Referenced by dahdi_cc_callback().

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 349 of file chan_dahdi.h.

Referenced by mkintf().

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 344 of file chan_dahdi.h.

Referenced by mkintf().

int propconfno

Propagated conference number

Definition at line 559 of file chan_dahdi.h.

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

Referenced by mkintf().

int radio

Nonzero if the signaling type is sent over a radio.

Note
Set to a couple of nonzero values but it is only tested like a boolean.

Definition at line 148 of file chan_dahdi.h.

Referenced by dahdi_answer(), dahdi_dnd(), and mkintf().

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 460 of file chan_dahdi.h.

Referenced by mkintf().

unsigned int restartpending

flag to ensure counted only once for restart

Definition at line 357 of file chan_dahdi.h.

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 363 of file chan_dahdi.h.

Referenced by mkintf().

int ringt_base

Ring timeout base.

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

Definition at line 608 of file chan_dahdi.h.

Referenced by mkintf().

struct dahdi_confinfo saveconf

Saved conference info

Definition at line 132 of file chan_dahdi.h.

int sendcalleridafter

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 734 of file chan_dahdi.h.

Referenced by mkintf().

int sig

Signalling style

Definition at line 143 of file chan_dahdi.h.

Referenced by dahdi_answer(), dahdi_cc_callback(), dahdi_dnd(), dahdi_setoption(), fxo_pvt(), and mkintf().

struct dahdi_pvt* slaves[MAX_SLAVES]

Slave to us (follows our conferencing)

Definition at line 134 of file chan_dahdi.h.

int span

Span number

Definition at line 586 of file chan_dahdi.h.

Referenced by get_alarms(), and mkintf().

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 615 of file chan_dahdi.h.

Referenced by mkintf().

struct dahdi_subchannel sub_unused

Just a safety precaution

Definition at line 130 of file chan_dahdi.h.

struct dahdi_subchannel subs[3]

Sub-channels

Definition at line 131 of file chan_dahdi.h.

Referenced by dahdi_setoption(), get_alarms(), and mkintf().

struct tdd_state* tdd

TDD flag

Definition at line 702 of file chan_dahdi.h.

Referenced by dahdi_setoption().

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 368 of file chan_dahdi.h.

Referenced by mkintf().

unsigned int threewaysilenthold

TRUE if a three way dial tone should time out to silence.

Note
Set from the "threewaysilenthold" value read in from chan_dahdi.conf

Definition at line 373 of file chan_dahdi.h.

Referenced by mkintf().

int tonezone

tone zone for this chan, or -1 for default

Definition at line 167 of file chan_dahdi.h.

Referenced by mkintf().

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 382 of file chan_dahdi.h.

Referenced by mkintf().

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 413 of file chan_dahdi.h.

Referenced by mkintf().

float txdrc

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

Definition at line 164 of file chan_dahdi.h.

Referenced by dahdi_setoption(), and mkintf().

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 390 of file chan_dahdi.h.

Referenced by mkintf().

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 397 of file chan_dahdi.h.

Referenced by mkintf().

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 479 of file chan_dahdi.h.

Referenced by mkintf().

unsigned int usedistinctiveringdetection

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 403 of file chan_dahdi.h.

Referenced by mkintf().

unsigned int usefaxbuffers

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

Definition at line 276 of file chan_dahdi.h.

Referenced by mkintf().

struct ast_variable* vars

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 584 of file chan_dahdi.h.

Referenced by mkintf().

int waitfordialtone

Number of milliseconds to wait for dialtone.

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

Definition at line 656 of file chan_dahdi.h.

Referenced by mkintf().

struct timeval waitingfordt

Time we started waiting for dialtone

Definition at line 691 of file chan_dahdi.h.

enum DAHDI_IFLIST which_iflist

Which interface list is this structure listed?

Definition at line 168 of file chan_dahdi.h.

int whichwink

SIG_FEATDMF_TA Which wink are we on?

Definition at line 697 of file chan_dahdi.h.


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