[asterisk-users] AgentCallbackLogin() deprecated in 1.4

2006-12-20 Thread Markus Bönke
Hello all,

I've seen that the application AgentCallbackLogin()has been set to deprecated 
in version 1.4. So I've done some tests based on the tutorial 
queues-with-callback-members.txt coming with version 1.4. 

What's not clear for me is what is happening to agents.conf, it seems that it's 
no longer needed, and I have to define my agents using variables in 
extensions.ael. The other thing is, that show agents doesn't show me which 
agents are logged in and if I use show queue I can see local channels 
attached to a queue but no agents. For my point of view there is some 
functionality lost with the new concept.

If I want to program a realtime display to show agentstates in queues based on 
the output from show queue, what's the concept to map agents to the local 
channels? How can I configure agents in future?

Any comments regarding that topic are appreciated.

Thanks and Regards

Markus
 
___
--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


Re: [asterisk-users] AgentCallbackLogin() deprecated in 1.4

2006-12-20 Thread Gavin Hamill
On Wed, 20 Dec 2006 14:39:42 +0100
Markus Bönke [EMAIL PROTECTED] wrote:

 Hello all,

 The other thing is, that show agents
 doesn't show me which agents are logged in and if I use show queue
 I can see local channels attached to a queue but no agents. For my
 point of view there is some functionality lost with the new concept.

Snap! I've been designing an * system for our call centre and fallen
into exactly the same trap. I ended up coding my own agent login/logout
procedures using astdb functions to store the extension at which an
agent is sitting...

However what I'm missing most is a 'wallboard' for 'number of agents
on Do-Not-Disturb' / number of waiting calls / average wait time, so I'm
considering QueueMetrics, but E 2500 is a lot of cash for that one
feature. I'll probably get one of the codies here to knock something
together.

 If I want to program a realtime display to show agentstates in queues
 based on the output from show queue, what's the concept to map
 agents to the local channels? How can I configure agents in future?

Well, you might want to make use of the 'pre-queue AGI' facility, and
use that to set that agent as 'on call' (Postgres/MySQL or just AstDB)
in that.. then after the Queue application exits, use ${UNIQUEID} to
change the state of the agent to 'free' via func_odbc or another AGI.

If you specify setinterfacevar=yes in queues.conf, then
you can do 'GET VARIABLE MEMBERINTERFACE' in the AGI to find the name
of the Local/ channel that the caller is about to be connected to.
Then look that up in AstDB... here's what I do - it's heavily based on
the agi-test.agi that comes with Asterisk.

# Which queue member was this incoming caller about to speak to?
print GET VARIABLE MEMBERINTERFACE\n;
my $result = STDIN;
checkresult($result);

# Incoming string is 200 result=1 (Local/[EMAIL PROTECTED]) so we need to
# trim the fat
$aid=$result;
$aid =~ s/.*Local\///;
$aid =~ s/[EMAIL PROTECTED]//;
chop $aid; # drop the end carriage return

# This /has/ to work because this is the same logic that the 'agents'
# context uses in the dialplan!
print DATABASE GET LRCC $aid\n;
my $result = STDIN;
checkresult($result);

# More trimmings.
$ext=$result;
$ext =~ s/.*\(//;
$ext =~ s/\).*//;
chop $ext;

You can then go on and do... 

$sql=UPDATE agent_status SET status = 'on call', uniqueid='.$AGI
{'uniqueid'}.', extension='.$AGI{'ext'}.' WHERE agentid='$aid';

$dbh-do($sql);

.. then just view the contents of the agent_status table. I hope that
makes sense - it was a bit of a ramble :) 1.4 has been a lot of fun so
far - I'm using a lot of the new features and doing stuff that I
couldn't have thought of with 1.2 :)

Cheers,
Gavin.
___
--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


RE: [asterisk-users] AgentCallbackLogin() deprecated in 1.4

