Wed Oct 28 15:49:25 2009

Asterisk developer's documentation


agent_pvt Struct Reference

Collaboration diagram for agent_pvt:

Collaboration graph
[legend]

Data Fields

int abouttograb
int ackcall
int acknowledged
char agent [AST_MAX_AGENT]
ast_mutex_t app_lock
volatile int app_sleep_cond
int autologoff
struct ast_channelchan
int dead
ast_group_t group
struct timeval lastdisc
ast_mutex_t lock
char logincallerid [80]
char loginchan [80]
time_t loginstart
char moh [80]
char name [AST_MAX_AGENT]
struct agent_pvtnext
struct ast_channelowner
volatile pthread_t owning_app
char password [AST_MAX_AGENT]
int pending
time_t start
int wrapuptime

Detailed Description

Structure representing an agent.

Definition at line 181 of file chan_agent.c.


Field Documentation

About to grab

Definition at line 185 of file chan_agent.c.

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

int ackcall

char agent[AST_MAX_AGENT]

Synchronization between owning applications

Definition at line 198 of file chan_agent.c.

Referenced by __login_exec(), add_agent(), agent_cleanup(), agent_hangup(), agent_new(), and read_agent_config().

volatile int app_sleep_cond

Sleep condition for the login app

Definition at line 200 of file chan_agent.c.

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

Auto timeout time

Definition at line 186 of file chan_agent.c.

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

struct ast_channel* chan [read]

int dead

Poised for destruction?

Definition at line 183 of file chan_agent.c.

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

Group memberships

Definition at line 192 of file chan_agent.c.

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

struct timeval lastdisc [read]

When last disconnected

Definition at line 190 of file chan_agent.c.

Referenced by __login_exec(), add_agent(), agent_cont_sleep(), agent_hangup(), agent_read(), agent_request(), and agents_show().

char logincallerid[80]

Caller ID they had when they logged in

Definition at line 203 of file chan_agent.c.

Referenced by __login_exec(), agent_hangup(), agent_logoff(), dump_agents(), and reload_agents().

char loginchan[80]

time_t loginstart

When agent first logged in (0 when logged off)

Definition at line 188 of file chan_agent.c.

Referenced by __login_exec(), action_agent_callback_login(), action_agents(), agent_hangup(), agent_logoff(), and reload_agents().

char moh[80]

Which music on hold

Definition at line 194 of file chan_agent.c.

Referenced by __login_exec(), add_agent(), agent_hangup(), and agents_show().

char name[AST_MAX_AGENT]

Definition at line 197 of file chan_agent.c.

Referenced by action_agents(), add_agent(), agent_hangup(), and agents_show().

struct agent_pvt* next [read]

struct ast_channel* owner [read]

volatile pthread_t owning_app

Owning application thread id

Definition at line 199 of file chan_agent.c.

Referenced by __login_exec(), add_agent(), and agent_new().

char password[AST_MAX_AGENT]

Password for Agent login

Definition at line 196 of file chan_agent.c.

Referenced by __login_exec(), and add_agent().

int pending

time_t start

When call started

Definition at line 189 of file chan_agent.c.

Referenced by agent_call(), and agent_hangup().

Wrapup time in ms

Definition at line 191 of file chan_agent.c.

Referenced by __login_exec(), action_agent_callback_login(), add_agent(), agent_hangup(), and agent_read().


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

Generated on Wed Oct 28 15:49:25 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6