Wed Jan 8 2020 09:50:25

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. 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
 
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 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. More...
 
unsigned int isidlecall:1
 
char keypad_digits [AST_MAX_EXTENSION]
 Keypad digits that came in with the SETUP message. More...
 
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) More...
 
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. More...
 
int reverse_charging_indication
 Reverse charging indication. More...
 
unsigned service_status
 Active SRVST_DBKEY out-of-service status value. More...
 
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. More...
 
unsigned int waiting_for_aoce:1
 

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(), 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 266 of file sig_pri.h.

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

struct pri_subcmd_aoc_e aoc_e

Definition at line 259 of file sig_pri.h.

Referenced by pri_fixup_principle(), sig_pri_aoc_e_from_ast(), and sig_pri_hangup().

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

Referenced by pri_fixup_principle(), sig_pri_answer(), sig_pri_aoc_request_from_pri(), and sig_pri_aoc_s_from_ast().

unsigned int aoc_s_request_invoke_id_valid

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

Definition at line 261 of file sig_pri.h.

Referenced by pri_fixup_principle(), sig_pri_answer(), sig_pri_aoc_request_from_pri(), sig_pri_aoc_s_from_ast(), and sig_pri_hangup().

int callingpres

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.

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

char cid_ani[AST_MAX_EXTENSION]

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

Referenced by pri_dchannel(), and sig_pri_set_caller_id().

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

Type Of Number (TON)

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

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

char deferred_digits[AST_MAX_EXTENSION]

'w' deferred dialing digits.

Definition at line 256 of file sig_pri.h.

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

char dialdest[256]

Definition at line 250 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 246 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 224 of file sig_pri.h.

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

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

unsigned int holding_aoce

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

Definition at line 263 of file sig_pri.h.

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

unsigned int immediate

Answer before getting digits?

Definition at line 226 of file sig_pri.h.

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

unsigned int inalarm
unsigned int is_call_waiting

TRUE if this is a call waiting call.

Definition at line 287 of file sig_pri.h.

Referenced by pri_dchannel(), pri_fixup_principle(), sig_pri_call(), sig_pri_cw_available(), and sig_pri_hangup().

unsigned int isidlecall

TRUE if this is an idle call

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

Referenced by pri_dchannel(), and pri_fixup_principle().

int logicalspan

logical span number within trunk group

Definition at line 304 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().

int mastertrunkgroup

what trunk group is our master

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

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

unsigned int no_dialed_digits

TRUE if outgoing SETUP had no called digits

Definition at line 291 of file sig_pri.h.

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

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

unsigned int priindication_oob

Definition at line 228 of file sig_pri.h.

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

int prioffset

channel number in span

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

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

enum sig_pri_reset_state resetting

Channel reset/restart state.

Definition at line 302 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().

int reverse_charging_indication

Reverse charging indication.

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

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

Referenced by pri_check_restart(), pri_dchannel(), and sig_pri_is_chan_available().

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

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

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.

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().

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

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


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