Codename Pineapple

Home page | Mailing list | Docs

Last updated: Sat Feb 3 05:01:59 2007

Asterisk developer's documentation :: Codename Pineapple


agent_pvt Struct Reference

Collaboration diagram for agent_pvt:

Collaboration graph
[legend]

Detailed Description

Structure representing an agent.

Definition at line 165 of file chan_agent.c.

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
ast_channelchan
int dead
ast_group_t group
timeval lastdisc
ast_mutex_t lock
char logincallerid [80]
char loginchan [80]
time_t loginstart
char moh [80]
char name [AST_MAX_AGENT]
ast_channelowner
volatile pthread_t owning_app
char password [AST_MAX_AGENT]
int pending
time_t start
int wrapuptime


Field Documentation

int abouttograb
 

About to grab

Definition at line 169 of file chan_agent.c.

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

int ackcall
 

ackcall

Definition at line 171 of file chan_agent.c.

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

int acknowledged
 

Acknowledged

Definition at line 177 of file chan_agent.c.

Referenced by __login_exec(), action_agents(), agent_call(), agent_hangup(), agent_read(), agents_show(), agents_show_online(), and check_availability().

char agent[AST_MAX_AGENT]
 

Agent ID

Definition at line 179 of file chan_agent.c.

Referenced by __agent_start_monitoring(), __login_exec(), action_agent_logoff(), action_agents(), add_agent(), agent_call(), agent_devicestate(), agent_hangup(), agent_logoff(), agent_logoff_cmd(), agent_logoff_maintenance(), agent_new(), agent_request(), agentmonitoroutgoing_exec(), agents_show(), agents_show_online(), check_availability(), check_beep(), complete_agent_logoff_cmd(), dump_agents(), find_agent(), function_agent(), and reload_agents().

ast_mutex_t app_lock
 

Synchronization between owning applications

Definition at line 182 of file chan_agent.c.

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

volatile int app_sleep_cond
 

Sleep condition for the login app

Definition at line 184 of file chan_agent.c.

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

int autologoff
 

Auto timeout time

Definition at line 170 of file chan_agent.c.

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

struct ast_channel* chan
 

Channel we use

Definition at line 188 of file chan_agent.c.

Referenced by __login_exec(), action_agents(), agent_ack_sleep(), agent_bridgedchannel(), agent_call(), agent_cleanup(), agent_devicestate(), agent_digit_begin(), agent_digit_end(), agent_hangup(), agent_indicate(), agent_logoff(), agent_new(), agent_read(), agent_request(), agent_sendhtml(), agent_sendtext(), agent_write(), agentmonitoroutgoing_exec(), agents_show(), agents_show_online(), check_availability(), check_beep(), dump_agents(), and read_agent_config().

int dead
 

Poised for destruction?

Definition at line 167 of file chan_agent.c.

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

ast_group_t group
 

Group memberships

Definition at line 176 of file chan_agent.c.

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

struct timeval lastdisc
 

When last disconnected

Definition at line 174 of file chan_agent.c.

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

ast_mutex_t lock
 

Channel private lock

Definition at line 166 of file chan_agent.c.

Referenced by __login_exec(), action_agents(), agent_ack_sleep(), agent_call(), agent_cleanup(), agent_cont_sleep(), agent_devicestate(), agent_digit_begin(), agent_digit_end(), agent_fixup(), agent_hangup(), agent_indicate(), agent_new(), agent_read(), agent_request(), agent_sendhtml(), agent_sendtext(), agent_write(), agents_show(), agents_show_online(), check_availability(), check_beep(), read_agent_config(), and reload_agents().

char logincallerid[80]
 

Caller ID they had when they logged in

Definition at line 187 of file chan_agent.c.

Referenced by __login_exec(), agent_logoff_maintenance(), dump_agents(), and reload_agents().

char loginchan[80]
 

channel they logged in from

Definition at line 186 of file chan_agent.c.

Referenced by __login_exec(), action_agents(), agent_call(), agent_devicestate(), agent_hangup(), agent_logoff(), agent_logoff_maintenance(), agent_new(), agent_read(), agent_request(), agents_show(), agents_show_online(), allow_multiple_login(), dump_agents(), and reload_agents().

time_t loginstart
 

When agent first logged in (0 when logged off)

Definition at line 172 of file chan_agent.c.

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

char moh[80]
 

Which music on hold

Definition at line 178 of file chan_agent.c.

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

char name[AST_MAX_AGENT]
 

Definition at line 181 of file chan_agent.c.

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

struct ast_channel* owner
 

Agent

Definition at line 185 of file chan_agent.c.

Referenced by __login_exec(), action_agents(), agent_cleanup(), agent_devicestate(), agent_fixup(), agent_hangup(), agent_logoff(), agent_new(), agent_request(), agents_show(), agents_show_online(), check_availability(), check_beep(), read_agent_config(), and unload_module().

volatile pthread_t owning_app
 

Owning application thread id

Definition at line 183 of file chan_agent.c.

Referenced by __login_exec(), and agent_new().

char password[AST_MAX_AGENT]
 

Password for Agent login

Definition at line 180 of file chan_agent.c.

Referenced by __login_exec(), and add_agent().

int pending
 

Not a real agent -- just pending a match

Definition at line 168 of file chan_agent.c.

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

time_t start
 

When call started

Definition at line 173 of file chan_agent.c.

Referenced by agent_call(), and agent_hangup().

int wrapuptime
 

Wrapup time in ms

Definition at line 175 of file chan_agent.c.

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


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

Asterisk is a trademark for Digium, inc.. | Edvina.net | Asterisk.org | This documentation was generated with Doxygen