Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
agent_cfg Struct Reference
Collaboration diagram for agent_cfg:
Collaboration graph
[legend]

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
int ack_call
 TRUE if agent needs to ack a call to accept it. More...
 
unsigned int auto_logoff
 Number of seconds for agent to ack a call before being logged off. More...
 
const ast_string_field beep_sound
 
const ast_string_field dtmf_accept
 DTMF string for an agent to accept a call. * *. More...
 
const ast_string_field full_name
 
const ast_string_field moh
 
int record_agent_calls
 
const ast_string_field username
 
unsigned int wrapup_time
 Time after a call in ms before the agent can get a new call. More...
 

Detailed Description

Agent config parameters.

Definition at line 348 of file app_agent_pool.c.

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 365 of file app_agent_pool.c.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Definition at line 365 of file app_agent_pool.c.

◆ ack_call

int ack_call

TRUE if agent needs to ack a call to accept it.

Note
The channel variable AGENTACKCALL overrides on login.

Definition at line 384 of file app_agent_pool.c.

Referenced by agent_alert(), and load_config().

◆ auto_logoff

unsigned int auto_logoff

Number of seconds for agent to ack a call before being logged off.

Note
The channel variable AGENTAUTOLOGOFF overrides on login.
If zero then timer is disabled.

Definition at line 372 of file app_agent_pool.c.

Referenced by bridge_agent_hold_heartbeat(), and load_config().

◆ beep_sound

const ast_string_field beep_sound

Beep sound file to use. Alert the agent a call is waiting.

Definition at line 365 of file app_agent_pool.c.

Referenced by agent_alert(), agent_handle_show_specific(), and load_config().

◆ dtmf_accept

const ast_string_field dtmf_accept

DTMF string for an agent to accept a call. * *.

  • Note
    The channel variable AGENTACCEPTDTMF overrides on login.

Definition at line 365 of file app_agent_pool.c.

Referenced by agent_alert(), bridge_agent_hold_push(), and load_config().

◆ full_name

const ast_string_field full_name

Name of agent for logging and querying purposes

Definition at line 365 of file app_agent_pool.c.

Referenced by action_agents(), agent_function_read(), agent_handle_show_specific(), agent_show_requested(), and load_config().

◆ moh

const ast_string_field moh

MOH class to use while agent waiting for call.

Definition at line 365 of file app_agent_pool.c.

Referenced by agent_function_read(), agent_handle_show_specific(), and load_config().

◆ record_agent_calls

int record_agent_calls

TRUE if agent calls are automatically recorded.

Definition at line 386 of file app_agent_pool.c.

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

◆ username

const ast_string_field username

Identification of the agent. (agents config container key)

Definition at line 365 of file app_agent_pool.c.

Referenced by agent_cfg_alloc(), agent_cfg_sort_cmp(), agent_pvt_new(), and agents_post_apply_config().

◆ wrapup_time

unsigned int wrapup_time

Time after a call in ms before the agent can get a new call.

Note
The channel variable AGENTWRAPUPTIME overrides on login.

Definition at line 378 of file app_agent_pool.c.

Referenced by bridge_agent_hold_heartbeat(), bridge_agent_hold_push(), and load_config().


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