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
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}) exten => s,104,Wait(1) exten => s,105,Playback(agent-loggedoff) exten => s,106,Hangup A. On Jul 20, 2006, at 6:26 AM, Kai Ober wrote:> 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 Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ?? http://lists.digium.com/mailman/listinfo/asterisk-users
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 schrieb:> 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}) > exten => s,104,Wait(1) > exten => s,105,Playback(agent-loggedoff) > exten => s,106,Hangup > > A. > > On Jul 20, 2006, at 6:26 AM, Kai Ober wrote: > >> 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 Colocation provided by Easynews.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >
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, pretty sweet! This has to be in the right context to allow this though. Jordan Novak Communications Technician -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060726/c41a150e/attachment.htm