Put their CALLERIDNUM in the dialplan. In my example below, all of my
extensions are 41XX, and all of the agent Ids are 43XX. They dial 301
to log in, get prompted to enter their password, and hear the message
that they've been logged in. To logout, they dial 302, get prompted to
enter their password, and then press '#' when prompted to enter a new
extension before hearing "Agent successfully logged out." Yeah,
there's
a bit of training, but its not too difficult. All of my agents have
Cisco 7960 telephones where they've created memory dials (on the bottom
two buttons) for 'Queue Login' and 'Queue Logout.'
; Queue Login Extension 301
exten => 301,1,Wait(1)
exten => 301,2,AgentCallbackLogin(43${CALLERIDNUM:2}|43${CALLERIDNUM:2})
exten => 301,3,Playback(agent-loginok)
exten => 301,4,Hangup
; Queue Logout Extension 302
exten => 302,1,Wait(1)
exten => 302,2,AgentCallbackLogin(43${CALLERIDNUM:2}|'#')
exten => 302,3,Hangup
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jo?o Amaro
Sent: Wednesday, September 01, 2004 9:35 AM
To: Asterisk Mailing List
Subject: [Asterisk-Users] Agents Log off
Hi List,
I'm using the apllication AgentCallBackLogin so agents can login to a
queue. They just need to enter the password, the CallBack Extensions is
the ${CALLERIDNUM}
Is there a way to AgentsLogOff withou using the AgentCallBackLogin
application. I don't want the user to enter they CALLERIDNUM.
Regards
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.737 / Virus Database: 491 - Release Date: 8/11/2004