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

Data Fields

unsigned int allocated:1
 TRUE when this channel is allocated. More...
 
unsigned int alreadyhungup:1
 
struct pri_subcmd_aoc_e aoc_e
 
int aoc_s_request_invoke_id
 
unsigned int aoc_s_request_invoke_id_valid: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 holding_aoce:1
 
unsigned int immediate:1
 
unsigned int inalarm:1
 
unsigned int is_call_waiting:1
 TRUE if this is a call waiting call.
 
unsigned int isidlecall:1
 
char keypad_digits [AST_MAX_EXTENSION]
 Keypad digits that came in with the SETUP message.
 
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)
 
unsigned int no_dialed_digits:1
 
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 reverse_charging_indication
 Reverse charging indication. More...
 
unsigned service_status
 Active SRVST_DBKEY out-of-service status value.
 
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.
 
unsigned int waiting_for_aoce:1
 
struct xfer_rsp_dataxfer_data
 

Detailed Description

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

unsigned int alreadyhungup

TRUE if the call has already gone/hungup

Definition at line 325 of file sig_pri.h.

int aoc_s_request_invoke_id

If an AOC-S request was present for the call, this is the invoke_id to use for the response

Definition at line 319 of file sig_pri.h.

unsigned int aoc_s_request_invoke_id_valid

This is set when the AOC-S invoke id is present

Definition at line 320 of file sig_pri.h.

q931_call* call

opaque libpri call control structure

Definition at line 356 of file sig_pri.h.

Referenced by sig_pri_call(), sig_pri_cc_agent_init(), sig_pri_chan_alarm_notify(), and sig_pri_sendtext().

enum sig_pri_call_level call_level

Call establishment life cycle level for simple comparisons.

Definition at line 359 of file sig_pri.h.

Referenced by sig_pri_call(), and sig_pri_dial_complete().

int callingpres

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

Definition at line 295 of file sig_pri.h.

void* chan_pvt

Private structure of the user of this module.

Definition at line 374 of file sig_pri.h.

Referenced by sig_pri_dial_complete().

int channel

Channel Number or CRV

Definition at line 290 of file sig_pri.h.

Referenced by mkintf(), and sig_pri_call().

int cid_ani2

Automatic Number Identification number (Alternate PRI caller ID number)

Definition at line 293 of file sig_pri.h.

int cid_ton

Type Of Number (TON)

Definition at line 294 of file sig_pri.h.

char deferred_digits[AST_MAX_EXTENSION]

'w' deferred dialing digits.

Definition at line 312 of file sig_pri.h.

Referenced by sig_pri_call().

unsigned int hidecalleridname

Hide just the name not the number for legacy PBX use

Definition at line 281 of file sig_pri.h.

Referenced by mkintf(), and sig_pri_call().

unsigned int holding_aoce

received AOC-E msg from asterisk. holding for disconnect/release

Definition at line 322 of file sig_pri.h.

unsigned int immediate

Answer before getting digits?

Definition at line 282 of file sig_pri.h.

Referenced by mkintf().

unsigned int isidlecall

TRUE if this is an idle call

Definition at line 326 of file sig_pri.h.

int logicalspan

logical span number within trunk group

Definition at line 367 of file sig_pri.h.

int mastertrunkgroup

what trunk group is our master

Definition at line 368 of file sig_pri.h.

char moh_suggested[MAX_MUSICCLASS]

Music class suggested with AST_CONTROL_HOLD.

Definition at line 314 of file sig_pri.h.

unsigned int no_dialed_digits

TRUE if outgoing SETUP had no called digits

Definition at line 350 of file sig_pri.h.

Referenced by sig_pri_call().

unsigned int priexclusive

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

Definition at line 283 of file sig_pri.h.

Referenced by mkintf(), and sig_pri_call().

int prioffset

channel number in span

Definition at line 366 of file sig_pri.h.

unsigned int progress

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

Definition at line 327 of file sig_pri.h.

int reverse_charging_indication

Reverse charging indication.

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

Definition at line 383 of file sig_pri.h.

unsigned int use_callerid

Whether or not to use caller id on this channel

Definition at line 285 of file sig_pri.h.

Referenced by mkintf().

unsigned int use_callingpres

Whether to use the callingpres the calling switch sends

Definition at line 286 of file sig_pri.h.

Referenced by mkintf(), and sig_pri_call().

unsigned int waiting_for_aoce

Delaying hangup for AOC-E msg. If this is set and AOC-E is received, continue with hangup before timeout period.

Definition at line 321 of file sig_pri.h.

struct xfer_rsp_data* xfer_data

If non-NULL, send transfer disconnect successfull response to first call disconnecting.

Definition at line 364 of file sig_pri.h.


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