agent_pvt Struct Reference

Structure representing an agent. More...

Collaboration diagram for agent_pvt:

Collaboration graph
[legend]

Data Fields

struct ast_string_field_mgr __field_mgr
struct ast_string_field_pool__field_mgr_pool
struct timeval ack_time
time_t call_start
struct ast_bridgecaller_bridge
struct agent_cfgcfg
unsigned int dead:1
 TRUE if the agent is no longer configured and is being destroyed.
unsigned int deferred_logoff:1
enum ast_device_state devstate
unsigned int flags
struct timeval last_disconnect
struct ast_channellogged
time_t login_start
unsigned int override_ack_call:1
unsigned int override_auto_logoff
const ast_string_field override_dtmf_accept
unsigned int override_wrapup_time
time_t probation_start
enum agent_state state
unsigned int the_mark:1
const ast_string_field username
struct ast_party_connected_line waiting_colp

Detailed Description

Structure representing an agent.

Definition at line 589 of file app_agent_pool.c.


Field Documentation

Definition at line 595 of file app_agent_pool.c.

Identification of the agent. (agents container key)

Login override DTMF string for an agent to accept a call.

Definition at line 595 of file app_agent_pool.c.

struct timeval ack_time [read]

When ack timer started

Definition at line 631 of file app_agent_pool.c.

Referenced by agent_alert(), and bridge_agent_hold_heartbeat().

time_t call_start

When call started

Definition at line 629 of file app_agent_pool.c.

Referenced by action_agents(), agent_connect_caller(), and agent_handle_show_specific().

struct ast_bridge* caller_bridge [read]

Caller is waiting in this bridge for agent to join. (Holds ref)

Definition at line 636 of file app_agent_pool.c.

Referenced by agent_connect_caller(), agent_logout(), agent_pvt_destructor(), agent_run(), and caller_abort_agent().

struct agent_cfg* cfg [read]

unsigned int dead

TRUE if the agent is no longer configured and is being destroyed.

Note:
Agents cannot log in if they are dead.

Definition at line 617 of file app_agent_pool.c.

Referenced by agent_run(), and agent_sweep().

unsigned int deferred_logoff

TRUE if the agent is requested to logoff when the current call ends.

Definition at line 608 of file app_agent_pool.c.

Referenced by agent_run(), and bridge_agent_hold_heartbeat().

unsigned int flags

Flags show if settings were overridden by channel vars.

Definition at line 599 of file app_agent_pool.c.

struct timeval last_disconnect [read]

When last disconnected

Definition at line 633 of file app_agent_pool.c.

Referenced by agent_run(), and bridge_agent_hold_heartbeat().

struct ast_channel* logged [read]

time_t login_start

When agent first logged in

Definition at line 625 of file app_agent_pool.c.

Referenced by action_agents(), agent_handle_show_specific(), and agent_logout().

unsigned int override_ack_call

Login override if agent needs to ack a call to accept it.

Definition at line 605 of file app_agent_pool.c.

Referenced by agent_alert(), and agent_login_channel_config().

unsigned int override_auto_logoff

Login override number of seconds for agent to ack a call before being logged off.

Definition at line 601 of file app_agent_pool.c.

Referenced by agent_login_channel_config(), and bridge_agent_hold_heartbeat().

Definition at line 595 of file app_agent_pool.c.

Referenced by agent_alert().

unsigned int override_wrapup_time

Login override time after a call in ms before the agent can get a new call.

Definition at line 603 of file app_agent_pool.c.

Referenced by agent_login_channel_config(), and bridge_agent_hold_heartbeat().

When agent login probation started.

Definition at line 627 of file app_agent_pool.c.

Referenced by bridge_agent_hold_heartbeat().

unsigned int the_mark

Mark and sweep config update to determine if an agent is dead.

Definition at line 611 of file app_agent_pool.c.

Referenced by agent_mark(), and agent_sweep().

Connected line information to send when reentering the holding bridge.

Definition at line 597 of file app_agent_pool.c.

Referenced by agent_login_channel_config(), agent_pvt_destructor(), agent_pvt_new(), and agent_run().


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

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