Data Fields | |
char | announce [80] |
ast_channel * | chan |
char | context [AST_MAX_CONTEXT] |
char | digits [AST_MAX_EXTENSION] |
time_t | expire |
int | handled |
int | last_periodic_announce_sound |
time_t | last_periodic_announce_time |
time_t | last_pos |
int | last_pos_said |
int | linpos |
int | linwrapped |
int | max_penalty |
int | min_penalty |
char | moh [80] |
queue_ent * | next |
int | opos |
call_queue * | parent |
int | pending |
int | pos |
penalty_rule * | pr |
int | prio |
struct { | |
penalty_rule * first | |
penalty_rule * last | |
} | qe_rules |
time_t | start |
int | valid_digits |
Definition at line 362 of file app_queue.c.
char announce[80] |
Announcement to play for member when call is answered
Definition at line 365 of file app_queue.c.
Referenced by join_queue(), queue_set_param(), and try_calling().
struct ast_channel* chan |
Our channel
Definition at line 384 of file app_queue.c.
Referenced by __queues_show(), is_our_turn(), join_queue(), leave_queue(), manager_queues_status(), play_file(), queue_transfer_fixup(), record_abandoned(), ring_entry(), rna(), say_periodic_announcement(), say_position(), send_agent_complete(), set_queue_variables(), setup_transfer_datastore(), try_calling(), update_qe_rule(), valid_exit(), vars2manager(), wait_a_bit(), wait_for_answer(), and wait_our_turn().
char context[AST_MAX_CONTEXT] |
Context when user exits queue
Definition at line 366 of file app_queue.c.
Referenced by join_queue(), queue_set_param(), and valid_exit().
char digits[AST_MAX_EXTENSION] |
Digits entered while in queue
Definition at line 367 of file app_queue.c.
Referenced by valid_exit().
time_t expire |
When this entry should expire (time out of queue)
Definition at line 383 of file app_queue.c.
Referenced by ring_one(), try_calling(), and wait_our_turn().
struct penalty_rule* first |
Definition at line 385 of file app_queue.c.
int handled |
Whether our call was handled
Definition at line 376 of file app_queue.c.
Referenced by try_calling().
struct penalty_rule* last |
Definition at line 385 of file app_queue.c.
The last periodic announcement we made
Definition at line 373 of file app_queue.c.
Referenced by say_periodic_announcement().
time_t last_periodic_announce_time |
The last time we played a periodic announcement
Definition at line 372 of file app_queue.c.
Referenced by say_periodic_announcement().
time_t last_pos |
Last time we told the user their position
Definition at line 374 of file app_queue.c.
Referenced by say_position().
int last_pos_said |
Last position we told the user
Definition at line 371 of file app_queue.c.
Referenced by say_position().
int linpos |
If using linear strategy, what position are we at?
Definition at line 380 of file app_queue.c.
Referenced by calc_metric(), ring_entry(), and store_next_lin().
int linwrapped |
Is the linpos wrapped?
Definition at line 381 of file app_queue.c.
Referenced by calc_metric(), and store_next_lin().
int max_penalty |
Limit the members that can take this call to this penalty or lower
Definition at line 378 of file app_queue.c.
Referenced by calc_metric(), join_queue(), update_qe_rule(), and wait_our_turn().
int min_penalty |
Limit the members that can take this call to this penalty or higher
Definition at line 379 of file app_queue.c.
Referenced by calc_metric(), join_queue(), update_qe_rule(), and wait_our_turn().
char moh[80] |
Name of musiconhold to be used
Definition at line 364 of file app_queue.c.
Referenced by join_queue(), say_periodic_announcement(), and say_position().
The next queue entry
Definition at line 387 of file app_queue.c.
Referenced by __queues_show(), insert_entry(), is_our_turn(), join_queue(), leave_queue(), manager_queues_status(), and manager_queues_summary().
int opos |
Where we started in the queue
Definition at line 375 of file app_queue.c.
Referenced by queue_transfer_fixup(), record_abandoned(), try_calling(), and wait_our_turn().
struct call_queue* parent |
What queue is our parent
Definition at line 363 of file app_queue.c.
Referenced by insert_entry(), is_our_turn(), leave_queue(), queue_transfer_fixup(), recalc_holdtime(), record_abandoned(), ring_entry(), ring_one(), rna(), say_periodic_announcement(), say_position(), send_agent_complete(), store_next_rr(), try_calling(), wait_a_bit(), wait_for_answer(), and wait_our_turn().
int pending |
Non-zero if we are attempting to call a member
Definition at line 377 of file app_queue.c.
Referenced by is_our_turn(), and try_calling().
int pos |
Where we are in the queue
Definition at line 369 of file app_queue.c.
Referenced by __queues_show(), join_queue(), leave_queue(), record_abandoned(), say_position(), try_calling(), and wait_our_turn().
struct penalty_rule* pr |
Pointer to the next penalty rule to implement
Definition at line 386 of file app_queue.c.
Referenced by join_queue(), update_qe_rule(), and wait_our_turn().
int prio |
Our priority
Definition at line 370 of file app_queue.c.
Referenced by __queues_show(), and join_queue().
struct { ... } qe_rules |
Local copy of the queue's penalty rules
Referenced by copy_rules(), join_queue(), and leave_queue().
time_t start |
When we started holding
Definition at line 382 of file app_queue.c.
Referenced by __queues_show(), manager_queues_status(), manager_queues_summary(), queue_transfer_fixup(), record_abandoned(), say_position(), send_agent_complete(), try_calling(), and wait_our_turn().
int valid_digits |
Digits entered correspond to valid extension. Exited
Definition at line 368 of file app_queue.c.
Referenced by valid_exit().