Thu Apr 16 06:48:15 2015

Asterisk developer's documentation


agent_pvt Struct Reference

Structure representing an agent. More...

Collaboration diagram for agent_pvt:

Collaboration graph
[legend]

Data Fields

int abouttograb
char acceptdtmf
int ackcall
int acknowledged
char agent [AST_MAX_AGENT]
ast_cond_t app_complete_cond
int app_lock_flag
int app_sleep_cond
int autologoff
struct ast_channelchan
int dead
int deferlogoff
char enddtmf
unsigned int flags
ast_group_t group
struct timeval lastdisc
struct {
   struct agent_pvt *   next
list
ast_mutex_t lock
ast_cond_t login_wait_cond
time_t loginstart
char moh [80]
char name [AST_MAX_AGENT]
struct ast_channelowner
char password [AST_MAX_AGENT]
int pending
time_t start
int wrapuptime

Detailed Description

Structure representing an agent.

Definition at line 252 of file chan_agent.c.


Field Documentation

About to grab

Definition at line 256 of file chan_agent.c.

Referenced by agent_hangup(), check_availability(), and check_beep().

char acceptdtmf

Definition at line 260 of file chan_agent.c.

Referenced by add_agent(), agent_ack_sleep(), agent_read(), and login_exec().

int ackcall

ackcall

Definition at line 258 of file chan_agent.c.

Referenced by add_agent(), agent_call(), agent_read(), check_availability(), and login_exec().

Acknowledged

Definition at line 267 of file chan_agent.c.

Referenced by agent_call(), agent_hangup(), agent_read(), check_availability(), and login_exec().

char agent[AST_MAX_AGENT]

Definition at line 273 of file chan_agent.c.

Referenced by add_agent(), agent_cleanup(), agent_hangup(), agent_pvt_destroy(), and login_exec().

Definition at line 272 of file chan_agent.c.

Referenced by add_agent(), agent_cleanup(), agent_hangup(), agent_request(), and login_exec().

Non-zero if the login app should sleep.

Definition at line 275 of file chan_agent.c.

Referenced by add_agent(), agent_ack_sleep(), agent_cleanup(), agent_cont_sleep(), agent_hangup(), and agent_request().

Auto timeout time

Definition at line 257 of file chan_agent.c.

Referenced by add_agent(), agent_read(), and login_exec().

struct ast_channel* chan [read]

int dead

Poised for destruction?

Definition at line 254 of file chan_agent.c.

Referenced by add_agent(), agent_cleanup(), agent_hangup(), login_exec(), and read_agent_config().

Defer logoff to hangup

Definition at line 259 of file chan_agent.c.

Referenced by agent_devicestate(), agent_logoff(), and login_exec().

char enddtmf

Definition at line 261 of file chan_agent.c.

Referenced by add_agent(), agent_read(), and login_exec().

unsigned int flags

Flags show if settings were applied with channel vars

Definition at line 278 of file chan_agent.c.

Group memberships

Definition at line 266 of file chan_agent.c.

Referenced by add_agent(), agent_request(), agents_show(), check_availability(), and check_beep().

struct timeval lastdisc [read]

When last disconnected

Definition at line 264 of file chan_agent.c.

Referenced by add_agent(), agent_ack_sleep(), agent_cont_sleep(), agent_devicestate(), agent_hangup(), agent_request(), and login_exec().

struct { ... } list

Next Agent in the linked list.

Definition at line 274 of file chan_agent.c.

Referenced by add_agent(), agent_pvt_destroy(), agent_request(), and login_exec().

time_t loginstart

When agent first logged in (0 when logged off)

Definition at line 262 of file chan_agent.c.

Referenced by action_agents(), agent_hangup(), agent_request(), complete_agent_logoff_cmd(), and login_exec().

char moh[80]

char name[AST_MAX_AGENT]

struct agent_pvt* next [read]

Definition at line 279 of file chan_agent.c.

struct ast_channel* owner [read]

char password[AST_MAX_AGENT]

Password for Agent login

Definition at line 270 of file chan_agent.c.

Referenced by add_agent(), function_agent(), and login_exec().

int pending

time_t start

When call started

Definition at line 263 of file chan_agent.c.

Referenced by agent_hangup(), and agent_read().

Wrapup time in ms

Definition at line 265 of file chan_agent.c.

Referenced by add_agent(), agent_hangup(), and login_exec().


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

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