Sat Apr 26 2014 22:03:26

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
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 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.
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]
 User tag for party id's sent from this device driver.
unsigned int waiting_for_aoce:1

Detailed Description

Definition at line 276 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 337 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 323 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 316 of file sig_pri.h.

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

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

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

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

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

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

Definition at line 293 of file sig_pri.h.

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

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

Referenced by pri_dchannel(), and sig_pri_set_caller_id().

int cid_ton

Type Of Number (TON)

Definition at line 292 of file sig_pri.h.

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

'w' deferred dialing digits.

Definition at line 310 of file sig_pri.h.

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

char dialdest[256]

Definition at line 304 of file sig_pri.h.

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

Definition at line 300 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 278 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 279 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 320 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 280 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 344 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 324 of file sig_pri.h.

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

Keypad digits that came in with the SETUP message.

Definition at line 307 of file sig_pri.h.

Referenced by pri_dchannel(), and pri_fixup_principle().

logical span number within trunk group

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

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

unsigned int priexclusive

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

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

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

unsigned int progress

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

Definition at line 325 of file sig_pri.h.

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

Channel reset/restart state.

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

Reverse charging indication.

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

Definition at line 373 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 361 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 283 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 284 of file sig_pri.h.

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

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

Definition at line 299 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 319 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: