I didn't want to send the Agent thru the whoule AgentCallbackLogin
rutine just to _log off_.
This does not make really sense to me.
thank for your answer anyway.
Kai
Here is what I do...
Exten=777,1,AgentCallbackLogin()
___
--Bandwidth and
hmm looks nicer than mine:
exten = *2002,1,System(asterisk -rx \
agent logoff Agent/ ${AGENTBYCALLERID_${CALLERID}})
exten = *2002,2,Playback(agent-loggedoff)
exten = *2002,3,Hangup
thx for your suggestion, i think i will integrate your solution
regard
KAI
Anthony Rodgers
Here is what I
do...
Exten=777,1,AgentCallbackLogin()
Yup, thats it! use
your agent id and password, and then enter your dialable number. I say dialable
number because you can basically dial any phone number. We have agents that call
a toll free number and login to their home phones,
Hi Kai,
This is what we do:
[agent-login]
exten = s,1,NoOp(${AgentUser})
exten =
s,2,AddQueueMember(${AgentContext}|${AgentChannel}|${AgentPenalty})
exten = s,3,Wait(1)
exten = s,4,Playback(agent-loginok)
exten = s,5,Hangup
exten = s,103,RemoveQueueMember(${AgentContext}|${AgentChannel})
Okay, I think i have missed something:
When i use AgentCallbackLogin*(||*007) the agent is logged in, fine.
But how do i log OUT.
okay there is a timout,
autologoff=time
but how can an agent explicit log off?
regards
Kai
___
--Bandwidth and