Fri Aug 17 00:17:52 2018

Asterisk developer's documentation


sig_pri_chan Struct Reference

#include <sig_pri.h>

Data Fields

unsigned int allocated:1
 TRUE when this channel is allocated.
unsigned int alreadyhungup:1
q931_call * call
enum sig_pri_call_level call_level
int callingpres
struct sig_pri_callbackcalls
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
char mohinterpret [MAX_MUSICCLASS]
unsigned int no_b_channel:1
 TRUE if this interface has no B channel. (call hold and call waiting).
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.
int stripmsd
unsigned int use_callerid:1
unsigned int use_callingpres:1
char user_tag [AST_MAX_EXTENSION]
 User tag for party id's sent from this device driver.

Detailed Description

Definition at line 222 of file sig_pri.h.


Field Documentation

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

Referenced by dahdi_show_channel().

unsigned int alreadyhungup

TRUE if the call has already gone/hungup

Definition at line 266 of file sig_pri.h.

q931_call* call

opaque libpri call control structure

Definition at line 297 of file sig_pri.h.

Referenced by dahdi_bridge(), and dahdi_show_channel().

Call establishment life cycle level for simple comparisons.

Definition at line 300 of file sig_pri.h.

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

Definition at line 239 of file sig_pri.h.

struct sig_pri_callback* calls [read]

Definition at line 311 of file sig_pri.h.

void* chan_pvt

Private structure of the user of this module.

Definition at line 312 of file sig_pri.h.

Referenced by available().

int channel

Channel Number or CRV

Definition at line 234 of file sig_pri.h.

Referenced by mkintf().

char cid_ani[AST_MAX_EXTENSION]

Definition at line 243 of file sig_pri.h.

int cid_ani2

Automatic Number Identification number (Alternate PRI caller ID number)

Definition at line 237 of file sig_pri.h.

char cid_name[AST_MAX_EXTENSION]

Definition at line 242 of file sig_pri.h.

char cid_num[AST_MAX_EXTENSION]

Definition at line 240 of file sig_pri.h.

char cid_subaddr[AST_MAX_EXTENSION]

Definition at line 241 of file sig_pri.h.

int cid_ton

Type Of Number (TON)

Definition at line 238 of file sig_pri.h.

char context[AST_MAX_CONTEXT]

Definition at line 231 of file sig_pri.h.

Referenced by mkintf().

char deferred_digits[AST_MAX_EXTENSION]

'w' deferred dialing digits.

Definition at line 256 of file sig_pri.h.

char dialdest[256]

Definition at line 250 of file sig_pri.h.

unsigned int digital

Definition at line 282 of file sig_pri.h.

char exten[AST_MAX_EXTENSION]

Definition at line 246 of file sig_pri.h.

unsigned int hidecallerid

Definition at line 224 of file sig_pri.h.

Referenced by mkintf().

unsigned int hidecalleridname

Hide just the name not the number for legacy PBX use

Definition at line 225 of file sig_pri.h.

Referenced by mkintf().

unsigned int immediate

Answer before getting digits?

Definition at line 226 of file sig_pri.h.

Referenced by mkintf().

unsigned int inalarm

Definition at line 265 of file sig_pri.h.

Referenced by mkintf().

unsigned int isidlecall

TRUE if this is an idle call

Definition at line 267 of file sig_pri.h.

logical span number within trunk group

Definition at line 304 of file sig_pri.h.

what trunk group is our master

Definition at line 305 of file sig_pri.h.

char mohinterpret[MAX_MUSICCLASS]

Definition at line 232 of file sig_pri.h.

Referenced by mkintf().

unsigned int no_b_channel

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

Definition at line 284 of file sig_pri.h.

unsigned int outgoing

Definition at line 281 of file sig_pri.h.

struct ast_channel* owner [read]

Definition at line 294 of file sig_pri.h.

struct sig_pri_span* pri [read]

Definition at line 296 of file sig_pri.h.

unsigned int priexclusive

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

Definition at line 227 of file sig_pri.h.

Referenced by mkintf().

unsigned int priindication_oob

Definition at line 228 of file sig_pri.h.

Referenced by mkintf().

int prioffset

channel number in span

Definition at line 303 of file sig_pri.h.

unsigned int progress

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

Definition at line 268 of file sig_pri.h.

Channel reset/restart state.

Definition at line 302 of file sig_pri.h.

Referenced by dahdi_show_channel().

int stripmsd

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

Referenced by mkintf().

unsigned int use_callingpres

Whether to use the callingpres the calling switch sends

Definition at line 230 of file sig_pri.h.

Referenced by mkintf().

char user_tag[AST_MAX_EXTENSION]

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

Definition at line 245 of file sig_pri.h.


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

Generated on 17 Aug 2018 for Asterisk - The Open Source Telephony Project by  doxygen 1.6.1