Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
sig_pri_chan Struct Reference

#include <sig_pri.h>

Collaboration diagram for sig_pri_chan:
Collaboration graph
[legend]

Data Fields

unsigned int allocated:1
 TRUE when this channel is allocated. More...
 
unsigned int alreadyhungup:1
 
q931_call * call
 
enum sig_pri_call_level call_level
 
int callingpres
 
void * chan_pvt
 
int channel
 
char cid_ani [AST_MAX_EXTENSION]
 
int cid_ani2
 
char cid_name [AST_MAX_EXTENSION]
 
char cid_num [AST_MAX_EXTENSION]
 
char cid_subaddr [AST_MAX_EXTENSION]
 
int cid_ton
 
char context [AST_MAX_CONTEXT]
 
char deferred_digits [AST_MAX_EXTENSION]
 
char dialdest [256]
 
unsigned int digital:1
 
char exten [AST_MAX_EXTENSION]
 
unsigned int hidecallerid:1
 
unsigned int hidecalleridname:1
 
unsigned int immediate:1
 
unsigned int inalarm:1
 
unsigned int isidlecall:1
 
int logicalspan
 
int mastertrunkgroup
 
enum sig_pri_moh_state moh_state
 
char moh_suggested [MAX_MUSICCLASS]
 
char mohinterpret [MAX_MUSICCLASS]
 
unsigned int no_b_channel:1
 TRUE if this interface has no B channel. (call hold and call waiting) More...
 
unsigned int outgoing:1
 
struct ast_channelowner
 
struct sig_pri_spanpri
 
unsigned int priexclusive:1
 
unsigned int priindication_oob:1
 
int prioffset
 
unsigned int progress:1
 
enum sig_pri_reset_state resetting
 Channel reset/restart state. More...
 
int stripmsd
 
unsigned int use_callerid:1
 
unsigned int use_callingpres:1
 
char user_tag [AST_MAX_EXTENSION *2]
 User tag for party id's sent from this device driver. More...
 

Detailed Description

Definition at line 280 of file sig_pri.h.

Field Documentation

◆ allocated

unsigned int allocated

TRUE when this channel is allocated.

Needed to hold an outgoing channel allocation before the owner pointer is created.

Note
This is one of several items to check to see if a channel is available for use.

Definition at line 341 of file sig_pri.h.

Referenced by dahdi_show_channel().

◆ alreadyhungup

unsigned int alreadyhungup

TRUE if the call has already gone/hungup

Definition at line 327 of file sig_pri.h.

◆ call

q931_call* call

opaque libpri call control structure

Definition at line 358 of file sig_pri.h.

Referenced by dahdi_show_channel().

◆ call_level

enum sig_pri_call_level call_level

Call establishment life cycle level for simple comparisons.

Definition at line 361 of file sig_pri.h.

◆ callingpres

int callingpres

The value of calling presentation that we're going to use when placing a PRI call

Definition at line 297 of file sig_pri.h.

◆ chan_pvt

void* chan_pvt

Private structure of the user of this module.

Definition at line 376 of file sig_pri.h.

Referenced by available().

◆ channel

int channel

Channel Number or CRV

Definition at line 292 of file sig_pri.h.

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

◆ cid_ani

char cid_ani[AST_MAX_EXTENSION]

Definition at line 301 of file sig_pri.h.

◆ cid_ani2

int cid_ani2

Automatic Number Identification number (Alternate PRI caller ID number)

Definition at line 295 of file sig_pri.h.

◆ cid_name

char cid_name[AST_MAX_EXTENSION]

Definition at line 300 of file sig_pri.h.

◆ cid_num

char cid_num[AST_MAX_EXTENSION]

Definition at line 298 of file sig_pri.h.

◆ cid_subaddr

char cid_subaddr[AST_MAX_EXTENSION]

Definition at line 299 of file sig_pri.h.

◆ cid_ton

int cid_ton

Type Of Number (TON)

Definition at line 296 of file sig_pri.h.

◆ context

char context[AST_MAX_CONTEXT]

Definition at line 289 of file sig_pri.h.

Referenced by mkintf().

◆ deferred_digits

char deferred_digits[AST_MAX_EXTENSION]

'w' deferred dialing digits.

Definition at line 314 of file sig_pri.h.

◆ dialdest

char dialdest[256]

Definition at line 308 of file sig_pri.h.

◆ digital

unsigned int digital

Definition at line 343 of file sig_pri.h.

◆ exten

char exten[AST_MAX_EXTENSION]

Definition at line 304 of file sig_pri.h.

◆ hidecallerid

unsigned int hidecallerid

Definition at line 282 of file sig_pri.h.

Referenced by mkintf().

◆ hidecalleridname

unsigned int hidecalleridname

Hide just the name not the number for legacy PBX use

Definition at line 283 of file sig_pri.h.

Referenced by mkintf().

◆ immediate

unsigned int immediate

Answer before getting digits?

Definition at line 284 of file sig_pri.h.

Referenced by mkintf().

◆ inalarm

unsigned int inalarm

Definition at line 326 of file sig_pri.h.

Referenced by mkintf(), and my_on_hook().

◆ isidlecall

unsigned int isidlecall

TRUE if this is an idle call

Definition at line 328 of file sig_pri.h.

◆ logicalspan

int logicalspan

logical span number within trunk group

Definition at line 369 of file sig_pri.h.

◆ mastertrunkgroup

int mastertrunkgroup

what trunk group is our master

Definition at line 370 of file sig_pri.h.

◆ moh_state

enum sig_pri_moh_state moh_state

Definition at line 317 of file sig_pri.h.

◆ moh_suggested

char moh_suggested[MAX_MUSICCLASS]

Music class suggested with AST_CONTROL_HOLD.

Definition at line 316 of file sig_pri.h.

◆ mohinterpret

char mohinterpret[MAX_MUSICCLASS]

Definition at line 290 of file sig_pri.h.

Referenced by mkintf().

◆ no_b_channel

unsigned int no_b_channel

TRUE if this interface has no B channel. (call hold and call waiting)

Definition at line 345 of file sig_pri.h.

Referenced by available(), and my_on_hook().

◆ outgoing

unsigned int outgoing

Definition at line 342 of file sig_pri.h.

◆ owner

struct ast_channel* owner

Definition at line 355 of file sig_pri.h.

◆ pri

struct sig_pri_span* pri

Definition at line 357 of file sig_pri.h.

◆ priexclusive

unsigned int priexclusive

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

Definition at line 285 of file sig_pri.h.

Referenced by mkintf().

◆ priindication_oob

unsigned int priindication_oob

Definition at line 286 of file sig_pri.h.

Referenced by mkintf().

◆ prioffset

int prioffset

channel number in span

Definition at line 368 of file sig_pri.h.

◆ progress

unsigned int progress

TRUE if the call has seen inband-information progress through the network

Definition at line 329 of file sig_pri.h.

◆ resetting

enum sig_pri_reset_state resetting

Channel reset/restart state.

Definition at line 363 of file sig_pri.h.

Referenced by dahdi_show_channel().

◆ stripmsd

int stripmsd

Definition at line 291 of file sig_pri.h.

Referenced by mkintf().

◆ use_callerid

unsigned int use_callerid

Whether or not to use caller id on this channel

Definition at line 287 of file sig_pri.h.

Referenced by mkintf().

◆ use_callingpres

unsigned int use_callingpres

Whether to use the callingpres the calling switch sends

Definition at line 288 of file sig_pri.h.

Referenced by mkintf().

◆ user_tag

char user_tag[AST_MAX_EXTENSION *2]

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

Definition at line 303 of file sig_pri.h.


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