Re: [Asterisk-Users] Agent Logoff

2005-11-23 Thread Anthony Rodgers

Others may know better than me, but I don't think so...

Regards,
--
Anthony Rodgers
Business Systems Analyst
District of North Vancouver
Web: http://www.dnv.org
RSS Feed: http://www.dnv.org/rss.asp


On Nov 22, 2005, at 11:02 PM, Marcus Deluigi ((intern)) wrote:


That helped a little.
Thanks a lot!

Is there any chance to determine the agent id (defined in agents.conf)
of a caller?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Anthony Rodgers
 Sent: Wednesday, November 23, 2005 2:11 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [Asterisk-Users] Agent Logoff

 Hi Marcus,

 Here's what we do:

 [agent-login]
 exten = s,1,NoOp(${AgentUser})
 exten = s,2,AddQueueMember(${AgentContext}|${AgentChannel})
 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

 [help-desk]
 exten = s,1,Answer
 exten = s,2,SetMusicOnHold(default)
 exten = s,3,DigitTimeout,5
 exten = s,4,ResponseTimeout,10
 exten = s,5,SetVar(AgentContext=${CONTEXT})
 exten = s,6,SetVar(AgentChannel=${CHANNEL})
 exten = s,7,Cut(AgentChannel=AgentChannel,-,1)
 exten = s,8,Cut(AgentUser=AgentChannel,/,2)
 exten = s,9,NoOp(${AgentUser})
 ; help-desk agents
 exten = s,10,GotoIf($[$[${AgentUser} = davidb] | $[$
 {AgentUser} = karenj] | $[${AgentUser} = 
laurp]]?agent-login,s,

 1:)
 exten = s,11. (rest of queue)

 exten = 2313,1,Goto,help-desk|s|
 1

 What this basically means is that if an agent calls the queue
 from their own phone, it logs them in or out as appropriate
 without the need for passwords or anything.

 Does this look like it might help?

 Regards,
 --
 Anthony Rodgers
 Business Systems Analyst
 District of North Vancouver
 Web: http://www.dnv.org
 RSS Feed: http://www.dnv.org/rss.asp


 On 22-Nov-05, at 10:01 PM, Marcus Deluigi ((intern)) wrote:

 
  Hi.
 
  Another agent question: is it possible to put an agentlogoff on an
  extension, without dialing a '#' for a password?
  Something like:
  exten = 702,1,AgentCallbackLogin(,,'#'@interncall)
  But it does not work, because asterisk does not except '#'
 as a valid
  extension ...
 
  A perl skript would also help me ..
 
  Greetings,
  Marcus
 
  ___
  --Bandwidth and Colocation sponsored by Easynews.com --
 
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
     http://lists.digium.com/mailman/listinfo/asterisk-users

 ___
 --Bandwidth and Colocation sponsored by Easynews.com --

 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
    http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Agent Logoff

2005-11-23 Thread snacktime
On 11/22/05, Marcus Deluigi (intern) [EMAIL PROTECTED] wrote:
 That helped a little.
 Thanks a lot!

 Is there any chance to determine the agent id (defined in agents.conf)
 of a caller?

If I'm understanding you correctly, you seem to be under the
impression that you can only use  RemoveQueueMember/AddQueueMember on
agents that are defined in agents.conf?  If so, there is no such
relationship.  The agent id you pass to these commands doesn't  have
to be defined anywhere..

  Chris
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Agent Logoff

2005-11-23 Thread Marcus Deluigi \(intern\)
 
  That helped a little.
  Thanks a lot!
 
  Is there any chance to determine the agent id (defined in 
 agents.conf) 
  of a caller?
 
 If I'm understanding you correctly, you seem to be under the 
 impression that you can only use  
 RemoveQueueMember/AddQueueMember on agents that are defined 
 in agents.conf?  If so, there is no such relationship.  The 
 agent id you pass to these commands doesn't  have to be 
 defined anywhere..

Thanks, but that's not the case. 
I just want to automatically register the agents to the same extension
as their Agent ID.
I wrote a small Perl AGI script, but it would be more easy and
convenient to have this directly in extension.conf

So, since the agents don't enter an extension on their login, it would
make sense if they would not need to enter one on their logoff. But it
seems that that's not possible, since I have no way to automatically
send 0-length extension to Asterisk.
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Agent Logoff

2005-11-22 Thread Marcus Deluigi \(intern\)

Hi.

Another agent question: is it possible to put an agentlogoff on an
extension, without dialing a '#' for a password?
Something like:
exten = 702,1,AgentCallbackLogin(,,'#'@interncall)
But it does not work, because asterisk does not except '#' as a valid
extension ...

