Fri Nov 11 2011 16:38:57

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_callback * calls
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_channel * owner
struct sig_pri_span * pri
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.

Detailed Description

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

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

unsigned int alreadyhungup

TRUE if the call has already gone/hungup

Definition at line 239 of file sig_pri.h.

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

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 pri_dchannel(), sig_pri_handle_subcmds(), and sig_pri_set_caller_id().

char cid_ani[AST_MAX_EXTENSION]

Definition at line 218 of file sig_pri.h.

Referenced by pri_dchannel(), and sig_pri_set_caller_id().

int cid_ani2

Automatic Number Identification number (Alternate PRI caller ID number)

Definition at line 212 of file sig_pri.h.

Referenced by pri_dchannel(), and sig_pri_set_caller_id().

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 pri_dchannel(), sig_pri_handle_subcmds(), and sig_pri_set_caller_id().

char context[AST_MAX_CONTEXT]

Definition at line 206 of file sig_pri.h.

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

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 pri_dchannel(), pri_ss_thread(), sig_pri_hangup(), and sig_pri_request().

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_dchannel(), and pri_fixup_principle().

unsigned int inalarm
unsigned int isidlecall

TRUE if this is an idle call

Definition at line 240 of file sig_pri.h.

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

logical span number within trunk group

Definition at line 272 of file sig_pri.h.

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

what trunk group is our master

Definition at line 273 of file sig_pri.h.

Referenced by pri_fixup_principle(), PVT_TO_CHANNEL(), 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 pri_dchannel(), pri_find_empty_chan(), pri_find_principle(), PVT_TO_CHANNEL(), sig_pri_chan_new(), and sig_pri_indicate().

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_dchannel(), pri_fixup_principle(), 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(), pri_check_restart(), pri_dchannel(), sig_pri_is_chan_in_use(), and sig_pri_set_alarm().

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_dchannel(), and pri_fixup_principle().

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 pri_dchannel(), pri_fixup_principle(), pri_ss_thread(), sig_pri_call(), sig_pri_handle_subcmds(), sig_pri_hangup(), and sig_pri_set_caller_id().


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