Data Fields | |
dahdi_pvt * | crvend |
dahdi_pvt * | crvs |
int | dchanavail [NUM_DCHANS] |
int | dchannels [NUM_DCHANS] |
pri * | dchans [NUM_DCHANS] |
int | debug |
TRUE if to dump PRI event info (Tested but never set). | |
int | dialplan |
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] |
int | nodetype |
int | nsf |
int | numchans |
int | offset |
Value set but not used. | |
int | overlapdial |
pri * | pri |
int | prilogicalspan |
char | privateprefix [20] |
dahdi_pvt * | pvts [MAX_CHANNELS] |
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] |
Definition at line 395 of file chan_dahdi.c.
Pointer to end of CRV structs
Definition at line 443 of file chan_dahdi.c.
Referenced by dahdi_request(), and mkintf().
Member CRV structs
Definition at line 442 of file chan_dahdi.c.
Referenced by dahdi_request(), mkintf(), and pri_find_crv().
int dchanavail[NUM_DCHANS] |
Whether each channel is available
Definition at line 421 of file chan_dahdi.c.
Referenced by pri_create_trunkgroup(), 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 413 of file chan_dahdi.c.
Referenced by pri_create_trunkgroup(), pri_dchannel(), pri_resolve_span(), and start_pri().
Actual d-channels
Definition at line 420 of file chan_dahdi.c.
Referenced by pri_active_dchan_fd(), pri_dchannel(), pri_find_dchan(), and start_pri().
int debug |
int dialplan |
Dialing plan
Definition at line 406 of file chan_dahdi.c.
Referenced by apply_plan_to_number(), dahdi_call(), and mkintf().
int facilityenable |
Enable facility IEs
Definition at line 419 of file chan_dahdi.c.
Referenced by dahdi_call(), and mkintf().
int fds[NUM_DCHANS] |
FD's for d-channels
Definition at line 425 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 399 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 400 of file chan_dahdi.c.
Referenced by do_idle_thread(), mkintf(), and pri_dchannel().
char idleext[AST_MAX_EXTENSION] |
Where to idle extra calls
Definition at line 398 of file chan_dahdi.c.
Referenced by do_idle_thread(), mkintf(), and pri_dchannel().
unsigned int inbanddisconnect |
Should we support inband audio after receiving DISCONNECT?
Definition at line 435 of file chan_dahdi.c.
Referenced by mkintf(), and start_pri().
char internationalprefix[10] |
country access code ('00' for european dialplans)
Definition at line 408 of file chan_dahdi.c.
Referenced by apply_plan_to_number(), dahdi_call(), and mkintf().
time_t lastreset |
time when unused channels were last reset
Definition at line 437 of file chan_dahdi.c.
Referenced by pri_check_restart(), and pri_dchannel().
int localdialplan |
Local dialing plan
Definition at line 407 of file chan_dahdi.c.
Referenced by dahdi_call(), and mkintf().
char localprefix[20] |
area access code + area code ('0'+area code for european dialplans)
Definition at line 410 of file chan_dahdi.c.
Referenced by apply_plan_to_number(), and mkintf().
Mutex
Definition at line 397 of file chan_dahdi.c.
Referenced by dahdi_queue_frame(), dahdi_request(), pri_dchannel(), pri_grab(), and pri_hangup_all().
pthread_t master |
int mastertrunkgroup |
What trunk group is our master
Definition at line 415 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 402 of file chan_dahdi.c.
Referenced by mkintf(), and pri_dchannel().
int minunused |
Min # of channels to keep empty
Definition at line 401 of file chan_dahdi.c.
Referenced by mkintf(), and pri_dchannel().
char nationalprefix[10] |
area access code ('0' for european dialplans)
Definition at line 409 of file chan_dahdi.c.
Referenced by apply_plan_to_number(), dahdi_call(), and mkintf().
int nodetype |
Node type
Definition at line 403 of file chan_dahdi.c.
Referenced by dahdi_call(), mkintf(), and start_pri().
int nsf |
Network-Specific Facilities
Definition at line 405 of file chan_dahdi.c.
Referenced by dahdi_chan_conf_default(), mkintf(), and start_pri().
int numchans |
Num of channels we represent
Definition at line 417 of file chan_dahdi.c.
Referenced by mkintf(), pri_check_restart(), pri_dchannel(), pri_find_empty_chan(), pri_find_principle(), and pri_fixup_principle().
int offset |
Value set but not used.
Definition at line 427 of file chan_dahdi.c.
Referenced by pri_create_trunkgroup(), and pri_resolve_span().
int overlapdial |
In overlap dialing mode
Definition at line 418 of file chan_dahdi.c.
Referenced by dahdi_handle_event(), dahdi_read(), handle_pri_show_span(), mkintf(), and start_pri().
Currently active D-channel
Definition at line 422 of file chan_dahdi.c.
Referenced by build_channels(), dahdi_answer(), dahdi_call(), dahdi_digit_begin(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_queue_frame(), dahdi_request(), dahdi_send_keypad_facility_exec(), dahdi_show_channel(), dahdi_show_channels(), dahdi_write(), pri_active_dchan_fd(), pri_check_restart(), pri_dchannel(), pri_find_dchan(), and pri_rel().
int prilogicalspan |
Logical span number within trunk group
Definition at line 416 of file chan_dahdi.c.
Referenced by mkintf(), pri_create_spanmap(), and pri_find_principle().
char privateprefix[20] |
for private dialplans
Definition at line 411 of file chan_dahdi.c.
Referenced by apply_plan_to_number(), and mkintf().
Member channel pvt structs
Definition at line 441 of file chan_dahdi.c.
Referenced by dahdi_request(), mkintf(), pri_check_restart(), pri_dchannel(), pri_find_empty_chan(), pri_find_principle(), and pri_fixup_principle().
long resetinterval |
Interval (in seconds) for resetting unused channels
Definition at line 438 of file chan_dahdi.c.
Referenced by mkintf(), and pri_dchannel().
int resetpos |
Current position during a reset (-1 if not started).
Definition at line 433 of file chan_dahdi.c.
Referenced by pri_check_restart(), and pri_dchannel().
int resetting |
TRUE if span is being reset/restarted.
Definition at line 431 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 440 of file chan_dahdi.c.
Referenced by mkintf(), and start_pri().
int span |
Span number put into user output messages.
Definition at line 429 of file chan_dahdi.c.
Referenced by dahdi_request(), pri_create_trunkgroup(), and pri_resolve_span().
int switchtype |
Type of switch to emulate
Definition at line 404 of file chan_dahdi.c.
Referenced by mkintf(), pri_dchannel(), and start_pri().
int trunkgroup |
What our trunkgroup is
Definition at line 414 of file chan_dahdi.c.
Referenced by build_channels(), dahdi_new(), pri_create_trunkgroup(), and pri_fixup_principle().
char unknownprefix[20] |
for unknown dialplans
Definition at line 412 of file chan_dahdi.c.
Referenced by apply_plan_to_number(), and mkintf().