2006-12-20 Thread Douglas Garstang
Yes, we have issues with this application being removed as well. In my opinion, 
it's a loss of functionality.

 -Original Message-
 From: Markus Bönke [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 20, 2006 6:40 AM
 To: asterisk-users@lists.digium.com
 Cc: [EMAIL PROTECTED]
 Subject: [asterisk-users] AgentCallbackLogin() deprecated in 1.4
 
 
 Hello all,
 
 I've seen that the application AgentCallbackLogin()has been 
 set to deprecated in version 1.4. So I've done some tests 
 based on the tutorial queues-with-callback-members.txt 
 coming with version 1.4. 
 
 What's not clear for me is what is happening to agents.conf, 
 it seems that it's no longer needed, and I have to define my 
 agents using variables in extensions.ael. The other thing is, 
 that show agents doesn't show me which agents are logged in 
 and if I use show queue I can see local channels attached 
 to a queue but no agents. For my point of view there is some 
 functionality lost with the new concept.
 
 If I want to program a realtime display to show agentstates 
 in queues based on the output from show queue, what's the 
 concept to map agents to the local channels? How can I 
 configure agents in future?
 
 Any comments regarding that topic are appreciated.
 
 Thanks and Regards
 
 Markus
  
 ___
 --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


RE: [asterisk-users] AgentCallbackLogin() deprecated in 1.4

2006-12-20 Thread Douglas Garstang
 -Original Message-
 From: Gavin Hamill [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 20, 2006 7:10 AM
 To: asterisk-users@lists.digium.com
 Subject: Re: [asterisk-users] AgentCallbackLogin() deprecated in 1.4
 
 
 On Wed, 20 Dec 2006 14:39:42 +0100
 Markus Bönke [EMAIL PROTECTED] wrote:
 
  Hello all,
 
  The other thing is, that show agents
  doesn't show me which agents are logged in and if I use show queue
  I can see local channels attached to a queue but no agents. For my
  point of view there is some functionality lost with the new concept.

Funny. I said the same thing in this list about 2 months ago and I got told I 
was nuts.
___
--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


Re: [asterisk-users] AgentCallbackLogin() deprecated in 1.4

2006-12-20 Thread Lenz


I have been speaking privately to a number of CC integrators and resellers  
about the AgentCallbackLogin() deprecation issue, and I'd dare say nobody  
is enthusiastic about it. With all its problems, AgentCallBackLogin is the  
workhorse of most of today's Asterisk CCs, and my impression is that the  
proposed solution meets a very lukewarm reception at the moment.

Just my euro 0.02
l.


On Wed, 20 Dec 2006 17:26:51 +0100, Douglas Garstang  
[EMAIL PROTECTED] wrote:

 The other thing is, that show agents
 doesn't show me which agents are logged in and if I use show queue
 I can see local channels attached to a queue but no agents. For my
 point of view there is some functionality lost with the new concept.


Funny. I said the same thing in this list about 2 months ago and I got  
told I was nuts.




--
Loway Research - Home of QueueMetrics
http://queuemetrics.loway.it
___
--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


Re: [asterisk-users] AgentCallbackLogin deprecated?

2006-11-30 Thread Gavin Hamill
On Tue, 28 Nov 2006 17:57:04 -0600
Octavio Ruiz (Ta^3) [EMAIL PROTECTED] wrote:

  Is there an isolated example somewhere of how to use existing
  dialplan logic and dynamic queue membership to simulate the current
  behaviour?
 
 http://svn.digium.com/view/asterisk/trunk/doc/queues-with-callback-members.txt

Thanks for that - didn't realise the mainline docs contained such
useful and comprehensive information these days!

 Why? Seems that reinventing the well was the agentcallbacklogin
 implementation, when it could be happend in dialplan logic.

Cool, in conjunction with the one-line patches at
http://bugs.digium.com/view.php?id=7736 I think I have the
ACD functionality I need without bothering with chan_agent :)

Cheers,
Gavin.
___
--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


Re: [asterisk-users] AgentCallbackLogin deprecated?

2006-11-30 Thread Gavin Hamill
On Tue, 28 Nov 2006 17:57:04 -0600
Octavio Ruiz (Ta^3) [EMAIL PROTECTED] wrote:

 Why? Seems that reinventing the well was the agentcallbacklogin
 implementation, when it could be happend in dialplan logic.

Hm, now that I have examined this in more depth, I still seem to be
missing one vital piece of the puzzle.

The queues-with-callback-members.txt tutorial assumes that one agent
(as a specific human being) is always reachable at a specific phone.
This is not the case, and why I investigated chan_agent in the first
instance. Our agents sit at any phone and log in, so their ACD groups
follow them.

This is what I really meant about re-inventing the wheel, since with
AgentCallbackLogin removed, surely I'll have to maintain my own
database tables of which agent is available at which extension?

I'm hoping I've just overlooked something really obvious :)

