Wed Jan 27 20:02:54 2016

Asterisk developer's documentation


sig_pri_span Struct Reference

#include <sig_pri.h>

Data Fields

unsigned int append_msn_to_user_tag:1
struct sig_pri_callbackcalls
struct ast_cc_config_paramscc_params
int congestion_devstate
 Congestion device state of the span.
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]
unsigned int inband_on_proceeding:1
unsigned int inband_on_setup_ack:1
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
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 354 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 399 of file sig_pri.h.

struct sig_pri_callback* calls [read]

Definition at line 497 of file sig_pri.h.

CC config parameters for each new call.

Definition at line 356 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/congestion.

Definition at line 507 of file sig_pri.h.

int dchan_logical_span[SIG_PRI_NUM_DCHANS]

Logical offset the DCHAN sits in

Definition at line 366 of file sig_pri.h.

int dchanavail[SIG_PRI_NUM_DCHANS]

Whether each channel is available

Definition at line 469 of file sig_pri.h.

struct pri* dchans[SIG_PRI_NUM_DCHANS] [read]

Actual d-channels

Definition at line 480 of file sig_pri.h.

int debug

set to true if to dump PRI event info

Definition at line 470 of file sig_pri.h.

int dialplan

Dialing plan

Definition at line 404 of file sig_pri.h.

Referenced by mkintf().

shall remote hold or remote retrieval notifications be discarded?

Definition at line 360 of file sig_pri.h.

Enable facility IEs

Definition at line 361 of file sig_pri.h.

int fds[SIG_PRI_NUM_DCHANS]

FD's for d-channels

Definition at line 367 of file sig_pri.h.

char idlecontext[AST_MAX_CONTEXT]

What context to use for idle

Definition at line 430 of file sig_pri.h.

char idledial[AST_MAX_EXTENSION]

What to dial before dumping

Definition at line 431 of file sig_pri.h.

Referenced by mkintf().

char idleext[AST_MAX_EXTENSION]

Where to idle extra calls

Definition at line 429 of file sig_pri.h.

Referenced by mkintf().

unsigned int inband_on_proceeding

TRUE if a PROCEEDING message needs to unsquelch the received audio.

Definition at line 403 of file sig_pri.h.

unsigned int inband_on_setup_ack

TRUE if a SETUP ACK message needs to open the audio path.

Definition at line 401 of file sig_pri.h.

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 427 of file sig_pri.h.

country access code ('00' for european dialplans)

Definition at line 406 of file sig_pri.h.

time_t lastreset

time when unused channels were last reset

Definition at line 496 of file sig_pri.h.

unsigned int layer1_ignored

TRUE if layer 1 alarm status is ignored

Definition at line 394 of file sig_pri.h.

Local dialing plan

Definition at line 405 of file sig_pri.h.

char localprefix[20]

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

Definition at line 408 of file sig_pri.h.

libpri access Mutex

Definition at line 495 of file sig_pri.h.

Referenced by destroy_all_channels(), and unload_module().

pthread_t master

Thread of master

Definition at line 494 of file sig_pri.h.

Referenced by __unload_module(), and dahdi_restart().

int minidle

Min # of "idling" calls to keep active

Definition at line 433 of file sig_pri.h.

Referenced by mkintf().

int minunused

Min # of channels to keep empty

Definition at line 432 of file sig_pri.h.

Referenced by mkintf().

char msn_list[AST_MAX_EXTENSION]

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

Definition at line 428 of file sig_pri.h.

char nationalprefix[10]

area access code ('0' for european dialplans)

Definition at line 407 of file sig_pri.h.

New struct ast_channel sequence number

Definition at line 475 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 491 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 486 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 477 of file sig_pri.h.

int nodetype

Node type

Definition at line 434 of file sig_pri.h.

Referenced by mkintf().

int nsf

Network-Specific Facilities

Definition at line 436 of file sig_pri.h.

int numchans

Num of channels we represent

Definition at line 492 of file sig_pri.h.

Referenced by mkintf().

In overlap dialing mode

Definition at line 358 of file sig_pri.h.

struct pri* pri [read]

Currently active D-channel

Definition at line 481 of file sig_pri.h.

Referenced by destroy_all_channels().

int pritimers[PRI_MAX_TIMERS]

Definition at line 357 of file sig_pri.h.

char privateprefix[20]

for private dialplans

Definition at line 409 of file sig_pri.h.

struct sig_pri_chan* pvts[SIG_PRI_MAX_CHANNELS] [read]

Member channel pvt structs

Definition at line 493 of file sig_pri.h.

Referenced by mkintf(), and setup_dahdi_int().

QSIG channel mapping type

Definition at line 359 of file sig_pri.h.

Interval (in seconds) for resetting unused channels

Definition at line 411 of file sig_pri.h.

int resetpos

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

Definition at line 473 of file sig_pri.h.

int resetting

true if span is being reset/restarted

Definition at line 472 of file sig_pri.h.

int sig

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

Definition at line 474 of file sig_pri.h.

int span

span number put into user output messages

Definition at line 471 of file sig_pri.h.

Type of switch to emulate

Definition at line 435 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 388 of file sig_pri.h.

What our trunkgroup is

Definition at line 437 of file sig_pri.h.

Referenced by mkintf().

char unknownprefix[20]

for unknown dialplans

Definition at line 410 of file sig_pri.h.


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

Generated on 27 Jan 2016 for Asterisk - The Open Source Telephony Project by  doxygen 1.6.1