[asterisk-dev] The queue call distribute

li yuqian li770426 at gmail.com
Wed Sep 20 18:21:30 MST 2006


Hi, all:

I want use Asterisk in my call center environment, so,  i am testing
Asterisk queue call distribute function, i have some question, for example:

I have two agents throw agentcallbacklogin login queue, if two calls come in
to queue(fewestcalls distribute), The agent A got fist call, agent A phone
rings, if agent A not answer this call, the second call still in queue,
can't distribute to free agent B, until agent A pickup phone and answer
call, the second call then distribute to agent B.

Why, something wrong? and is queue distribute call standard behavior?

My queue.conf and agent.conf
queue.conf
-------------------------------------------------
[3000]
wrapuptime=2
timeout=15
strategy=fewestcalls
retry=2
queue-youarenext=queue-youarenext
queue-thereare=queue-thereare
queue-thankyou=custom/aa_2
queue-callswaiting=queue-callswaiting
music=default
monitor-join=yes
monitor-format=wav
member=Agent/5071
member=Agent/5070
maxlen=0
leavewhenempty=no
joinempty=yes
context=aa_2
announce-holdtime=yes
announce-frequency=30
------------------------------------
agent.conf
------------------------------------
;
; Agent configuration
;
;
[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)
;
;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
;
;
; Group memberships for agents (may change in mid-file just)
;
;group=3
;group=1,2
;group=
;
; --------------------------------------------------
; 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://localhost/calls/
;
; The optional directory to save the conversations in. The default is
; /var/spool/asterisk/monitor
;savecallsin=/var/calls
; --------------------------------------------------
;
; This section contains the agent definitions, in the form:
;
; agent => agentid,agentpassword,name
;

autologoff=0
wrapuptime=5000
ackcall=no

group=1
agent => 204,1111,Ryan Courtnage

agent => 5070,1234,A(Agent/A)
agent => 5071,1234,B(Agent/B)
----------------------------------------------------------------


Thanks.

-- 
Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060920/acb585f5/attachment.htm


More information about the asterisk-dev mailing list