<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16945" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=820510216-08022010><FONT face=Verdana
size=2>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...</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Mariano
Lecuona<BR><B>Sent:</B> Monday, February 08, 2010 8:20 AM<BR><B>To:</B> Asterisk
Users Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> Re:
[asterisk-users] Can an agent Login to a queue and be
paused<BR></FONT><BR></DIV>
<DIV></DIV>What Id did was on the dialplan, create an specifica extension for
login agents. Lets say Agent/10017, then
<DIV>When dial 2110017 the agents is promts for Agent passwd.Then I have a macro
only for pausing agents depending on the meaning.</DIV>
<DIV>So if the agent is successfully granted on the Login Context, that same
context goto pause macro.</DIV>
<DIV>Quick example:</DIV>
<DIV><BR></DIV>
<DIV>
<DIV>[queues_logon]</DIV>
<DIV>; Agent Login Procedure</DIV>
<DIV>exten => _211XXXX,1,Answer()</DIV>
<DIV>exten => _211XXXX,n,NoCDR()</DIV>
<DIV>exten =>
_211XXXX,n,GotoIf($[${LEN(${AGENTBYCALLERID_${CALLERID(number)}})} > 1 ]?4:5)
; Check that the physical extension is free</DIV>
<DIV>exten => _211XXXX,n,AgentCallbackLogin(${EXTEN:2},,${CALLERID(number)})
; Ask for agent password and log the agent on</DIV>
<DIV>exten => _211XXXX,n,Macro(agent_pause_reason,${EXTEN:2},30) ; Put
Agents into Initial Paused State on the Queue</DIV>
<DIV>exten => _211XXXX,n,Hangup()</DIV>
<DIV><BR></DIV>
<DIV>[macro-agent_pause]</DIV>
<DIV>; ${ARG1} - Agent_nro</DIV>
<DIV><BR></DIV>
<DIV>exten => s,1,PauseQueueMember(|Agent/${ARG1})</DIV>
<DIV>exten => s,n,MacroExit</DIV></DIV>
<DIV><BR>
<DIV class=gmail_quote>2010/2/8 Lenz Emilitri <SPAN dir=ltr><<A
href="mailto:lenz.loway@gmail.com">lenz.loway@gmail.com</A>></SPAN><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>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.<BR></DIV>
<DIV>l.</DIV>
<DIV><BR></DIV><BR>
<DIV class=gmail_quote>2010/2/4 Robert Grignon <SPAN dir=ltr><<A
href="mailto:rgrignon@fleetone.com"
target=_blank>rgrignon@fleetone.com</A>></SPAN><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><BR>I
thought there was an option for this but cant find it....<BR><BR>We have a
busy callcenter and I would like the agents to log in and be<BR>in a paused
state upon login... Right now they login and they are<BR>instantly receiving
a call....<BR><BR>Thanks for the input...<BR></BLOCKQUOTE></DIV><BR>--
<BR>Loway - home of QueueMetrics - <A href="http://queuemetrics.com"
target=_blank>http://queuemetrics.com</A><BR><BR><BR>--<BR>_____________________________________________________________________<BR>--
Bandwidth and Colocation Provided by <A href="http://www.api-digital.com"
target=_blank>http://www.api-digital.com</A> --<BR><BR>asterisk-users mailing
list<BR>To UNSUBSCRIBE or update options visit:<BR> <A
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>