Wed Apr 6 11:30:13 2011

Asterisk developer's documentation


sig_pri_chan Struct Reference

#include <sig_pri.h>


Data Fields

unsigned int alerting:1
unsigned int alreadyhungup:1
q931_call * call
int callingpres
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 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
ast_channelowner
sig_pri_spanpri
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 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 sig_pri_hangup(), and sig_pri_new_ast_channel().

q931_call* call

opaque libpri call control structure

Definition at line 233 of file sig_pri.h.

Referenced by dahdi_bridge(), pri_dchannel(), pri_find_pri_call(), pri_find_principle(), pri_fixup_principle(), pri_send_callrerouting_facility_exec(), pri_send_keypad_facility_exec(), pri_ss_thread(), sig_pri_answer(), sig_pri_available_check(), sig_pri_call(), sig_pri_chan_alarm_notify(), sig_pri_digit_begin(), sig_pri_hangup(), sig_pri_indicate(), and sig_pri_redirecting_update().

int callingpres

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

struct sig_pri_callback* calls

Definition at line 243 of file sig_pri.h.

Referenced by pri_queue_control(), sig_pri_dsp_reset_and_flush_digits(), sig_pri_fixup_chans(), sig_pri_get_orig_dialstring(), sig_pri_lock_private(), sig_pri_new_ast_channel(), sig_pri_open_media(), sig_pri_play_tone(), sig_pri_set_alarm(), sig_pri_set_caller_id(), sig_pri_set_dialing(), sig_pri_set_digital(), sig_pri_set_dnid(), sig_pri_set_echocanceller(), sig_pri_set_rdnis(), and sig_pri_unlock_private().

void* chan_pvt

Private structure of the user of this module.

Definition at line 244 of file sig_pri.h.

Referenced by available(), pri_queue_control(), sig_pri_dsp_reset_and_flush_digits(), sig_pri_fixup_chans(), sig_pri_get_orig_dialstring(), sig_pri_lock_private(), sig_pri_new_ast_channel(), sig_pri_open_media(), sig_pri_play_tone(), sig_pri_set_alarm(), sig_pri_set_caller_id(), sig_pri_set_dialing(), sig_pri_set_digital(), sig_pri_set_dnid(), sig_pri_set_echocanceller(), sig_pri_set_rdnis(), and sig_pri_unlock_private().

int channel

Channel Number or CRV

Definition at line 183 of file sig_pri.h.

Referenced by do_idle_thread(), pri_dchannel(), pri_maintenance_bservice(), sig_pri_call(), sig_pri_cmp_pri_chans(), sig_pri_hangup(), and sig_pri_request().

char cid_ani[AST_MAX_EXTENSION]

Definition at line 192 of file sig_pri.h.

Referenced by 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 sig_pri_set_caller_id().

char cid_name[AST_MAX_EXTENSION]

Definition at line 191 of file sig_pri.h.

Referenced by sig_pri_hangup(), and sig_pri_set_caller_id().

char cid_num[AST_MAX_EXTENSION]

Definition at line 189 of file sig_pri.h.

Referenced by pri_ss_thread(), sig_pri_hangup(), and sig_pri_set_caller_id().

char cid_subaddr[AST_MAX_EXTENSION]

Definition at line 190 of file sig_pri.h.

Referenced by sig_pri_hangup(), and sig_pri_set_caller_id().

int cid_ton

Type Of Number (TON)

Definition at line 187 of file sig_pri.h.

Referenced by sig_pri_set_caller_id().

char context[AST_MAX_CONTEXT]

Definition at line 180 of file sig_pri.h.

char dialdest[256]

Definition at line 199 of file sig_pri.h.

Referenced by sig_pri_call(), and sig_pri_digit_begin().

unsigned int digital

Definition at line 222 of file sig_pri.h.

Referenced by sig_pri_answer(), sig_pri_call(), sig_pri_indicate(), and sig_pri_set_digital().

char exten[AST_MAX_EXTENSION]

Definition at line 195 of file sig_pri.h.

Referenced by pri_ss_thread(), sig_pri_hangup(), and sig_pri_request().

unsigned int hidecallerid

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

Referenced by sig_pri_call().

unsigned int immediate

Answer before getting digits?

Definition at line 175 of file sig_pri.h.

unsigned int inalarm

