Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
sig_pri_span Struct Reference

Data Fields

unsigned int allow_call_waiting_calls:1
 TRUE if we will allow incoming ISDN call waiting calls.
 
int aoc_passthrough_flag
 
unsigned int aoce_delayhangup:1
 
unsigned int append_msn_to_user_tag:1
 
struct ast_cc_config_paramscc_params
 
int cc_ptmp_recall_mode
 
int cc_qsig_signaling_link_req
 
int cc_qsig_signaling_link_rsp
 
struct {
   char   context [AST_MAX_CONTEXT]
 
   unsigned int   hidecallerid:1
 
   unsigned int   hidecalleridname:1
 
   unsigned int   immediate:1
 
   char   mohinterpret [MAX_MUSICCLASS]
 
   unsigned int   priexclusive:1
 
   unsigned int   priindication_oob:1
 
   int   stripmsd
 
   unsigned int   use_callerid:1
 
   unsigned int   use_callingpres:1
 
ch_cfg
 
enum sig_pri_colp_signaling colp_send
 
int congestion_devstate
 Congestion device state of the span. More...
 
int cpndialplan
 
int datetime_send
 Configured date/time ie send policy option.
 
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
 
unsigned long display_flags_receive
 
unsigned long display_flags_send
 
unsigned int enable_service_message_support:1
 
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.
 
unsigned int hold_disconnect_transfer:1
 TRUE if held calls are transferred on disconnect.
 
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
 
unsigned int inbanddisconnect:1
 
char initial_user_tag [AST_MAX_EXTENSION]
 Initial user tag for party id's sent from this device driver. More...
 
char internationalprefix [10]
 
int l2_persistence
 
time_t lastreset
 
unsigned int layer1_ignored:1
 
int localdialplan
 
char localprefix [20]
 
ast_mutex_t lock
 
pthread_t master
 
int max_call_waiting_calls
 Number of extra outgoing calls to allow on a span before considering that span congested.
 
struct sig_pri_mbox mbox [SIG_PRI_MAX_MWI_MAILBOXES]
 Active MWI mailboxes.
 
unsigned int mcid_send:1
 TRUE if allow sending MCID request on this span.
 
int minidle
 
int minunused
 
enum sig_pri_moh_signaling moh_signaling
 
char msn_list [AST_MAX_EXTENSION]
 
char mwi_mailboxes [SIG_PRI_MAX_MWI_MAILBOX_STR]
 Comma separated list of mailboxes to indicate MWI. More...
 
char mwi_vm_boxes [SIG_PRI_MAX_MWI_VM_NUMBER_STR]
 Comma separated list of mailbox numbers sent over ISDN span for MWI. More...
 
char mwi_vm_numbers [SIG_PRI_MAX_MWI_VM_NUMBER_STR]
 Comma separated list of voicemail access controlling numbers for MWI. More...
 
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 num_call_waiting_calls
 Number of outstanding call waiting calls. More...
 
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 444 of file sig_pri.h.

Field Documentation

int aoc_passthrough_flag

Represents what AOC messages (S,D,E) are allowed to pass-through

Definition at line 460 of file sig_pri.h.

Referenced by mkintf().

unsigned int aoce_delayhangup

defines whether the aoce_delayhangup option is enabled or not

Definition at line 461 of file sig_pri.h.

Referenced by mkintf().

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

Referenced by mkintf(), and sig_pri_call().

struct ast_cc_config_params* cc_params

CC config parameters for each new call.

Definition at line 446 of file sig_pri.h.

Referenced by dahdi_cc_callback(), and mkintf().

int cc_ptmp_recall_mode

CC PTMP recall mode. globalRecall(0), specificRecall(1)

Definition at line 560 of file sig_pri.h.

Referenced by mkintf().

int cc_qsig_signaling_link_req

CC Q.SIG signaling link retention (Party A) release(0), retain(1), do-not-care(2)

Definition at line 561 of file sig_pri.h.

Referenced by mkintf().

int cc_qsig_signaling_link_rsp

CC Q.SIG signaling link retention (Party B) release(0), retain(1)

Definition at line 562 of file sig_pri.h.

Referenced by mkintf().

enum sig_pri_colp_signaling colp_send

Send connected line signaling to peer option.

Definition at line 514 of file sig_pri.h.

Referenced by mkintf().

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

int cpndialplan

Connected party dialing plan

Definition at line 506 of file sig_pri.h.

Referenced by mkintf().

int dchan_logical_span[SIG_PRI_NUM_DCHANS]

Logical offset the DCHAN sits in

Definition at line 456 of file sig_pri.h.

int dchanavail[SIG_PRI_NUM_DCHANS]

Whether each channel is available

Definition at line 590 of file sig_pri.h.

Referenced by sig_pri_ami_show_spans().

struct pri* dchans[SIG_PRI_NUM_DCHANS]

Actual d-channels

Definition at line 601 of file sig_pri.h.

Referenced by sig_pri_ami_show_spans().

int debug

set to true if to dump PRI event info

Definition at line 591 of file sig_pri.h.

int dialplan

Dialing plan

Definition at line 504 of file sig_pri.h.

Referenced by mkintf(), and sig_pri_call().

int discardremoteholdretrieval

shall remote hold or remote retrieval notifications be discarded?

Definition at line 450 of file sig_pri.h.

Referenced by mkintf().

unsigned long display_flags_receive

PRI_DISPLAY_OPTION_xxx flags for display text receiving

Definition at line 518 of file sig_pri.h.

Referenced by mkintf().

unsigned long display_flags_send

PRI_DISPLAY_OPTION_xxx flags for display text sending

Definition at line 517 of file sig_pri.h.

Referenced by mkintf().

unsigned int enable_service_message_support

enable SERVICE message support

Definition at line 465 of file sig_pri.h.

Referenced by mkintf().

int facilityenable

Enable facility IEs

Definition at line 451 of file sig_pri.h.

Referenced by mkintf(), and sig_pri_call().

FD's for d-channels

Definition at line 457 of file sig_pri.h.

unsigned int hidecalleridname

Hide just the name not the number for legacy PBX use

Definition at line 573 of file sig_pri.h.

Referenced by mkintf().

char idlecontext[AST_MAX_CONTEXT]

What context to use for idle

Definition at line 551 of file sig_pri.h.

char idledial[AST_MAX_EXTENSION]

What to dial before dumping

Definition at line 552 of file sig_pri.h.

Referenced by mkintf().

char idleext[AST_MAX_EXTENSION]

Where to idle extra calls

Definition at line 550 of file sig_pri.h.

Referenced by mkintf().

unsigned int immediate

Answer before getting digits?

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

Referenced by mkintf().

unsigned int inband_on_setup_ack

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

Definition at line 491 of file sig_pri.h.

Referenced by mkintf().

unsigned int inbanddisconnect

Should we support inband audio after receiving DISCONNECT?

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

Referenced by mkintf(), and sig_pri_call().

char internationalprefix[10]

country access code ('00' for european dialplans)

Definition at line 507 of file sig_pri.h.

Referenced by mkintf(), and sig_pri_call().

int l2_persistence

Layer 2 persistence option.

Definition at line 454 of file sig_pri.h.

Referenced by mkintf().

time_t lastreset

time when unused channels were last reset

Definition at line 617 of file sig_pri.h.

unsigned int layer1_ignored

TRUE if layer 1 alarm status is ignored

Definition at line 484 of file sig_pri.h.

Referenced by mkintf(), and sig_pri_is_alarm_ignored().

int localdialplan

Local dialing plan

Definition at line 505 of file sig_pri.h.

Referenced by mkintf(), and sig_pri_call().

char localprefix[20]

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

Definition at line 509 of file sig_pri.h.

Referenced by mkintf().

pthread_t master

Thread of master

Definition at line 615 of file sig_pri.h.

int minidle

Min # of "idling" calls to keep active

Definition at line 554 of file sig_pri.h.

Referenced by mkintf().

int minunused

Min # of channels to keep empty

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

Referenced by mkintf().

char mwi_mailboxes[SIG_PRI_MAX_MWI_MAILBOX_STR]

Comma separated list of mailboxes to indicate MWI.

Note
Empty if disabled.
Format: vm_mailbox{,vm_mailbox}
String is split apart when span is started.

Definition at line 529 of file sig_pri.h.

Referenced by mkintf().

char mwi_vm_boxes[SIG_PRI_MAX_MWI_VM_NUMBER_STR]

Comma separated list of mailbox numbers sent over ISDN span for MWI.

Note
Empty if disabled.
Format: vm_box{,vm_box}
String is split apart when span is started.

Definition at line 536 of file sig_pri.h.

Referenced by mkintf().

char mwi_vm_numbers[SIG_PRI_MAX_MWI_VM_NUMBER_STR]

Comma separated list of voicemail access controlling numbers for MWI.

Note
Format: vm_number{,vm_number}
String is split apart when span is started.

Definition at line 542 of file sig_pri.h.

Referenced by mkintf().

char nationalprefix[10]

area access code ('0' for european dialplans)

Definition at line 508 of file sig_pri.h.

Referenced by mkintf(), and sig_pri_call().

int new_chan_seq

New struct ast_channel sequence number

Definition at line 596 of file sig_pri.h.

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

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

unsigned int no_d_channels

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

Definition at line 598 of file sig_pri.h.

int nodetype

Node type

Definition at line 555 of file sig_pri.h.

Referenced by mkintf(), and sig_pri_call().

int nsf

Network-Specific Facilities

Definition at line 557 of file sig_pri.h.

Referenced by dahdi_chan_conf_default(), and mkintf().

int num_call_waiting_calls

Number of outstanding call waiting calls.

Note
Must be zero to allow new calls from asterisk to immediately allocate a B channel.

Definition at line 588 of file sig_pri.h.

int numchans

Num of channels we represent

Definition at line 613 of file sig_pri.h.

Referenced by mkintf().

int overlapdial

In overlap dialing mode

Definition at line 448 of file sig_pri.h.

Referenced by mkintf().

struct pri* pri
unsigned int priexclusive

Whether or not to override and use exclusive mode for channel selection

Definition at line 575 of file sig_pri.h.

Referenced by mkintf().

char privateprefix[20]

for private dialplans

Definition at line 510 of file sig_pri.h.

Referenced by mkintf().

Member channel pvt structs

Definition at line 614 of file sig_pri.h.

Referenced by mkintf().

int qsigchannelmapping

QSIG channel mapping type

Definition at line 449 of file sig_pri.h.

Referenced by mkintf().

long resetinterval

Interval (in seconds) for resetting unused channels

Definition at line 515 of file sig_pri.h.

Referenced by mkintf().

int resetpos

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

Definition at line 594 of file sig_pri.h.

int resetting

true if span is being reset/restarted

Definition at line 593 of file sig_pri.h.

int sig

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

Definition at line 595 of file sig_pri.h.

Referenced by mkintf().

int span

span number put into user output messages

Definition at line 592 of file sig_pri.h.

Referenced by dahdi_cc_callback(), pri_queue_for_destruction(), and sig_pri_ami_show_spans().

int switchtype

Type of switch to emulate

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

Referenced by mkintf().

int trunkgroup

What our trunkgroup is

Definition at line 558 of file sig_pri.h.

char unknownprefix[20]

for unknown dialplans

Definition at line 511 of file sig_pri.h.

Referenced by mkintf().

unsigned int use_callerid

Whether or not to use caller id on this channel

Definition at line 577 of file sig_pri.h.

Referenced by mkintf().

unsigned int use_callingpres

Whether to use the callingpres the calling switch sends

Definition at line 578 of file sig_pri.h.

Referenced by mkintf().


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