Class Adhearsion::VoIP::Asterisk::ConfigFileGenerators::Agents
In: lib/adhearsion/voip/asterisk/config_generators/agents.conf.rb
Parent: AsteriskConfigGenerator

Methods

Attributes

agent_definitions  [RW] 
agent_section  [RW] 
agent_section_special  [RW] 
general_section  [RW] 

Public Class methods

Public Instance methods

enable or disable a single extension from longing in as multiple agents, defaults to enabled

Define endcall to allow an agent to hangup a call by ’*’. Default is "yes". Set this to "no" to ignore ’*’.

Define updatecdr. This is whether or not to change the source channel in the CDR record for this call to agent/agent_id so that we know which agent generates the call

conf()

Alias for to_s

Group memberships for agents (may change in mid-file) WHAT DOES GROUPING ACCOMPLISH?

Define the default musiconhold for agents musiconhold => music_class

Define autologoff times if appropriate. This is how long the phone has to ring with no answer before the agent is automatically logged off (in seconds)

Define autologoffunavail to have agents automatically logged out when the extension that they are at returns a CHANUNAVAIL status when a call is attempted to be sent there. Default is "no".

Define maxlogintries to allow agent to try max logins before failed. Default to 3

Define whether callbacklogins should be stored in astdb for persistence. Persistent logins will be reloaded after Asterisk restarts.

An optional custom beep sound file to play to always-connected agents.

Define the default good bye sound file for agents default to vm-goodbye

Define ackcall to require an acknowledgement by ’#’ when an agent logs in using agentcallbacklogin. Default is "no".

Define wrapuptime. This is the minimum amount of time when after disconnecting before the caller can receive a new call note this is in milliseconds.

[Validate]