Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
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. More...
 
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]
 
unsigned int force_restart_unavailable_chans:1
 TRUE if forcing RESTART when receive cause 44 on this span. More...
 
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. More...
 
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 pri * pri
 
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. More...
 
int trunkgroup
 
char unknownprefix [20]
 

Detailed Description

Definition at line 446 of file sig_pri.h.

Field Documentation

◆ append_msn_to_user_tag

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

◆ cc_params

struct ast_cc_config_params* cc_params

CC config parameters for each new call.

Definition at line 448 of file sig_pri.h.

◆ colp_send

enum sig_pri_colp_signaling colp_send

Send connected line signaling to peer option.

Definition at line 516 of file sig_pri.h.

◆ congestion_devstate

int congestion_devstate

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

Referenced by my_on_hook().

◆ cpndialplan

int cpndialplan

Connected party dialing plan

Definition at line 508 of file sig_pri.h.

◆ dchan_logical_span

int dchan_logical_span[SIG_PRI_NUM_DCHANS]

Logical offset the DCHAN sits in

Definition at line 458 of file sig_pri.h.

◆ dchanavail

int dchanavail[SIG_PRI_NUM_DCHANS]

Whether each channel is available

Definition at line 592 of file sig_pri.h.

◆ dchans

struct pri* dchans[SIG_PRI_NUM_DCHANS]

Actual d-channels

Definition at line 603 of file sig_pri.h.

Referenced by dahdi_cc_callback().

◆ debug

int debug

set to true if to dump PRI event info

Definition at line 593 of file sig_pri.h.

◆ dialplan

int dialplan

Dialing plan

Definition at line 506 of file sig_pri.h.

Referenced by mkintf().

◆ discardremoteholdretrieval

int discardremoteholdretrieval

shall remote hold or remote retrieval notifications be discarded?

Definition at line 452 of file sig_pri.h.

◆ facilityenable

int facilityenable

Enable facility IEs

Definition at line 453 of file sig_pri.h.

◆ fds

FD's for d-channels

Definition at line 459 of file sig_pri.h.

Referenced by my_on_hook().

◆ force_restart_unavailable_chans

unsigned int force_restart_unavailable_chans

TRUE if forcing RESTART when receive cause 44 on this span.

Definition at line 501 of file sig_pri.h.

◆ idlecontext

char idlecontext[AST_MAX_CONTEXT]

What context to use for idle

Definition at line 553 of file sig_pri.h.

◆ idledial

char idledial[AST_MAX_EXTENSION]

What to dial before dumping

Definition at line 554 of file sig_pri.h.

Referenced by mkintf().

◆ idleext

char idleext[AST_MAX_EXTENSION]

Where to idle extra calls

Definition at line 552 of file sig_pri.h.

Referenced by mkintf().

◆ inband_on_proceeding

unsigned int inband_on_proceeding

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

Definition at line 495 of file sig_pri.h.

◆ inband_on_setup_ack

unsigned int inband_on_setup_ack

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

Definition at line 493 of file sig_pri.h.

◆ initial_user_tag

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

◆ internationalprefix

char internationalprefix[10]

country access code ('00' for european dialplans)

Definition at line 509 of file sig_pri.h.

◆ lastreset

time_t lastreset

time when unused channels were last reset

Definition at line 619 of file sig_pri.h.

◆ layer1_ignored

unsigned int layer1_ignored

TRUE if layer 1 alarm status is ignored

Definition at line 486 of file sig_pri.h.

◆ localdialplan

int localdialplan

Local dialing plan

Definition at line 507 of file sig_pri.h.

◆ localprefix

char localprefix[20]

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

Definition at line 511 of file sig_pri.h.

◆ lock

libpri access Mutex

Definition at line 618 of file sig_pri.h.

Referenced by dahdi_iflist_extract(), destroy_all_channels(), and unload_module().

◆ master

pthread_t master

Thread of master

Definition at line 617 of file sig_pri.h.

Referenced by __unload_module(), dahdi_cc_callback(), and dahdi_restart().

◆ minidle

int minidle

Min # of "idling" calls to keep active

Definition at line 556 of file sig_pri.h.

Referenced by mkintf().

◆ minunused

int minunused

Min # of channels to keep empty

Definition at line 555 of file sig_pri.h.

Referenced by mkintf().

◆ moh_signaling

enum sig_pri_moh_signaling moh_signaling

Definition at line 514 of file sig_pri.h.

◆ msn_list

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

Definition at line 551 of file sig_pri.h.

◆ nationalprefix

char nationalprefix[10]

area access code ('0' for european dialplans)

Definition at line 510 of file sig_pri.h.

◆ new_chan_seq

int new_chan_seq

New struct ast_channel sequence number

Definition at line 598 of file sig_pri.h.

◆ no_b_chan_end

void* no_b_chan_end

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

Definition at line 614 of file sig_pri.h.

Referenced by dahdi_iflist_extract().

◆ no_b_chan_iflist

void* no_b_chan_iflist

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

Definition at line 609 of file sig_pri.h.

Referenced by dahdi_iflist_extract(), and destroy_all_channels().

◆ no_d_channels

unsigned int no_d_channels

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

Definition at line 600 of file sig_pri.h.

◆ nodetype

int nodetype

Node type

Definition at line 557 of file sig_pri.h.

Referenced by mkintf().

◆ nsf

int nsf

Network-Specific Facilities

Definition at line 559 of file sig_pri.h.

◆ numchans

int numchans

Num of channels we represent

Definition at line 615 of file sig_pri.h.

Referenced by available(), dahdi_cc_callback(), dahdi_iflist_extract(), mkintf(), and my_on_hook().

◆ overlapdial

int overlapdial

In overlap dialing mode

Definition at line 450 of file sig_pri.h.

◆ pri

struct pri* pri

Currently active D-channel

Definition at line 604 of file sig_pri.h.

Referenced by dahdi_cc_callback(), dahdi_iflist_extract(), and destroy_all_channels().

◆ pritimers

int pritimers[PRI_MAX_TIMERS]

Definition at line 449 of file sig_pri.h.

◆ privateprefix

char privateprefix[20]

for private dialplans

Definition at line 512 of file sig_pri.h.

◆ pvts

Member channel pvt structs

Definition at line 616 of file sig_pri.h.

Referenced by available(), dahdi_cc_callback(), dahdi_iflist_extract(), mkintf(), my_on_hook(), restart_monitor(), and setup_dahdi_int().

◆ qsigchannelmapping

int qsigchannelmapping

QSIG channel mapping type

Definition at line 451 of file sig_pri.h.

◆ resetinterval

long resetinterval

Interval (in seconds) for resetting unused channels

Definition at line 517 of file sig_pri.h.

◆ resetpos

int resetpos

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

Definition at line 596 of file sig_pri.h.

◆ resetting

int resetting

true if span is being reset/restarted

Definition at line 595 of file sig_pri.h.

◆ sig

int sig

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

Definition at line 597 of file sig_pri.h.

Referenced by available().

◆ span

int span

span number put into user output messages

Definition at line 594 of file sig_pri.h.

Referenced by available(), dahdi_cc_callback(), my_on_hook(), and release_doomed_pris().

◆ switchtype

int switchtype

Type of switch to emulate

Definition at line 558 of file sig_pri.h.

Referenced by mkintf().

◆ transfer

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

◆ trunkgroup

int trunkgroup

What our trunkgroup is

Definition at line 560 of file sig_pri.h.

Referenced by mkintf(), and restart_monitor().

◆ unknownprefix

char unknownprefix[20]

for unknown dialplans

Definition at line 513 of file sig_pri.h.


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