Thu Oct 11 06:40:17 2012

Asterisk developer's documentation


sig_pri_span Struct Reference

#include <sig_pri.h>

Collaboration diagram for sig_pri_span:

Collaboration graph
[legend]

Data Fields

unsigned int append_msn_to_user_tag:1
struct ast_cc_config_paramscc_params
enum sig_pri_colp_signaling colp_send
int congestion_devstate
 Congestion device state of the span.
int cpndialplan
int dchan_logical_span [SIG_PRI_NUM_DCHANS]
int dchanavail [SIG_PRI_NUM_DCHANS]
struct pridchans [SIG_PRI_NUM_DCHANS]
int debug
int dialplan
int discardremoteholdretrieval
int facilityenable
int fds [SIG_PRI_NUM_DCHANS]
char idlecontext [AST_MAX_CONTEXT]
char idledial [AST_MAX_EXTENSION]
char idleext [AST_MAX_EXTENSION]
char initial_user_tag [AST_MAX_EXTENSION]
 Initial user tag for party id's sent from this device driver.
char internationalprefix [10]
time_t lastreset
unsigned int layer1_ignored:1
int localdialplan
char localprefix [20]
ast_mutex_t lock
pthread_t master
int minidle
int minunused
enum sig_pri_moh_signaling moh_signaling
char msn_list [AST_MAX_EXTENSION]
char nationalprefix [10]
int new_chan_seq
void * no_b_chan_end
void * no_b_chan_iflist
unsigned int no_d_channels:1
int nodetype
int nsf
int numchans
int overlapdial
struct pripri
int pritimers [PRI_MAX_TIMERS]
char privateprefix [20]
struct sig_pri_chanpvts [SIG_PRI_MAX_CHANNELS]
int qsigchannelmapping
long resetinterval
int resetpos
int resetting
int sig
int span
int switchtype
unsigned int transfer:1
 TRUE if call transfer is enabled for the span.
int trunkgroup
char unknownprefix [20]

Detailed Description

Definition at line 427 of file sig_pri.h.


Field Documentation

unsigned int append_msn_to_user_tag

TRUE if a new call's sig_pri_chan.user_tag[] has the MSN appended to the initial_user_tag[].

Definition at line 472 of file sig_pri.h.

CC config parameters for each new call.

Definition at line 429 of file sig_pri.h.

Send connected line signaling to peer option.

Definition at line 491 of file sig_pri.h.

Congestion device state of the span.

AST_DEVICE_NOT_INUSE - Span does not have all B channels in use. AST_DEVICE_BUSY - All B channels are in use. AST_DEVICE_UNAVAILABLE - Span is in alarm.

Note:
Device name:
DAHDI/I<span>/congestion. 

Definition at line 597 of file sig_pri.h.

Connected party dialing plan

Definition at line 483 of file sig_pri.h.

int dchan_logical_span[SIG_PRI_NUM_DCHANS]

Logical offset the DCHAN sits in

Definition at line 439 of file sig_pri.h.

int dchanavail[SIG_PRI_NUM_DCHANS]

Whether each channel is available

Definition at line 560 of file sig_pri.h.

struct pri* dchans[SIG_PRI_NUM_DCHANS] [read]

Actual d-channels

Definition at line 571 of file sig_pri.h.

int debug

set to true if to dump PRI event info

Definition at line 561 of file sig_pri.h.

int dialplan

Dialing plan

Definition at line 481 of file sig_pri.h.

Referenced by mkintf().

shall remote hold or remote retrieval notifications be discarded?

Definition at line 433 of file sig_pri.h.

Enable facility IEs

Definition at line 434 of file sig_pri.h.

int fds[SIG_PRI_NUM_DCHANS]

FD's for d-channels

Definition at line 440 of file sig_pri.h.

char idlecontext[AST_MAX_CONTEXT]

What context to use for idle

Definition at line 521 of file sig_pri.h.

char idledial[AST_MAX_EXTENSION]

What to dial before dumping

