Upgrade 3CX to v18 and get it hosted free!

Asterisk config agents.conf

Author image

agents.conf

ACD distributes incoming calls to the agents of a Queue. Agents are configured in the file queues.conf:

New in Asterisk v1.2.0: The default for ackcall has been changed to “no” instead of “yes” because of a bug which caused the “yes” behavior to generally act like “no”. You may need to adjust the value if your agents behave differently than you expect with respect to acknowledgement.

Global options

[agents]
;
; 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). Please note that if
; this value is greater than the timeout value in your queue
; that agents will not be removed!
;
autologoff=15
;
; Define ackcall to require an acknowledgement by ‘#’ when
; an agent logs in over agentcallpark. Default is “yes”.
;
;ackcall=yes
;
; 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.
;
;wrapuptime=5000
;
; Define the default musiconhold for agents
; musiconhold => music_class
;
musiconhold => default
;
; An optional custom beep sound file to play to always-connected agents.
;
;custom_beep=beep
;
; Group memberships for agents (may change in mid-file just)
;
;group=3
;group=1,2
group=1
;prevent agent to hangup call by pressing *

thanks to davevg on bug 13707 http
//bugs.digium.com/view.php?id=13707

;endcall=no

Groups can be used in queues.conf to specify a member: In this way all incoming calls in the queue will be forwarded to the agents of this agent group. Below we will give you an example how to call an agent group:

member => Agent/@1

or

member => Agent/:1

Both notations have the same effect, the queue will call the agent group with number 1

Recording options

This section is devoted to recording agent’s calls
The keywords are global to the chan_agent channel driver

; Enable recording calls addressed to agents. It’s turned off by default.
recordagentcalls=yes
;
; The format to be used to record the calls (wav, gsm, wav49)
; By default its “wav”.
;recordformat=gsm
;
; Insert into CDR userfield a name of the the created recording
; By default it’s turned off.
;createlink=yes
;
; The text to be added to the name of the recording. Allows forming a url link.
;urlprefix=http://host.domain/calls/
;
; The optional directory to save the conversations in. The default is
; /var/spool/asterisk/monitor
;savecallsin=/var/calls

Agents definition

this last section contains the definition of the agents.

Syntax:

agent => agentid,agentpassword,name

agent => 3000,1234,Santiago Ruano Rincon
agent => 4002,1234,Maria Lucia Muñ¯º Grass
agent => 4003,1234,Diego Mauricio Paz


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.