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...
Data Fields | |
struct callattempt * | call_next |
struct ast_channel * | chan |
char | interface [256] |
time_t | lastcall |
struct call_queue * | lastqueue |
struct member * | member |
int | metric |
int | oldstatus |
struct callattempt * | q_next |
int | stillgoing |
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 622 of file app_queue.c.
struct callattempt* call_next |
Definition at line 624 of file app_queue.c.
Referenced by wait_for_answer().
struct ast_channel* chan |
Definition at line 625 of file app_queue.c.
Referenced by do_hang(), hangupcalls(), ring_entry(), ring_one(), try_calling(), and wait_for_answer().
char interface[256] |
Definition at line 626 of file app_queue.c.
Referenced by ring_entry(), ring_one(), store_next_lin(), store_next_rr(), try_calling(), and wait_for_answer().
time_t lastcall |
Definition at line 630 of file app_queue.c.
Referenced by ring_entry(), and try_calling().
struct call_queue* lastqueue |
Definition at line 631 of file app_queue.c.
Referenced by ring_entry(), and try_calling().
Definition at line 632 of file app_queue.c.
Referenced by hangupcalls(), ring_entry(), try_calling(), and wait_for_answer().
int metric |
Definition at line 628 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 629 of file app_queue.c.
Referenced by try_calling().
struct callattempt* q_next |
Definition at line 623 of file app_queue.c.
Referenced by find_best(), hangupcalls(), ring_one(), try_calling(), and wait_for_answer().
int stillgoing |
Definition at line 627 of file app_queue.c.
Referenced by do_hang(), ring_entry(), ring_one(), try_calling(), and wait_for_answer().