A perl skript would also help me ..

Greetings,
Marcus

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Agent Logoff

2005-11-22 Thread Anthony Rodgers

Hi Marcus,

Here's what we do:

[agent-login]
exten = s,1,NoOp(${AgentUser})
exten = s,2,AddQueueMember(${AgentContext}|${AgentChannel})
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

[help-desk]
exten = s,1,Answer
exten = s,2,SetMusicOnHold(default)
exten = s,3,DigitTimeout,5
exten = s,4,ResponseTimeout,10
exten = s,5,SetVar(AgentContext=${CONTEXT})
exten = s,6,SetVar(AgentChannel=${CHANNEL})
exten = s,7,Cut(AgentChannel=AgentChannel,-,1)
exten = s,8,Cut(AgentUser=AgentChannel,/,2)
exten = s,9,NoOp(${AgentUser})
; help-desk agents
exten = s,10,GotoIf($[$[${AgentUser} = davidb] | $[$ 
{AgentUser} = karenj] | $[${AgentUser} = laurp]]?agent-login,s, 
1:)

exten = s,11. (rest of queue)

exten = 2313,1,Goto,help-desk|s| 
1


What this basically means is that if an agent calls the queue from  
their own phone, it logs them in or out as appropriate without the  
need for passwords or anything.


Does this look like it might help?

Regards,
--
Anthony Rodgers
Business Systems Analyst
District of North Vancouver
Web: http://www.dnv.org
RSS Feed: http://www.dnv.org/rss.asp


On 22-Nov-05, at 10:01 PM, Marcus Deluigi ((intern)) wrote:



Hi.

Another agent question: is it possible to put an agentlogoff on an
extension, without dialing a '#' for a password?
Something like:
exten = 702,1,AgentCallbackLogin(,,'#'@interncall)
But it does not work, because asterisk does not except '#' as a valid
extension ...

A perl skript would also help me ..

Greetings,
Marcus

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Agent Logoff

2005-11-22 Thread Marcus Deluigi \(intern\)
That helped a little.
Thanks a lot!

Is there any chance to determine the agent id (defined in agents.conf)
of a caller?

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Anthony Rodgers
 Sent: Wednesday, November 23, 2005 2:11 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [Asterisk-Users] Agent Logoff
 
 Hi Marcus,
 
 Here's what we do:
 
 [agent-login]
 exten = s,1,NoOp(${AgentUser})
 exten = s,2,AddQueueMember(${AgentContext}|${AgentChannel})
 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
 
 [help-desk]
 exten = s,1,Answer
 exten = s,2,SetMusicOnHold(default)
 exten = s,3,DigitTimeout,5
 exten = s,4,ResponseTimeout,10
 exten = s,5,SetVar(AgentContext=${CONTEXT})
 exten = s,6,SetVar(AgentChannel=${CHANNEL})
 exten = s,7,Cut(AgentChannel=AgentChannel,-,1)
 exten = s,8,Cut(AgentUser=AgentChannel,/,2)
 exten = s,9,NoOp(${AgentUser})
 ; help-desk agents
 exten = s,10,GotoIf($[$[${AgentUser} = davidb] | $[$ 
 {AgentUser} = karenj] | $[${AgentUser} = laurp]]?agent-login,s,
 1:)
 exten = s,11. (rest of queue)
 
 exten = 2313,1,Goto,help-desk|s|
 1
 
 What this basically means is that if an agent calls the queue 
 from their own phone, it logs them in or out as appropriate 
 without the need for passwords or anything.
 
 Does this look like it might help?
 
 Regards,
 --
 Anthony Rodgers
 Business Systems Analyst
 District of North Vancouver
 Web: http://www.dnv.org
 RSS Feed: http://www.dnv.org/rss.asp
 
 
 On 22-Nov-05, at 10:01 PM, Marcus Deluigi ((intern)) wrote:
 
 
  Hi.
 
  Another agent question: is it possible to put an agentlogoff on an
  extension, without dialing a '#' for a password?
  Something like:
  exten = 702,1,AgentCallbackLogin(,,'#'@interncall)
  But it does not work, because asterisk does not except '#' 
 as a valid
  extension ...
 
  A perl skript would also help me ..
 
  Greetings,
  Marcus
 
  ___
  --Bandwidth and Colocation sponsored by Easynews.com --
 
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --
 
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Agent logoff

2005-04-04 Thread James Murray
   My questions pertain to logging agents in and out of the Asterisk 
system. Currently I have these 2 extensions
setup for this purpose.

