Wed Oct 28 11:53:56 2009

Asterisk developer's documentation


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 callattemptcall_next
struct ast_channelchan
char interface [256]
time_t lastcall
struct call_queuelastqueue
struct membermember
int metric
int oldstatus
struct callattemptq_next
int stillgoing

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 348 of file app_queue.c.


Field Documentation

struct callattempt* call_next [read]

Definition at line 350 of file app_queue.c.

Referenced by wait_for_answer().

struct ast_channel* chan [read]

Definition at line 351 of file app_queue.c.

Referenced by do_hang(), hangupcalls(), ring_entry(), ring_one(), try_calling(), and wait_for_answer().

char interface[256]

time_t lastcall

Definition at line 356 of file app_queue.c.

Referenced by ring_entry(), and try_calling().

struct call_queue* lastqueue [read]

Definition at line 357 of file app_queue.c.

Referenced by ring_entry(), and try_calling().

struct member* member [read]

Definition at line 358 of file app_queue.c.

Referenced by hangupcalls(), ring_entry(), try_calling(), and wait_for_answer().

int metric

Definition at line 354 of file app_queue.c.

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

int oldstatus

Definition at line 355 of file app_queue.c.

Referenced by try_calling().

struct callattempt* q_next [read]

Definition at line 349 of file app_queue.c.

Referenced by find_best(), hangupcalls(), ring_one(), try_calling(), and wait_for_answer().

Definition at line 353 of file app_queue.c.

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


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

Generated on Wed Oct 28 11:53:56 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6