Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
callattempt Struct Reference

We define a custom "local user" structure because we use it not only for keeping track of what is in use but also for keeping track of who we're dialing. More...

Collaboration diagram for callattempt:
Collaboration graph
[legend]

Data Fields

struct ast_aoc_decodedaoc_s_rate_list
 
unsigned int block_connected_update:1
 
struct callattemptcall_next
 
struct ast_channelchan
 
struct ast_party_connected_line connected
 
unsigned int dial_callerid_absent:1
 
char interface [256]
 
struct membermember
 
int metric
 
char * orig_chan_name
 
unsigned int pending_connected_update:1
 
struct callattemptq_next
 
unsigned int stillgoing:1
 

Detailed Description

We define a custom "local user" structure because we use it not only for keeping track of what is in use but also for keeping track of who we're dialing.

There are two "links" defined in this structure, q_next and call_next. q_next links ALL defined callattempt structures into a linked list. call_next is a link which allows for a subset of the callattempts to be traversed. This subset is used in wait_for_answer so that irrelevant callattempts are not traversed. This also is helpful so that queue logs are always accurate in the case where a call to a member times out, especially if using the ringall strategy.

Definition at line 1698 of file app_queue.c.

Field Documentation

◆ aoc_s_rate_list

struct ast_aoc_decoded* aoc_s_rate_list

Definition at line 1715 of file app_queue.c.

Referenced by hangupcalls(), and wait_for_answer().

◆ block_connected_update

unsigned int block_connected_update

TRUE if the connected line update is blocked.

Definition at line 1710 of file app_queue.c.

Referenced by wait_for_answer().

◆ call_next

struct callattempt* call_next

Definition at line 1700 of file app_queue.c.

Referenced by wait_for_answer().

◆ chan

struct ast_channel* chan

Definition at line 1701 of file app_queue.c.

Referenced by do_hang(), publish_dial_end_event(), ring_one(), try_calling(), and wait_for_answer().

◆ connected

struct ast_party_connected_line connected

Saved connected party info from an AST_CONTROL_CONNECTED_LINE.

Definition at line 1706 of file app_queue.c.

Referenced by callattempt_free(), and wait_for_answer().

◆ dial_callerid_absent

unsigned int dial_callerid_absent

TRUE if caller id is not available for connected line

Definition at line 1712 of file app_queue.c.

Referenced by wait_for_answer().

◆ interface

char interface[256]

An Asterisk dial string (not a channel name)

Definition at line 1702 of file app_queue.c.

Referenced by ring_one(), rna(), store_next_lin(), store_next_rr(), and wait_for_answer().

◆ member

struct member* member

Definition at line 1704 of file app_queue.c.

Referenced by callattempt_free(), do_hang(), try_calling(), and wait_for_answer().

◆ metric

int metric

Definition at line 1703 of file app_queue.c.

Referenced by find_best(), ring_one(), store_next_lin(), and store_next_rr().

◆ orig_chan_name

char* orig_chan_name

Original channel name. Must be freed. Could be NULL if allocation failed.

Definition at line 1717 of file app_queue.c.

Referenced by callattempt_free(), and wait_for_answer().

◆ pending_connected_update

unsigned int pending_connected_update

TRUE if an AST_CONTROL_CONNECTED_LINE update was saved to the connected element.

Definition at line 1708 of file app_queue.c.

Referenced by wait_for_answer().

◆ q_next

struct callattempt* q_next

Definition at line 1699 of file app_queue.c.

Referenced by publish_dial_end_event(), ring_one(), and wait_for_answer().

◆ stillgoing

unsigned int stillgoing

TRUE if the call is still active

Definition at line 1714 of file app_queue.c.

Referenced by do_hang(), ring_one(), and wait_for_answer().


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