member Struct Reference

Collaboration diagram for member:

Collaboration graph
[legend]

Data Fields

unsigned int call_pending:1
int calls
unsigned int dead:1
unsigned int delme:1
int dynamic
char interface [AST_CHANNEL_NAME]
time_t lastcall
struct call_queuelastqueue
char membername [80]
int paused
int penalty
int queuepos
int realtime
unsigned int ringinuse:1
char rt_uniqueid [80]
char state_context [AST_MAX_CONTEXT]
char state_exten [AST_MAX_EXTENSION]
char state_interface [AST_CHANNEL_NAME]
int status

Detailed Description

Definition at line 1516 of file app_queue.c.


Field Documentation

unsigned int call_pending

TRUE if the Q is attempting to place a call to the member.

Definition at line 1533 of file app_queue.c.

Referenced by member_call_pending_clear(), member_call_pending_set(), and ring_entry().

int calls

Number of calls serviced by this member

Definition at line 1523 of file app_queue.c.

Referenced by __queues_show(), calc_metric(), clear_queue(), manager_queues_status(), queue_member_blob_create(), try_calling(), and update_queue().

unsigned int dead

Used to detect members deleted in realtime

Definition at line 1531 of file app_queue.c.

Referenced by find_queue_by_name_rt(), rt_handle_member_record(), and update_realtime_members().

unsigned int delme

Flag to delete entry on reload

Definition at line 1532 of file app_queue.c.

Referenced by kill_dead_members(), mark_member_dead(), and queue_delme_members_decrement_followers().

int dynamic

char interface[AST_CHANNEL_NAME]

time_t lastcall

struct call_queue* lastqueue [read]

Last queue we received a call

Definition at line 1530 of file app_queue.c.

Referenced by try_calling(), and update_queue().

char membername[80]

int paused

int penalty

int queuepos

In what order (pertains to certain strategies) should this member be called?

Definition at line 1528 of file app_queue.c.

Referenced by calc_metric(), member_add_to_queue(), queue_delme_members_decrement_followers(), queue_member_decrement_followers(), queue_member_follower_removal(), and reload_single_member().

int realtime

unsigned int ringinuse

char rt_uniqueid[80]

Unique id of realtime member entry

Definition at line 1534 of file app_queue.c.

Referenced by remove_from_queue(), rt_handle_member_record(), and update_realtime_member_field().

char state_context[AST_MAX_CONTEXT]

Context to use when getting state (if using hint)

Definition at line 1519 of file app_queue.c.

Referenced by create_queue_member(), extension_state_cb(), and get_queue_member_status().

char state_exten[AST_MAX_EXTENSION]

Extension to get state from (if using hint)

Definition at line 1518 of file app_queue.c.

Referenced by create_queue_member(), extension_state_cb(), and get_queue_member_status().

char state_interface[AST_CHANNEL_NAME]

int status


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

Generated on Thu Apr 16 06:36:50 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6