exten = 27,1,AgentCallbackLogin(|[EMAIL PROTECTED])
exten = 26,1,AgentCallbackLogin(${CALLERIDNUM}|'#')
   My first problem is with what happens when a agent logs themselves 
out of Asterisk.
Unfortunately, agents will still receive calls regardless of there agent 
status. Preferable I would
like calls to go to voice mail.
  
Status from CLI

123  (John Smith) not logged in (musiconhold is 'manual')
   Secondly, and more an annoyance rather than a actual problem. Is 
there any better way to log a user out
of Asterisk so that the user does not have to enter pound as a new 
extension.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Agent Logoff not generating event messages

2005-02-16 Thread Asterisk
CVS Head 02/02/2005
from the CLI command line, the command
Agent logoff Agent/agentnum soft
does log the agent out, but does not generate any manager events. The 
AgentLogoff and AgentCallbacklogin apps do generate such events.

Should the command line agent logoff also generate a manager event ?
Julian.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] agent logoff

2005-01-30 Thread Dan Fernandez




I am using AgentCallbacklogin to logon agents. I am 
trying to avoid agents being logged in more than once in different extensions 
(is this a bug?) by passing the callerid to the AgentCallbacklogin funtcion as 
an option. The problem is thatby doing this, agents are not askedfor 
an extension andtheycannot logoff (by pressing the #).

Any ideashow can agents 
logoff?

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] agent logoff

2005-01-30 Thread Joe Dennick
I have a separate extension set up for logoff that doesn't pass the
callerid to AgentCallbacklogin.  So my agents dial 301 to log on and 302
to logoff.  A lot of the phones (Cisco for example) allow you set up
speed dials, so its even easier for an agent to log on and off.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan
Fernandez
Sent: Sunday, January 30, 2005 10:25 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] agent logoff



I am using AgentCallbacklogin to logon agents. I am trying to avoid
agents being logged in more than once in different extensions (is this a
bug?) by passing the callerid to the AgentCallbacklogin function as an
option. The problem is that by doing this, agents are not asked for an
extension and they cannot logoff (by pressing the #).

Any ideas how can agents logoff? 

-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 1/21/2005
 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Agent Logoff inability when calls are being received from queue

2003-11-27 Thread Panagidou Anna

Hello everybody,

I have started using Asterisk in a call center with ACD.

I have noticed something and I wonder if anyone knows whether it is a
bug or a feature!

I am using Queue application to ring a number of agents that have logged
on using AgentCallbackLogin.
Now, while an agent receives  a call from the Queue they cannot logoff
using AgentCallbackLogin. Instead  the Agent is asked for their agent no
and their password and after that they get the agenty-alreadyon
message!!!
When the call goes away they are able to logoff!!

It sounds trivial but in a busy call center where lines are coming all
the time it gives the agent a hard time and at the same time the line is
not being answered since the agent's extension is considered available
and Asterisk keeps sending the call to the agent.

By the way I am using Asterisk from CVS of August 17. 

Does anyone knows whether the above is meant to work like that? If it is
a bug does anyone know whether it is being corrected in later CVS?


Thanks in advance for any answer.

Anna




___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Agent Logoff inability when calls are being received from queue

2003-11-27 Thread Philipp von Klitzing
Hi!

 Now, while an agent receives  a call from the Queue they cannot logoff
 using AgentCallbackLogin. Instead  the Agent is asked for their agent no
 and their password and after that they get the agenty-alreadyon
 message!!!
 When the call goes away they are able to logoff!!

I remember having read something about a patch/feature that would allow 
agent to go for a break/smoke/coffee, but I couldn't find it under ACD 
nor under Experimental features... you might want to search Mantis 
yourself:

http://bugs.digium.com/

Cheers, Philipp


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Agent Logoff inability when calls are being received from queue

2003-11-27 Thread TC
  Now, while an agent receives  a call from the Queue they cannot logoff
  using AgentCallbackLogin. Instead  the Agent is asked for their agent no
  and their password and after that they get the agenty-alreadyon
  message!!!
  When the call goes away they are able to logoff!!
when the nice lady asks for a extension just use '#' to log off extension
must look like
exten 1,1 agentcallbacklogin(someagent#|@somecontext)
note i did not use the optional [EMAIL PROTECTED] synatx



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Agent Logoff question

2003-11-05 Thread Panagidou Anna


Hello there, 

Does anyone know how an agent logged on with AgentCallbackLogin
application can logoff ?

Thanks,
Anna


Anna Panagidou 
Technology Department
Hellas On Line
Agiou Konstantinou 59-61
15124, Maroussi
Tel. no: (+30210)  8762309
E-mail address: [EMAIL PROTECTED]
 
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users