Fri Jul 15 2011 12:03:27

Asterisk developer's documentation


dahdi_pri Struct Reference
Collaboration diagram for dahdi_pri:

Data Fields

struct dahdi_pvtcrvend
struct dahdi_pvtcrvs
int dchanavail [NUM_DCHANS]
int dchannels [NUM_DCHANS]
struct pridchans [NUM_DCHANS]
int debug
 TRUE if to dump PRI event info (Tested but never set)
int dialplan
int discardremoteholdretrieval
int facilityenable
int fds [NUM_DCHANS]
char idlecontext [AST_MAX_CONTEXT]
char idledial [AST_MAX_EXTENSION]
char idleext [AST_MAX_EXTENSION]
unsigned int inbanddisconnect:1
char internationalprefix [10]
time_t lastreset
int localdialplan
char localprefix [20]
ast_mutex_t lock
pthread_t master
int mastertrunkgroup
int minidle
int minunused
char nationalprefix [10]
unsigned int no_d_channels:1
int nodetype
int nsf
int numchans
int offset
 Value set but not used.
int overlapdial
struct pripri
int prilogicalspan
char privateprefix [20]
struct dahdi_pvtpvts [MAX_CHANNELS]
int qsigchannelmapping
long resetinterval
int resetpos
 Current position during a reset (-1 if not started)
int resetting
 TRUE if span is being reset/restarted.
int sig
 ISDN signalling type (SIG_PRI, SIG_BRI, SIG_BRI_PTMP, etc...)
int span
 Span number put into user output messages.
int switchtype
int trunkgroup
char unknownprefix [20]

Detailed Description

Definition at line 543 of file chan_dahdi.c.


Field Documentation

struct dahdi_pvt* crvend

Pointer to end of CRV structs

Definition at line 595 of file chan_dahdi.c.

Referenced by dahdi_request(), and mkintf().

struct dahdi_pvt* crvs

Member CRV structs

Definition at line 594 of file chan_dahdi.c.

Referenced by dahdi_request(), dahdi_show_channel(), dahdi_show_channels(), mkintf(), pri_find_crv(), and pri_fixup_principle().

int dchanavail[NUM_DCHANS]

Whether each channel is available

Definition at line 571 of file chan_dahdi.c.

Referenced by pri_create_trunkgroup(), pri_dchannel(), pri_find_dchan(), pri_is_up(), pri_resolve_span(), and start_pri().

int dchannels[NUM_DCHANS]

What channel are the dchannels on

Definition at line 561 of file chan_dahdi.c.

Referenced by pri_create_trunkgroup(), pri_dchannel(), pri_find_dchan(), pri_resolve_span(), and start_pri().

struct pri* dchans[NUM_DCHANS]

Actual d-channels

Definition at line 570 of file chan_dahdi.c.

Referenced by pri_active_dchan_fd(), pri_dchannel(), pri_find_dchan(), and start_pri().

int debug

TRUE if to dump PRI event info (Tested but never set)

Definition at line 574 of file chan_dahdi.c.

Referenced by pri_dchannel().

int dialplan

Dialing plan

Definition at line 554 of file chan_dahdi.c.

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

shall remote hold or remote retrieval notifications be discarded?

Definition at line 568 of file chan_dahdi.c.

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

Enable facility IEs

Definition at line 569 of file chan_dahdi.c.

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

int fds[NUM_DCHANS]

FD's for d-channels

Definition at line 575 of file chan_dahdi.c.

Referenced by dahdi_close_pri_fd(), pri_active_dchan_fd(), pri_dchannel(), and start_pri().

char idlecontext[AST_MAX_CONTEXT]

What context to use for idle

Definition at line 547 of file chan_dahdi.c.

Referenced by do_idle_thread(), and pri_dchannel().

char idledial[AST_MAX_EXTENSION]

What to dial before dumping

Definition at line 548 of file chan_dahdi.c.

Referenced by do_idle_thread(), mkintf(), pri_dchannel(), and process_dahdi().

char idleext[AST_MAX_EXTENSION]

Where to idle extra calls

