Fri Aug 7 11:04:32 2015

Asterisk developer's documentation


queue_ent Struct Reference

Data Fields

char announce [80]
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
char moh [80]
struct queue_entnext
int opos
struct call_queueparent
int pending
int pos
int prio
int ring_when_ringing
time_t start
int tries
int valid_digits

Detailed Description

Definition at line 352 of file app_queue.c.


Field Documentation

char announce[80]

Announcement to play for member when call is answered

Definition at line 355 of file app_queue.c.

Referenced by join_queue(), and try_calling().

struct ast_channel* chan [read]
char context[AST_MAX_CONTEXT]

Context when user exits queue

Definition at line 356 of file app_queue.c.

Referenced by join_queue(), and valid_exit().

char digits[AST_MAX_EXTENSION]

Digits entered while in queue

Definition at line 357 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 374 of file app_queue.c.

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

int handled

Whether our call was handled

Definition at line 367 of file app_queue.c.

Referenced by queue_exec(), and try_calling().

The last periodic announcement we made

Definition at line 364 of file app_queue.c.

Referenced by queue_exec(), and say_periodic_announcement().

The last time we played a periodic announcement

Definition at line 363 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 365 of file app_queue.c.

Referenced by queue_exec(), and say_position().

Last position we told the user

Definition at line 361 of file app_queue.c.

Referenced by queue_exec(), and say_position().

int linpos

If using linear strategy, position in queue

Definition at line 371 of file app_queue.c.

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

Is the linpos wrapped?

Definition at line 372 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 370 of file app_queue.c.

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

char moh[80]

Name of musiconhold to be used

Definition at line 354 of file app_queue.c.

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

struct queue_ent* next [read]

The next queue entry

Definition at line 376 of file app_queue.c.

Referenced by __queues_show(), insert_entry(), is_our_turn(), join_queue(), leave_queue(), and manager_queues_status().

int opos

Where we started in the queue

Definition at line 366 of file app_queue.c.

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

struct call_queue* parent [read]
int pending

Non-zero if we are attempting to call a member

Definition at line 369 of file app_queue.c.

Referenced by is_our_turn(), and try_calling().

int pos

Where we are in the queue

Definition at line 359 of file app_queue.c.

Referenced by is_our_turn(), join_queue(), leave_queue(), queue_exec(), record_abandoned(), say_position(), try_calling(), and wait_our_turn().

int prio

Our priority

Definition at line 360 of file app_queue.c.

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

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

Definition at line 362 of file app_queue.c.

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

time_t start
int tries

How many times we have tried to call this entry

Definition at line 368 of file app_queue.c.

Referenced by try_calling().

Digits entered correspond to valid extension. Exited

Definition at line 358 of file app_queue.c.

Referenced by queue_exec(), and valid_exit().


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

Generated on 7 Aug 2015 for Asterisk - the Open Source PBX by  doxygen 1.6.1