Definition at line 212 of file sig_pri.h.

Referenced by dahdi_pri_update_span_devstate(), pri_find_empty_chan(), pri_find_empty_nobch(), sig_pri_available_check(), and sig_pri_set_alarm().

unsigned int isidlecall

TRUE if this is an idle call

Definition at line 215 of file sig_pri.h.

Referenced by pri_dchannel(), 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.

int logicalspan

logical span number within trunk group

Definition at line 236 of file sig_pri.h.

Referenced by pri_find_empty_chan(), and PVT_TO_CHANNEL().

int mastertrunkgroup

what trunk group is our master

Definition at line 237 of file sig_pri.h.

Referenced by PVT_TO_CHANNEL().

char mohinterpret[MAX_MUSICCLASS]

Definition at line 181 of file sig_pri.h.

Referenced by sig_pri_indicate().

unsigned int no_b_channel

TRUE if this interface has no B channel. (call hold and call waiting).

Definition at line 224 of file sig_pri.h.

Referenced by dahdi_pri_update_span_devstate(), pri_dchannel(), pri_find_empty_chan(), pri_find_empty_nobch(), sig_pri_available_check(), sig_pri_handle_hold(), sig_pri_indicate(), and sig_pri_open_media().

unsigned int outgoing

Definition at line 221 of file sig_pri.h.

Referenced by sig_pri_call(), sig_pri_cc_generic_check(), sig_pri_hangup(), sig_pri_indicate(), and sig_pri_request().

struct ast_channel* owner

Definition at line 230 of file sig_pri.h.

Referenced by dahdi_pri_update_span_devstate(), do_idle_thread(), pri_dchannel(), pri_find_empty_chan(), pri_find_empty_nobch(), pri_queue_frame(), pri_ss_thread(), sig_pri_attempt_transfer(), sig_pri_available_check(), sig_pri_call(), sig_pri_cc_generic_check(), sig_pri_chan_alarm_notify(), sig_pri_fixup(), sig_pri_handle_hold(), sig_pri_hangup(), sig_pri_lock_owner(), and sig_pri_new_ast_channel().

struct sig_pri_span* pri

Definition at line 232 of file sig_pri.h.

Referenced by apply_plan_to_number(), do_idle_thread(), handle_pri_show_debug(), handle_pri_show_span(), handle_pri_show_spans(), pri_check_restart(), pri_find_empty_chan(), pri_find_empty_nobch(), pri_find_pri_call(), pri_find_principle(), pri_fixup_principle(), pri_queue_control(), pri_send_callrerouting_facility_exec(), pri_send_keypad_facility_exec(), pri_ss_thread(), sig_pri_answer(), sig_pri_available(), sig_pri_call(), sig_pri_chan_alarm_notify(), sig_pri_chan_new(), sig_pri_cli_show_span(), sig_pri_cli_show_spans(), sig_pri_digit_begin(), sig_pri_hangup(), sig_pri_indicate(), sig_pri_new_ast_channel(), sig_pri_redirecting_update(), and sig_pri_sort_pri_chans().

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

unsigned int priindication_oob

Definition at line 177 of file sig_pri.h.

Referenced by sig_pri_indicate().

int prioffset

channel number in span

Definition at line 235 of file sig_pri.h.

Referenced by pri_find_empty_chan(), pri_find_principle(), PVT_TO_CHANNEL(), and sig_pri_indicate().

unsigned int proceeding

TRUE if call is in a proceeding state

Definition at line 216 of file sig_pri.h.

Referenced by 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 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 pri_check_restart(), pri_dchannel(), and sig_pri_available_check().

int reverse_charging_indication

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.

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(), 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 sig_pri_digit_begin(), and sig_pri_hangup().

int stripmsd

Definition at line 182 of file sig_pri.h.

Referenced by sig_pri_call(), and sig_pri_extract_called_num_subaddr().

unsigned int use_callerid

Whether or not to use caller id on this channel

Definition at line 178 of file sig_pri.h.

unsigned int use_callingpres

Whether to use the callingpres the calling switch sends

Definition at line 179 of file sig_pri.h.

Referenced by 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_ss_thread(), sig_pri_call(), sig_pri_hangup(), and sig_pri_set_caller_id().


The documentation for this struct was generated from the following file:
Generated on Wed Apr 6 11:30:13 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7