Definition at line 522 of file sig_pri.h.

Referenced by mkintf().

char idleext[AST_MAX_EXTENSION]

Where to idle extra calls

Definition at line 520 of file sig_pri.h.

Referenced by mkintf().

char initial_user_tag[AST_MAX_EXTENSION]

Initial user tag for party id's sent from this device driver.

Note:
String set by config file.

Definition at line 518 of file sig_pri.h.

country access code ('00' for european dialplans)

Definition at line 484 of file sig_pri.h.

time_t lastreset

time when unused channels were last reset

Definition at line 587 of file sig_pri.h.

unsigned int layer1_ignored

TRUE if layer 1 alarm status is ignored

Definition at line 467 of file sig_pri.h.

Local dialing plan

Definition at line 482 of file sig_pri.h.

char localprefix[20]

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

Definition at line 486 of file sig_pri.h.

libpri access Mutex

Definition at line 586 of file sig_pri.h.

Referenced by destroy_all_channels().

pthread_t master

Thread of master

Definition at line 585 of file sig_pri.h.

int minidle

Min # of "idling" calls to keep active

Definition at line 524 of file sig_pri.h.

Referenced by mkintf().

int minunused

Min # of channels to keep empty

Definition at line 523 of file sig_pri.h.

Referenced by mkintf().

Definition at line 489 of file sig_pri.h.

char msn_list[AST_MAX_EXTENSION]

Comma separated list of MSNs to handle. Empty if disabled.

Definition at line 519 of file sig_pri.h.

char nationalprefix[10]

area access code ('0' for european dialplans)

Definition at line 485 of file sig_pri.h.

New struct ast_channel sequence number

Definition at line 566 of file sig_pri.h.

List of private structures of the user of this module for no B channel interfaces. (hold and call waiting interfaces)

Definition at line 582 of file sig_pri.h.

List of private structures of the user of this module for no B channel interfaces. (hold and call waiting interfaces)

Definition at line 577 of file sig_pri.h.

Referenced by destroy_all_channels().

unsigned int no_d_channels

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

Definition at line 568 of file sig_pri.h.

int nodetype

Node type

Definition at line 525 of file sig_pri.h.

Referenced by mkintf().

int nsf

Network-Specific Facilities

Definition at line 527 of file sig_pri.h.

int numchans

Num of channels we represent

Definition at line 583 of file sig_pri.h.

Referenced by mkintf().

In overlap dialing mode

Definition at line 431 of file sig_pri.h.

struct pri* pri [read]

Currently active D-channel

Definition at line 572 of file sig_pri.h.

Referenced by destroy_all_channels().

int pritimers[PRI_MAX_TIMERS]

Definition at line 430 of file sig_pri.h.

char privateprefix[20]

for private dialplans

Definition at line 487 of file sig_pri.h.

struct sig_pri_chan* pvts[SIG_PRI_MAX_CHANNELS] [read]

Member channel pvt structs

Definition at line 584 of file sig_pri.h.

Referenced by mkintf().

QSIG channel mapping type

Definition at line 432 of file sig_pri.h.

Interval (in seconds) for resetting unused channels

Definition at line 492 of file sig_pri.h.

int resetpos

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

Definition at line 564 of file sig_pri.h.

int resetting

true if span is being reset/restarted

Definition at line 563 of file sig_pri.h.

int sig

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

Definition at line 565 of file sig_pri.h.

int span

span number put into user output messages

Definition at line 562 of file sig_pri.h.

Type of switch to emulate

Definition at line 526 of file sig_pri.h.

Referenced by mkintf().

unsigned int transfer

TRUE if call transfer is enabled for the span.

Note:
Support switch-side transfer (called 2BCT, RLT or other names)

Definition at line 461 of file sig_pri.h.

What our trunkgroup is

Definition at line 528 of file sig_pri.h.

Referenced by mkintf().

char unknownprefix[20]

for unknown dialplans

Definition at line 488 of file sig_pri.h.


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

Generated on Thu Oct 11 06:40:18 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6