
Data Fields | |
| char | announce [PATH_MAX] |
| int | cancel_answered_elsewhere |
| struct 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] |
| struct queue_ent * | next |
| int | opos |
| struct call_queue * | parent |
| int | pending |
| int | pos |
| struct penalty_rule * | pr |
| int | prio |
| struct { | |
| struct penalty_rule * first | |
| struct penalty_rule * last | |
| } | qe_rules |
| int | ring_when_ringing |
| time_t | start |
| int | valid_digits |
| char announce[PATH_MAX] |
Announcement to play for member when call is answered
Definition at line 1002 of file app_queue.c.
Referenced by queue_set_param(), join_queue(), and try_calling().
Whether we should force the CAE flag on this call (C) option
Definition at line 1022 of file app_queue.c.
Referenced by ring_entry(), and try_calling().
| struct ast_channel* chan |
Our channel
Definition at line 1023 of file app_queue.c.
Referenced by join_queue(), valid_exit(), say_position(), leave_queue(), ring_entry(), say_periodic_announcement(), record_abandoned(), rna(), wait_for_answer(), is_our_turn(), update_qe_rule(), wait_our_turn(), send_agent_complete(), queue_transfer_fixup(), setup_transfer_datastore(), end_bridge_callback(), try_calling(), wait_a_bit(), queue_exec(), __queues_show(), manager_queues_status(), and queues_data_provider_get_helper().
| char context[AST_MAX_CONTEXT] |
Context when user exits queue
Definition at line 1003 of file app_queue.c.
Referenced by create_queue_member(), queue_set_param(), join_queue(), and valid_exit().
| char digits[AST_MAX_EXTENSION] |
Digits entered while in queue
Definition at line 1004 of file app_queue.c.
Referenced by valid_exit(), and queue_exec().
| time_t expire |
When this entry should expire (time out of queue)
Definition at line 1021 of file app_queue.c.
Referenced by ring_one(), wait_our_turn(), try_calling(), and queue_exec().
| struct penalty_rule* first |
Definition at line 1024 of file app_queue.c.
| int handled |
Whether our call was handled
Definition at line 1014 of file app_queue.c.
Referenced by try_calling(), and queue_exec().
| struct penalty_rule* last |
Definition at line 1024 of file app_queue.c.
The last periodic announcement we made
Definition at line 1011 of file app_queue.c.
Referenced by say_periodic_announcement(), and queue_exec().
| time_t last_periodic_announce_time |
The last time we played a periodic announcement
Definition at line 1010 of file app_queue.c.
Referenced by say_periodic_announcement(), and queue_exec().
| time_t last_pos |
Last time we told the user their position
Definition at line 1012 of file app_queue.c.
Referenced by say_position(), and queue_exec().
| int last_pos_said |
Last position we told the user
Definition at line 1008 of file app_queue.c.
Referenced by say_position(), and queue_exec().
| int linpos |
If using linear strategy, what position are we at?
Definition at line 1018 of file app_queue.c.
Referenced by ring_entry(), store_next_lin(), and calc_metric().
| int linwrapped |
Is the linpos wrapped?
Definition at line 1019 of file app_queue.c.
Referenced by store_next_lin(), and calc_metric().
| int max_penalty |
Limit the members that can take this call to this penalty or lower
Definition at line 1016 of file app_queue.c.
Referenced by join_queue(), update_qe_rule(), wait_our_turn(), calc_metric(), and queue_exec().
| int min_penalty |
Limit the members that can take this call to this penalty or higher
Definition at line 1017 of file app_queue.c.
Referenced by get_member_status(), join_queue(), update_qe_rule(), wait_our_turn(), calc_metric(), and queue_exec().
| char moh[80] |
Name of musiconhold to be used
Definition at line 1001 of file app_queue.c.
Referenced by queue_set_param(), join_queue(), say_position(), say_periodic_announcement(), rna(), and queue_exec().
The next queue entry
Definition at line 1026 of file app_queue.c.
Referenced by insert_entry(), join_queue(), leave_queue(), is_our_turn(), __queues_show(), manager_queues_summary(), manager_queues_status(), and queues_data_provider_get_helper().
| int opos |
Where we started in the queue
Definition at line 1013 of file app_queue.c.
Referenced by record_abandoned(), wait_our_turn(), queue_transfer_fixup(), try_calling(), and queue_exec().
| struct call_queue* parent |
What queue is our parent
Definition at line 1000 of file app_queue.c.
Referenced by say_position(), recalc_holdtime(), leave_queue(), ring_entry(), ring_one(), store_next_rr(), say_periodic_announcement(), record_abandoned(), rna(), wait_for_answer(), is_our_turn(), wait_our_turn(), send_agent_complete(), queue_transfer_fixup(), try_calling(), wait_a_bit(), copy_rules(), and queue_exec().
| int pending |
Non-zero if we are attempting to call a member
Definition at line 1015 of file app_queue.c.
Referenced by is_our_turn(), and try_calling().
| int pos |
Where we are in the queue
Definition at line 1006 of file app_queue.c.
Referenced by insert_entry(), join_queue(), say_position(), leave_queue(), record_abandoned(), wait_for_answer(), is_our_turn(), wait_our_turn(), calc_metric(), try_calling(), queue_exec(), __queues_show(), and manager_queues_status().
| struct penalty_rule* pr |
Pointer to the next penalty rule to implement
Definition at line 1025 of file app_queue.c.
Referenced by update_qe_rule(), wait_our_turn(), and queue_exec().
| int prio |
Our priority
Definition at line 1007 of file app_queue.c.
Referenced by join_queue(), queue_exec(), and __queues_show().
| struct { ... } qe_rules |
Local copy of the queue's penalty rules
Referenced by leave_queue(), copy_rules(), and queue_exec().
Should we only use ring indication when a channel is ringing?
Definition at line 1009 of file app_queue.c.
Referenced by rna(), wait_for_answer(), and queue_exec().
| time_t start |
When we started holding
Definition at line 1020 of file app_queue.c.
Referenced by say_position(), record_abandoned(), wait_for_answer(), wait_our_turn(), send_agent_complete(), queue_transfer_fixup(), try_calling(), queue_exec(), __queues_show(), manager_queues_summary(), and manager_queues_status().
| int valid_digits |
Digits entered correspond to valid extension. Exited
Definition at line 1005 of file app_queue.c.
Referenced by valid_exit(), and queue_exec().