Thu Oct 11 06:50:01 2012

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
volatile 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
char logincallerid [80]
char loginchan [80]
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 236 of file chan_agent.c.


Field Documentation

About to grab

Definition at line 240 of file chan_agent.c.

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

char acceptdtmf

Definition at line 244 of file chan_agent.c.

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

int ackcall

ackcall

Definition at line 242 of file chan_agent.c.

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

char agent[AST_MAX_AGENT]

Definition at line 256 of file chan_agent.c.

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

volatile int app_sleep_cond

Sleep condition for the login app

Definition at line 259 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 241 of file chan_agent.c.

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

struct ast_channel* chan [read]

int dead

Poised for destruction?

Definition at line 238 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 243 of file chan_agent.c.

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

char enddtmf

Definition at line 245 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 264 of file chan_agent.c.

Group memberships

Definition at line 250 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 248 of file chan_agent.c.

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

struct { ... } list

Next Agent in the linked list.

char logincallerid[80]

Caller ID they had when they logged in

Definition at line 262 of file chan_agent.c.

Referenced by agent_hangup(), agent_logoff_maintenance(), dump_agents(), login_exec(), and reload_agents().

char loginchan[80]

time_t loginstart

When agent first logged in (0 when logged off)

Definition at line 246 of file chan_agent.c.

Referenced by action_agents(), agent_hangup(), agent_logoff(), agent_read(), complete_agent_logoff_cmd(), login_exec(), and reload_agents().

char moh[80]

Which music on hold

Definition at line 252 of file chan_agent.c.

Referenced by add_agent(), agent_hangup(), agents_show(), agents_show_online(), function_agent(), and login_exec().

char name[AST_MAX_AGENT]

struct agent_pvt* next [read]

Definition at line 265 of file chan_agent.c.

struct ast_channel* owner [read]

char password[AST_MAX_AGENT]

Password for Agent login

Definition at line 254 of file chan_agent.c.

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

int pending

Not a real agent -- just pending a match

Definition at line 239 of file chan_agent.c.

Referenced by add_agent(), agent_call(), agent_devicestate(), agent_hangup(), agent_new(), agent_request(), agents_show(), check_availability(), check_beep(), and login_exec().

time_t start

When call started

Definition at line 247 of file chan_agent.c.

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

Wrapup time in ms

Definition at line 249 of file chan_agent.c.

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


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

Generated on Thu Oct 11 06:50:02 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6