Re: [asterisk-users] Agents login

2010-12-27 Thread Damian Ryszka
Dnia Sat, 25 Dec 2010 15:31:57 +0200
Michael voip.quest...@gmail.com napisał(a):

 Is that possible?? From what we saw, the agents login works on a
 constantly open line.

Which version of Asterisk you're using?


-- 
Damian Ryszka aka Rychu
rychu(at)sileman.net.pl

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Agents login

2010-12-27 Thread Michael
Hi,

We're using version 1.6.2.X.

I think that the command we need is AgentCallbackLogin. We're building a
script to study the entire functionality of queues, agents and everything
around it.

Happy New Year to all,

Michael

2010/12/27 Damian Ryszka ry...@sileman.net.pl

 Dnia Sat, 25 Dec 2010 15:31:57 +0200
 Michael voip.quest...@gmail.com napisał(a):

  Is that possible?? From what we saw, the agents login works on a
  constantly open line.

 Which version of Asterisk you're using?


 --
 Damian Ryszka aka Rychu
 rychu(at)sileman.net.pl

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Agents login

2010-12-27 Thread Damian Ryszka
Dnia Tue, 28 Dec 2010 08:02:51 +0200
Michael voip.quest...@gmail.com napisał(a):

 I think that the command we need is AgentCallbackLogin. We're
 building a script to study the entire functionality of queues,
 agents and everything around it.

Perhaps you noticed, that AgentCallbackLogin() has been removed in 1.6
series. 

To log in Agents into queues I'm using AddQueueMember() and
to remove RemoveQueueMember(). To make authorization I've tried to
use Read() application to read PIN and username from caller and
compare his input with mysql (ODBC driver) with success but I didn't
have time to finish it. 

I hope that above will be useful.

Greets,
-- 
Damian Ryszka aka Rychu
rychu(at)sileman.net.pl

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


[asterisk-users] Agents login

2010-12-25 Thread Michael
Greetings and Merry Christmas,

We're trying to implements a queue and agents login mechanism on our
Asterisk.

After going over the documentation, we're unsure if we got it right.

We wish to setup a hotdesk mechanism, where an agent comes to a station
with a PC  IP phone (that is defined as a sip friend user in sip.conf),
dials a certain number (agent login extension), enters his agent Id and
code, and from now on this phone serves as his. Then, when a call comes into
the queue he is associated to, if he is not on the line, the call would ring
in his phone and he'll be able to pick it up. He should also be able to set
a DND (if he needs a break).

Is that possible?? From what we saw, the agents login works on a constantly
open line.

Any help (and examples) would be highly appreciated.

Thank you in advance,

Michael
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Agents login

2010-12-25 Thread Deepesh D
Hello Michael,

You could try to achieve this functionality in dialplan by using the
applications  AddQueueMember/RemoveQueueMember which are used to
dynamically add/remove queue members.

An example dialplan flow for agent login will be

1.  get the SIP interface from which the agent is logging in (like
SIP/1234). You should be able to extract it from the CHANNEL variable
2.  Ask for the agentid/code. Read the agentid/code and  use an AGI to
authenticate the agent
3.  Add the SIP interface to the queue using AddQueueMember
AddQueueMember(queuename,SIP/1234,)

You could have a similar dialplan for agent logout, which removes SIP
interface from the queue using RemoveQueueMember.

For the DND you could then use PauseQueueMember/UnpauseQueueMember applications.

Regards,
Deepesh


On Sat, Dec 25, 2010 at 7:01 PM, Michael voip.quest...@gmail.com wrote:

 Greetings and Merry Christmas,

 We're trying to implements a queue and agents login mechanism on our Asterisk.

 After going over the documentation, we're unsure if we got it right.

 We wish to setup a hotdesk mechanism, where an agent comes to a station 
 with a PC  IP phone (that is defined as a sip friend user in sip.conf), 
 dials a certain number (agent login extension), enters his agent Id and code, 
 and from now on this phone serves as his. Then, when a call comes into the 
 queue he is associated to, if he is not on the line, the call would ring in 
 his phone and he'll be able to pick it up. He should also be able to set a 
 DND (if he needs a break).

 Is that possible?? From what we saw, the agents login works on a constantly 
 open line.

 Any help (and examples) would be highly appreciated.

 Thank you in advance,

 Michael

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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