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


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


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


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