Cheers,
Gavin,
___
--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


Re: [asterisk-users] AgentCallbackLogin deprecated?

2006-11-28 Thread Jason Parker
Yes, AgentCallbackLogin is deprecated, but it will not be removed until after 
1.4. 

- Original Message - 
From: Miguel Paolino [EMAIL PROTECTED] 
To: asterisk-users@lists.digium.com 
Sent: Monday, November 27, 2006 7:19:44 AM GMT-0600 US/Central 
Subject: [asterisk-users] AgentCallbackLogin deprecated? 

I would like to know if AgentCallbackLogin will be discontinued anytime shortly 
in Asterisk 1.4.x . I've read a page in voip-info that said so [1], but it was 
not an official announcement. I have to be sure, because I'm in the process of 
setting up a medium-to-big callcenter with Asterisk and calling the agents when 
a call is placed in a queue is a requisite (I've also read it can be done with 
the dialplan, but this app eases the work). 

[1] - http://www.voip-info.org/wiki-Asterisk+cmd+AgentCallbackLogin 
-- 
Regards, 

Miguel Paolino 

-- 
Jason Parker 
Digium 
___
--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


Re: [asterisk-users] AgentCallbackLogin deprecated?

2006-11-28 Thread Gavin Hamill
On Tue, 28 Nov 2006 10:27:27 -0600 (CST)
Jason Parker [EMAIL PROTECTED] wrote:

 Yes, AgentCallbackLogin is deprecated, but it will not be removed
 until after 1.4. 

Is there an isolated example somewhere of how to use existing dialplan
logic and dynamic queue membership to simulate the current behaviour?

What about generation of statistics for callcentre monitoring? If this
is not taking place through chan_agent, won't it be reinventing the
wheel to have to simulate this behaviour, too?

Cheers,
Gavin.
___
--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


Re: [asterisk-users] AgentCallbackLogin deprecated?

2006-11-28 Thread Octavio Ruiz (Ta^3)
  Yes, AgentCallbackLogin is deprecated, but it will not be removed
  until after 1.4. 
 
 Is there an isolated example somewhere of how to use existing dialplan
 logic and dynamic queue membership to simulate the current behaviour?

http://svn.digium.com/view/asterisk/trunk/doc/queues-with-callback-members.txt

 What about generation of statistics for callcentre monitoring? If this
 is not taking place through chan_agent, won't it be reinventing the
 wheel to have to simulate this behaviour, too?

Why? Seems that reinventing the well was the agentcallbacklogin
implementation, when it could be happend in dialplan logic.


-- 
  May I ask a question?
___
--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


[asterisk-users] AgentCallbackLogin deprecated?

2006-11-27 Thread Miguel Paolino

I would like to know if AgentCallbackLogin will be discontinued anytime
shortly in Asterisk 1.4.x . I've read a page in voip-info that said so [1],
but it was not an official announcement. I have to be sure, because I'm in
the process of setting up a medium-to-big callcenter with Asterisk and
calling the agents when a call is placed in a queue is a requisite (I've
also read it can be done with the dialplan, but this app eases the work).

[1] - http://www.voip-info.org/wiki-Asterisk+cmd+AgentCallbackLogin
--
Regards,

Miguel Paolino
___
--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