Sat Apr 26 2014 22:03:26

Asterisk developer's documentation


queue_ent Struct Reference
Collaboration diagram for queue_ent:

Data Fields

char announce [PATH_MAX]
int cancel_answered_elsewhere
struct ast_channelchan
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 [MAX_MUSICCLASS]
struct queue_entnext
int opos
struct call_queueparent
int pending
int pos
struct penalty_rulepr
int prio
struct {
   struct penalty_rule *   first
   struct penalty_rule *   last
qe_rules
int ring_when_ringing
time_t start
int valid_digits

Detailed Description

Definition at line 1113 of file app_queue.c.


Field Documentation

char announce[PATH_MAX]

Announcement to play for member when call is answered

Definition at line 1116 of file app_queue.c.

Referenced by join_queue(), queue_set_param(), and try_calling().

Whether we should force the CAE flag on this call (C) option

Definition at line 1136 of file app_queue.c.

Referenced by ring_entry(), and try_calling().

Context when user exits queue

Definition at line 1117 of file app_queue.c.

Referenced by create_queue_member(), join_queue(), queue_set_param(), and valid_exit().

Digits entered while in queue

Definition at line 1118 of file app_queue.c.

Referenced by queue_exec(), and valid_exit().

time_t expire

When this entry should expire (time out of queue)

Definition at line 1135 of file app_queue.c.

Referenced by queue_exec(), ring_one(), try_calling(), and wait_our_turn().

Definition at line 1138 of file app_queue.c.

int handled

Whether our call was handled

Definition at line 1128 of file app_queue.c.

Referenced by queue_exec(), and try_calling().

struct penalty_rule* last

Definition at line 1138 of file app_queue.c.

The last periodic announcement we made

Definition at line 1125 of file app_queue.c.

Referenced by queue_exec(), and say_periodic_announcement().

The last time we played a periodic announcement

Definition at line 1124 of file app_queue.c.

Referenced by queue_exec(), and say_periodic_announcement().

time_t last_pos

Last time we told the user their position

Definition at line 1126 of file app_queue.c.

Referenced by queue_exec(), and say_position().

Last position we told the user

Definition at line 1122 of file app_queue.c.

Referenced by queue_exec(), and say_position().

int linpos

If using linear strategy, what position are we at?

Definition at line 1132 of file app_queue.c.

Referenced by calc_metric(), ring_entry(), and store_next_lin().

Is the linpos wrapped?

Definition at line 1133 of file app_queue.c.

Referenced by calc_metric(), and store_next_lin().

Limit the members that can take this call to this penalty or lower

Definition at line 1130 of file app_queue.c.

Referenced by calc_metric(), join_queue(), queue_exec(), update_qe_rule(), and wait_our_turn().

Limit the members that can take this call to this penalty or higher

Definition at line 1131 of file app_queue.c.

Referenced by calc_metric(), get_member_status(), join_queue(), queue_exec(), update_qe_rule(), and wait_our_turn().

Name of musiconhold to be used

Definition at line 1115 of file app_queue.c.

Referenced by join_queue(), queue_exec(), queue_set_param(), rna(), say_periodic_announcement(), and say_position().

int opos

Where we started in the queue

Definition at line 1127 of file app_queue.c.

Referenced by queue_exec(), queue_transfer_fixup(), record_abandoned(), try_calling(), and wait_our_turn().

int pending

Non-zero if we are attempting to call a member

Definition at line 1129 of file app_queue.c.

Referenced by is_our_turn(), and try_calling().

struct penalty_rule* pr

Pointer to the next penalty rule to implement

Definition at line 1139 of file app_queue.c.

Referenced by queue_exec(), update_qe_rule(), and wait_our_turn().

int prio

Our priority

Definition at line 1121 of file app_queue.c.

Referenced by __queues_show(), join_queue(), and queue_exec().

struct { ... } qe_rules

Local copy of the queue's penalty rules

Referenced by copy_rules(), leave_queue(), and queue_exec().

Should we only use ring indication when a channel is ringing?

Definition at line 1123 of file app_queue.c.

Referenced by queue_exec(), rna(), and wait_for_answer().

Digits entered correspond to valid extension. Exited

Definition at line 1119 of file app_queue.c.

Referenced by queue_exec(), and valid_exit().


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