Sat Aug 6 00:40:09 2011

Asterisk developer's documentation


queue_ent Struct Reference


Data Fields

char announce [80]
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 max_penalty
char moh [80]
queue_entnext
int opos
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 343 of file app_queue.c.


Field Documentation

char announce[80]

Announcement to play for member when call is answered

Definition at line 346 of file app_queue.c.

Referenced by join_queue(), and try_calling().

struct ast_channel* chan

Our channel

Definition at line 364 of file app_queue.c.

Referenced by __queues_show(), is_our_turn(), join_queue(), leave_queue(), manager_queues_status(), play_file(), queue_exec(), queue_transfer_fixup(), record_abandoned(), ring_entry(), rna(), say_periodic_announcement(), say_position(), set_queue_result(), setup_transfer_datastore(), try_calling(), valid_exit(), wait_a_bit(), wait_for_answer(), and wait_our_turn().

char context[AST_MAX_CONTEXT]

Context when user exits queue

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

Referenced by queue_exec().

int last_periodic_announce_sound

The last periodic announcement we made

Definition at line 355 of file app_queue.c.

Referenced by queue_exec(), and say_periodic_announcement().

time_t last_periodic_announce_time

The last time we played a periodic announcement

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

Referenced by queue_exec(), and say_position().

int last_pos_said

Last position we told the user

Definition at line 352 of file app_queue.c.

Referenced by queue_exec(), and say_position().

int max_penalty

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

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

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

struct queue_ent* next

The next queue entry

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

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

struct call_queue* parent

What queue is our parent

Definition at line 344 of file app_queue.c.

Referenced by is_our_turn(), leave_queue(), queue_exec(), queue_transfer_fixup(), recalc_holdtime(), record_abandoned(), ring_entry(), ring_one(), rna(), say_periodic_announcement(), say_position(), store_next(), 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 360 of file app_queue.c.

Referenced by is_our_turn(), and try_calling().

int pos

Where we are in the queue

Definition at line 350 of file app_queue.c.

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

int prio

Our priority

Definition at line 351 of file app_queue.c.

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

int ring_when_ringing

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

Definition at line 353 of file app_queue.c.

Referenced by queue_exec(), and rna().

time_t start

When we started holding

Definition at line 362 of file app_queue.c.

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

int tries

How many times we have tried to call this entry

Definition at line 359 of file app_queue.c.

Referenced by try_calling().

int valid_digits

Digits entered correspond to valid extension. Exited

Definition at line 349 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 Sat Aug 6 00:40:09 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7