Sat Mar 26 11:44:02 2011

Asterisk developer's documentation


sig_pri_chan Struct Reference

#include <sig_pri.h>

Collaboration diagram for sig_pri_chan:

Collaboration graph
[legend]

Data Fields

unsigned int alerting:1
unsigned int alreadyhungup:1
q931_call * call
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
char keypad_digits [AST_MAX_EXTENSION]
 Keypad digits that came in with the SETUP message.
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 proceeding:1
unsigned int progress:1
unsigned int resetting:1
int reverse_charging_indication
 Reverse charging indication.
unsigned service_status
 Active SRVST_DBKEY out-of-service status value.
unsigned int setup_ack: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 171 of file sig_pri.h.


Field Documentation

unsigned int alerting

TRUE if channel is alerting/ringing

Definition at line 213 of file sig_pri.h.

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

unsigned int alreadyhungup

TRUE if the call has already gone/hungup

Definition at line 214 of file sig_pri.h.

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

q931_call* call

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

Definition at line 188 of file sig_pri.h.

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

struct sig_pri_callback* calls [read]

void* chan_pvt

int channel

char cid_ani[AST_MAX_EXTENSION]

Definition at line 192 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 186 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 187 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 180 of file sig_pri.h.

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

char dialdest[256]

Definition at line 199 of file sig_pri.h.

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

unsigned int digital

char exten[AST_MAX_EXTENSION]

Definition at line 195 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 173 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 174 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 175 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 215 of file sig_pri.h.

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

char keypad_digits[AST_MAX_EXTENSION]

Keypad digits that came in with the SETUP message.

Definition at line 202 of file sig_pri.h.

Referenced by pri_dchannel(), and pri_fixup_principle().

logical span number within trunk group

Definition at line 236 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 237 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 181 of file sig_pri.h.

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

unsigned int no_b_channel

unsigned int outgoing

struct ast_channel* owner [read]

struct sig_pri_span* pri [read]

unsigned int priexclusive

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

Definition at line 176 of file sig_pri.h.

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

unsigned int priindication_oob

Definition at line 177 of file sig_pri.h.

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

int prioffset

unsigned int proceeding

TRUE if call is in a proceeding state

Definition at line 216 of file sig_pri.h.

Referenced by pri_dchannel(), pri_fixup_principle(), pri_ss_thread(), sig_pri_answer(), sig_pri_digit_begin(), sig_pri_hangup(), and sig_pri_indicate().

unsigned int progress

TRUE if the call has seen progress through the network

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

Referenced by dahdi_show_channel(), pri_check_restart(), pri_dchannel(), and sig_pri_available_check().

Reverse charging indication.

-1 - No reverse charging, 1 - Reverse charging, 0,2-7 - Reserved for future use

Definition at line 253 of file sig_pri.h.

Referenced by pri_dchannel(), and pri_fixup_principle().

unsigned service_status

Active SRVST_DBKEY out-of-service status value.

Definition at line 240 of file sig_pri.h.

Referenced by dahdi_pri_update_span_devstate(), pri_check_restart(), pri_dchannel(), and sig_pri_available_check().

unsigned int setup_ack

TRUE if this channel has received a SETUP_ACKNOWLEDGE

Definition at line 219 of file sig_pri.h.

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

int stripmsd

unsigned int use_callerid

Whether or not to use caller id on this channel

Definition at line 178 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 179 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 194 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:

Generated on Sat Mar 26 11:44:06 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.9