Definition at line 546 of file chan_dahdi.c.

Referenced by do_idle_thread(), mkintf(), pri_dchannel(), and process_dahdi().

unsigned int inbanddisconnect

Should we support inband audio after receiving DISCONNECT?

Definition at line 585 of file chan_dahdi.c.

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

country access code ('00' for european dialplans)

Definition at line 556 of file chan_dahdi.c.

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

time_t lastreset

time when unused channels were last reset

Definition at line 589 of file chan_dahdi.c.

Referenced by pri_check_restart(), and pri_dchannel().

Local dialing plan

Definition at line 555 of file chan_dahdi.c.

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

char localprefix[20]

area access code + area code ('0'+area code for european dialplans)

Definition at line 558 of file chan_dahdi.c.

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

pthread_t master

Thread of master

Definition at line 544 of file chan_dahdi.c.

Referenced by dahdi_restart(), load_module(), pri_grab(), and start_pri().

What trunk group is our master

Definition at line 563 of file chan_dahdi.c.

Referenced by pri_create_spanmap(), and pri_resolve_span().

int minidle

Min # of "idling" calls to keep active

Definition at line 550 of file chan_dahdi.c.

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

int minunused

Min # of channels to keep empty

Definition at line 549 of file chan_dahdi.c.

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

char nationalprefix[10]

area access code ('0' for european dialplans)

Definition at line 557 of file chan_dahdi.c.

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

unsigned int no_d_channels

TRUE if we have already whined about no D channels available.

Definition at line 588 of file chan_dahdi.c.

Referenced by pri_dchannel(), and pri_find_dchan().

int nodetype

Node type

Definition at line 551 of file chan_dahdi.c.

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

int nsf

Network-Specific Facilities

Definition at line 553 of file chan_dahdi.c.

Referenced by dahdi_chan_conf_default(), mkintf(), process_dahdi(), and start_pri().

int offset

Value set but not used.

Definition at line 577 of file chan_dahdi.c.

Referenced by dahdi_restart(), load_module(), pri_create_trunkgroup(), and pri_resolve_span().

In overlap dialing mode

Definition at line 566 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), dahdi_read(), handle_pri_show_span(), mkintf(), pri_dchannel(), process_dahdi(), ss_thread(), and start_pri().

Logical span number within trunk group

Definition at line 564 of file chan_dahdi.c.

Referenced by mkintf(), pri_create_spanmap(), and pri_find_principle().

char privateprefix[20]

for private dialplans

Definition at line 559 of file chan_dahdi.c.

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

QSIG channel mapping type

Definition at line 567 of file chan_dahdi.c.

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

Interval (in seconds) for resetting unused channels

Definition at line 590 of file chan_dahdi.c.

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

int resetpos

Current position during a reset (-1 if not started)

Definition at line 583 of file chan_dahdi.c.

Referenced by pri_check_restart(), pri_dchannel(), and start_pri().

int resetting

TRUE if span is being reset/restarted.

Definition at line 581 of file chan_dahdi.c.

Referenced by pri_check_restart(), and pri_dchannel().

int sig

ISDN signalling type (SIG_PRI, SIG_BRI, SIG_BRI_PTMP, etc...)

Definition at line 592 of file chan_dahdi.c.

Referenced by mkintf(), pri_dchannel(), pri_find_dchan(), and start_pri().

int span

Span number put into user output messages.

Definition at line 579 of file chan_dahdi.c.

Referenced by dahdi_request(), pri_create_trunkgroup(), pri_dchannel(), pri_find_fixup_principle(), and pri_resolve_span().

Type of switch to emulate

Definition at line 552 of file chan_dahdi.c.

Referenced by mkintf(), pri_dchannel(), process_dahdi(), and start_pri().

What our trunkgroup is

Definition at line 562 of file chan_dahdi.c.

Referenced by build_channels(), dahdi_new(), pri_create_trunkgroup(), pri_dchannel(), and pri_fixup_principle().

char unknownprefix[20]

for unknown dialplans

Definition at line 560 of file chan_dahdi.c.

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


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