[asterisk-users] Can an agent Login to a queue and be paused
Robert Grignon
rgrignon at fleetone.com
Mon Feb 8 10:03:52 CST 2010
Not a bad idea... We use queuemetrics and the login is done via Web GUI.
I could easily just send it to pause upon login...
________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mariano
Lecuona
Sent: Monday, February 08, 2010 8:20 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Can an agent Login to a queue and be
paused
What Id did was on the dialplan, create an specifica extension for login
agents. Lets say Agent/10017, then
When dial 2110017 the agents is promts for Agent passwd.Then I have a
macro only for pausing agents depending on the meaning.
So if the agent is successfully granted on the Login Context, that same
context goto pause macro.
Quick example:
[queues_logon]
; Agent Login Procedure
exten => _211XXXX,1,Answer()
exten => _211XXXX,n,NoCDR()
exten =>
_211XXXX,n,GotoIf($[${LEN(${AGENTBYCALLERID_${CALLERID(number)}})} > 1
]?4:5) ; Check that the physical extension is free
exten => _211XXXX,n,AgentCallbackLogin(${EXTEN:2},,${CALLERID(number)})
; Ask for agent password and log the agent on
exten => _211XXXX,n,Macro(agent_pause_reason,${EXTEN:2},30) ; Put
Agents into Initial Paused State on the Queue
exten => _211XXXX,n,Hangup()
[macro-agent_pause]
; ${ARG1} - Agent_nro
exten => s,1,PauseQueueMember(|Agent/${ARG1})
exten => s,n,MacroExit
2010/2/8 Lenz Emilitri <lenz.loway at gmail.com>
I'm not sure if this works for newer versions of Asterisk, but
on old ones, you could pause an agent and THEN log him on, and he'd be
paused.
l.
2010/2/4 Robert Grignon <rgrignon at fleetone.com>
I thought there was an option for this but cant find
it....
We have a busy callcenter and I would like the agents to
log in and be
in a paused state upon login... Right now they login and
they are
instantly receiving a call....
Thanks for the input...
--
Loway - home of QueueMetrics - http://queuemetrics.com
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by
http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100208/9260349d/attachment.htm
More information about the asterisk-users
mailing list