Sun Oct 16 2011 08:43:15

Asterisk developer's documentation


sig_pri_chan Struct Reference

#include <sig_pri.h>

Collaboration diagram for sig_pri_chan:

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 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
unsigned int resetting:1
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.

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

Referenced by dahdi_show_channel(), sig_pri_is_chan_in_use(), pri_fixup_principle(), pri_dchannel(), sig_pri_hangup(), and sig_pri_available().

unsigned int alreadyhungup

TRUE if the call has already gone/hungup

Definition at line 239 of file sig_pri.h.

Referenced by sig_pri_new_ast_channel(), pri_fixup_principle(), pri_dchannel(), and sig_pri_hangup().

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

Definition at line 214 of file sig_pri.h.

Referenced by sig_pri_set_caller_id(), sig_pri_handle_subcmds(), and pri_dchannel().

char cid_ani[AST_MAX_EXTENSION]

Definition at line 218 of file sig_pri.h.

Referenced by sig_pri_set_caller_id(), and pri_dchannel().

int cid_ani2

Automatic Number Identification number (Alternate PRI caller ID number)

Definition at line 212 of file sig_pri.h.

Referenced by sig_pri_set_caller_id(), and pri_dchannel().

char cid_name[AST_MAX_EXTENSION]
char cid_num[AST_MAX_EXTENSION]
char cid_subaddr[AST_MAX_EXTENSION]
int cid_ton

Type Of Number (TON)

Definition at line 213 of file sig_pri.h.

Referenced by sig_pri_set_caller_id(), sig_pri_handle_subcmds(), and pri_dchannel().

char context[AST_MAX_CONTEXT]

Definition at line 206 of file sig_pri.h.

Referenced by mkintf(), pri_fixup_principle(), and pri_dchannel().

char dialdest[256]

Definition at line 225 of file sig_pri.h.

Referenced by pri_dchannel(), sig_pri_call(), and sig_pri_digit_begin().

char exten[AST_MAX_EXTENSION]

Definition at line 221 of file sig_pri.h.

Referenced by sig_pri_request(), pri_ss_thread(), pri_dchannel(), and sig_pri_hangup().

unsigned int hidecallerid

Definition at line 199 of file sig_pri.h.

Referenced by mkintf(), pri_fixup_principle(), and sig_pri_call().

unsigned int hidecalleridname

Hide just the name not the number for legacy PBX use

Definition at line 200 of file sig_pri.h.

Referenced by mkintf(), pri_fixup_principle(), and sig_pri_call().

unsigned int immediate

Answer before getting digits?

Definition at line 201 of file sig_pri.h.

Referenced by mkintf(), pri_fixup_principle(), and pri_dchannel().

unsigned int inalarm
unsigned int isidlecall

TRUE if this is an idle call

Definition at line 240 of file sig_pri.h.

Referenced by sig_pri_new_ast_channel(), pri_fixup_principle(), and pri_dchannel().

logical span number within trunk group

Definition at line 272 of file sig_pri.h.

Referenced by PVT_TO_CHANNEL(), pri_find_principle(), pri_fixup_principle(), pri_find_empty_chan(), pri_dchannel(), and sig_pri_chan_new().

what trunk group is our master

Definition at line 273 of file sig_pri.h.

Referenced by PVT_TO_CHANNEL(), pri_fixup_principle(), and sig_pri_chan_new().

char mohinterpret[MAX_MUSICCLASS]

Definition at line 207 of file sig_pri.h.

Referenced by mkintf(), pri_fixup_principle(), and sig_pri_indicate().

unsigned int priexclusive

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

Definition at line 202 of file sig_pri.h.

Referenced by mkintf(), pri_fixup_principle(), and sig_pri_call().

unsigned int priindication_oob

Definition at line 203 of file sig_pri.h.

Referenced by mkintf(), pri_fixup_principle(), and sig_pri_indicate().

int prioffset

channel number in span

Definition at line 271 of file sig_pri.h.

Referenced by PVT_TO_CHANNEL(), pri_find_principle(), pri_find_empty_chan(), pri_dchannel(), sig_pri_indicate(), and sig_pri_chan_new().

unsigned int progress

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

Definition at line 241 of file sig_pri.h.

Referenced by pri_fixup_principle(), pri_dchannel(), sig_pri_hangup(), and sig_pri_indicate().

unsigned int resetting

TRUE if this channel is being reset/restarted

Definition at line 242 of file sig_pri.h.

Referenced by dahdi_show_channel(), sig_pri_set_alarm(), sig_pri_is_chan_in_use(), pri_check_restart(), and pri_dchannel().

unsigned int use_callerid

Whether or not to use caller id on this channel

Definition at line 204 of file sig_pri.h.

Referenced by mkintf(), pri_fixup_principle(), and pri_dchannel().

unsigned int use_callingpres

Whether to use the callingpres the calling switch sends

Definition at line 205 of file sig_pri.h.

Referenced by mkintf(), pri_fixup_principle(), and sig_pri_call().

char user_tag[AST_MAX_EXTENSION]

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

Definition at line 220 of file sig_pri.h.

Referenced by sig_pri_set_caller_id(), pri_fixup_principle(), pri_ss_thread(), sig_pri_handle_subcmds(), pri_dchannel(), sig_pri_hangup(), and sig_pri_call().


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