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 ast_aoc_decoded * | aoc_s_rate_list |
| unsigned int | block_connected_update:1 |
| struct callattempt * | call_next |
| struct ast_channel * | chan |
| struct ast_party_connected_line | connected |
| unsigned int | dial_callerid_absent:1 |
| char | interface [256] |
| time_t | lastcall |
| struct call_queue * | lastqueue |
| struct member * | member |
| int | metric |
| unsigned int | pending_connected_update:1 |
| struct callattempt * | q_next |
| unsigned int | stillgoing:1 |
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 1029 of file app_queue.c.
struct ast_aoc_decoded* aoc_s_rate_list [read] |
Definition at line 1048 of file app_queue.c.
Referenced by hangupcalls(), and wait_for_answer().
| unsigned int block_connected_update |
TRUE if the connected line update is blocked.
Definition at line 1043 of file app_queue.c.
Referenced by try_calling(), and wait_for_answer().
struct callattempt* call_next [read] |
Definition at line 1031 of file app_queue.c.
Referenced by wait_for_answer().
struct ast_channel* chan [read] |
Definition at line 1032 of file app_queue.c.
Referenced by do_hang(), hangupcalls(), ring_entry(), ring_one(), try_calling(), and wait_for_answer().
struct ast_party_connected_line connected [read] |
Saved connected party info from an AST_CONTROL_CONNECTED_LINE.
Definition at line 1039 of file app_queue.c.
Referenced by callattempt_free(), try_calling(), and wait_for_answer().
| unsigned int dial_callerid_absent |
TRUE if caller id is not available for connected line
Definition at line 1045 of file app_queue.c.
Referenced by ring_entry(), and wait_for_answer().
| char interface[256] |
Definition at line 1033 of file app_queue.c.
Referenced by can_ring_entry(), ring_entry(), ring_one(), store_next_lin(), store_next_rr(), try_calling(), and wait_for_answer().
| time_t lastcall |
Definition at line 1035 of file app_queue.c.
Referenced by can_ring_entry(), and try_calling().
struct call_queue* lastqueue [read] |
Definition at line 1036 of file app_queue.c.
Referenced by can_ring_entry(), and try_calling().
Definition at line 1037 of file app_queue.c.
Referenced by callattempt_free(), can_ring_entry(), ring_entry(), try_calling(), and wait_for_answer().
| int metric |
Definition at line 1034 of file app_queue.c.
Referenced by calc_metric(), find_best(), ring_one(), store_next_lin(), and store_next_rr().
| unsigned int pending_connected_update |
TRUE if an AST_CONTROL_CONNECTED_LINE update was saved to the connected element.
Definition at line 1041 of file app_queue.c.
Referenced by wait_for_answer().
struct callattempt* q_next [read] |
Definition at line 1030 of file app_queue.c.
Referenced by find_best(), hangupcalls(), ring_one(), try_calling(), and wait_for_answer().
| unsigned int stillgoing |
TRUE if the call is still active
Definition at line 1047 of file app_queue.c.
Referenced by do_hang(), ring_entry(), ring_one(), try_calling(), and wait_for_answer().
1.6.1