Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
queue_ent Struct Reference
Collaboration diagram for queue_ent:
Collaboration graph
[legend]

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
 
const char * predial_callee
 
int prio
 
struct {
   struct penalty_rule *   first
 
   struct penalty_rule *   last
 
qe_rules
 
int raise_penalty
 
int ring_when_ringing
 
time_t start
 
int valid_digits
 
unsigned int withdraw:1
 
char * withdraw_info
 

Detailed Description

Definition at line 1721 of file app_queue.c.

Field Documentation

◆ announce

char announce[PATH_MAX]

Announcement to play for member when call is answered

Definition at line 1724 of file app_queue.c.

Referenced by join_queue(), and try_calling().

◆ cancel_answered_elsewhere

int cancel_answered_elsewhere

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

Definition at line 1746 of file app_queue.c.

Referenced by ring_entry(), and try_calling().

◆ chan

struct ast_channel* chan

◆ context

char context[AST_MAX_CONTEXT]

Context when user exits queue

Definition at line 1725 of file app_queue.c.

Referenced by join_queue(), and valid_exit().

◆ digits

char digits[AST_MAX_EXTENSION]

Digits entered while in queue

Definition at line 1726 of file app_queue.c.

Referenced by queue_exec(), and valid_exit().

◆ expire

time_t expire

When this entry should expire (time out of queue)

Definition at line 1745 of file app_queue.c.

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

◆ first

struct penalty_rule* first

Definition at line 1750 of file app_queue.c.

◆ handled

int handled

Whether our call was handled

Definition at line 1737 of file app_queue.c.

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

◆ last

struct penalty_rule* last

Definition at line 1750 of file app_queue.c.

◆ last_periodic_announce_sound

int last_periodic_announce_sound

The last periodic announcement we made

Definition at line 1734 of file app_queue.c.

Referenced by queue_exec(), and say_periodic_announcement().

◆ last_periodic_announce_time

time_t last_periodic_announce_time

The last time we played a periodic announcement

Definition at line 1733 of file app_queue.c.

Referenced by queue_exec(), and say_periodic_announcement().

◆ last_pos

time_t last_pos

Last time we told the user their position

Definition at line 1735 of file app_queue.c.

Referenced by queue_exec(), and say_position().

◆ last_pos_said

int last_pos_said

Last position we told the user

Definition at line 1731 of file app_queue.c.

Referenced by queue_exec(), and say_position().

◆ linpos

int linpos

If using linear strategy, what position are we at?

Definition at line 1742 of file app_queue.c.

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

◆ linwrapped

int linwrapped

Is the linpos wrapped?

Definition at line 1743 of file app_queue.c.

Referenced by calc_metric(), and store_next_lin().

◆ max_penalty

int max_penalty

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

Definition at line 1739 of file app_queue.c.

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

◆ min_penalty

int min_penalty

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

Definition at line 1740 of file app_queue.c.

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

◆ moh

char moh[MAX_MUSICCLASS]

Name of musiconhold to be used

Definition at line 1723 of file app_queue.c.

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

◆ next

struct queue_ent* next

◆ opos

int opos

Where we started in the queue

Definition at line 1736 of file app_queue.c.

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

◆ parent

struct call_queue* parent

◆ pending

int pending

Non-zero if we are attempting to call a member

Definition at line 1738 of file app_queue.c.

Referenced by is_longest_waiting_caller(), is_our_turn(), and try_calling().

◆ pos

int pos

◆ pr

struct penalty_rule* pr

Pointer to the next penalty rule to implement

Definition at line 1751 of file app_queue.c.

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

◆ predial_callee

const char* predial_callee

Gosub app arguments for outgoing calls. NULL if not supplied.

Definition at line 1727 of file app_queue.c.

Referenced by queue_exec(), ring_entry(), and ring_one().

◆ prio

int prio

Our priority

Definition at line 1730 of file app_queue.c.

Referenced by join_queue(), manager_queues_status(), print_queue(), and queue_exec().

◆ 

struct { ... } qe_rules

Local copy of the queue's penalty rules

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

◆ raise_penalty

int raise_penalty

Float lower penalty members to a minimum penalty

Definition at line 1741 of file app_queue.c.

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

◆ ring_when_ringing

int ring_when_ringing

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

Definition at line 1732 of file app_queue.c.

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

◆ start

time_t start

◆ valid_digits

int valid_digits

Digits entered correspond to valid extension. Exited

Definition at line 1728 of file app_queue.c.

Referenced by queue_exec(), and valid_exit().

◆ withdraw

unsigned int withdraw

Should this call exit the queue at its next iteration? Used for QueueWithdrawCaller

Definition at line 1747 of file app_queue.c.

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

◆ withdraw_info

char* withdraw_info

Optional info passed by the caller of QueueWithdrawCaller

Definition at line 1748 of file app_queue.c.

Referenced by queue_exec(), and request_withdraw_caller_from_queue().


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