Re: [asterisk-users] Ring All Queue

2009-04-15 Thread Danny Nicholas
Call an AGI and return dnid to the dialplan.  If it's not dnid, the value is
there, you'll just have to look a bit more (voip-info.org)

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ryan M.
Colbert
Sent: Tuesday, April 14, 2009 12:14 PM
To: 'asterisk-users@lists.digium.com'
Subject: [asterisk-users] Ring All Queue

 

Is there a way in the dialplan to figure out which agent in a ring all queue
answered a line? I'd like to take specific action based on the agent upon
hangup. 

 

Ryan M. Colbert
Director of Information Technology
Rissman, Barrett, Hurt, 

Donahue  McLain, P.A.
201 E. Pine Street, Suite 1500
Orlando, FL 32801
(407) 517-3105 - Direct Telephone
(407) 839-0120 - Main Office
(407) 841-9726 - Fax
http://www.rissman.com/

 

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

[asterisk-users] Ring All Queue

2009-04-14 Thread Ryan M. Colbert
Is there a way in the dialplan to figure out which agent in a ring all queue 
answered a line? I'd like to take specific action based on the agent upon 
hangup.

Ryan M. Colbert
Director of Information Technology
Rissman, Barrett, Hurt,
Donahue  McLain, P.A.
201 E. Pine Street, Suite 1500
Orlando, FL 32801
(407) 517-3105 - Direct Telephone
(407) 839-0120 - Main Office
(407) 841-9726 - Fax
http://www.rissman.com/

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Ring All Queue

2009-04-14 Thread ROQUÉ, Francisco Emiliano
I have a same problem i add to the question

Francisco

Ryan M. Colbert wrote:

 Is there a way in the dialplan to figure out which agent in a ring all
 queue answered a line? I’d like to take specific action based on the
 agent upon hangup.

 Ryan M. Colbert
 Director of Information Technology
 Rissman, Barrett, Hurt,

 Donahue  McLain, P.A.
 201 E. Pine Street, Suite 1500
 Orlando, FL 32801
 (407) 517-3105 – Direct Telephone
 (407) 839-0120 - Main Office
 (407) 841-9726 – Fax
 http://www.rissman.com/

 

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

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


Re: [asterisk-users] Ring All Queue

2009-04-14 Thread Luis Morales
Try to parser queue_log file in real time and catch the event CONNECT

Regards,

Luis Morales

On Tue, Apr 14, 2009 at 12:44 PM, Ryan M. Colbert
ryan.colb...@rissman.com wrote:
 Is there a way in the dialplan to figure out which agent in a ring all queue
 answered a line? I’d like to take specific action based on the agent upon
 hangup.



 Ryan M. Colbert
 Director of Information Technology
 Rissman, Barrett, Hurt,

 Donahue  McLain, P.A.
 201 E. Pine Street, Suite 1500
 Orlando, FL 32801
 (407) 517-3105 – Direct Telephone
 (407) 839-0120 - Main Office
 (407) 841-9726 – Fax
 http://www.rissman.com/



 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

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




-- 
-
Luis Morales
Consultor de Tecnologia
Cel: +(58)416-4242091
-
Empieza por hacer lo necesario, luego lo que es posible... y de
pronto estarás haciendo lo imposible

Leonardo Da'Vinci
-

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Ring All Queue

2009-04-14 Thread Jim Dickenson
At least in  version 1.6.0.x you can specify a macro to be executed when the
agent answers the queued call. This is an argument to the queue application.

Queue(queuename[,options[,URL][,announceoverride][,timeout][,AGI][,macro][,g
osub][,rule])

The optional macro parameter will run a macro on the calling party's channel
once they are connected to a queue member.

Here is what my Macro does:

exten = s,1,UserEvent(DidQueue,ActionID:${CfMC_ActionID}  ${UNIQUEID}
 ${CHANNEL}  ${CfMC_AgentToUse}  ${CfMC_DialInfo} 
${CfMC_QueueToUse}  ${MEMBERINTERFACE}  ${MEMBERNAME})

${MEMBERINTERFACE} and ${MEMBERNAME} have info about the agent that answered
the call.
-- 
Jim Dickenson
mailto:dicken...@cfmc.com

CfMC
http://www.cfmc.com/



 From: Luis Morales faston...@gmail.com
 Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
 Date: Tue, 14 Apr 2009 13:17:49 -0430
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
 Subject: Re: [asterisk-users] Ring All Queue
 
 Try to parser queue_log file in real time and catch the event CONNECT
 
 Regards,
 
 Luis Morales
 
 On Tue, Apr 14, 2009 at 12:44 PM, Ryan M. Colbert
 ryan.colb...@rissman.com wrote:
 Is there a way in the dialplan to figure out which agent in a ring all queue
 answered a line? I¹d like to take specific action based on the agent upon
 hangup.
 
 
 
 Ryan M. Colbert
 Director of Information Technology
 Rissman, Barrett, Hurt,
 
 Donahue  McLain, P.A.
 201 E. Pine Street, Suite 1500
 Orlando, FL 32801
 (407) 517-3105 ­ Direct Telephone
 (407) 839-0120 - Main Office
 (407) 841-9726 ­ Fax
 http://www.rissman.com/
 
 
 
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
 
 
 -- 
 --
 ---
 Luis Morales
 Consultor de Tecnologia
 Cel: +(58)416-4242091
 --
 ---
 Empieza por hacer lo necesario, luego lo que es posible... y de
 pronto estarás haciendo lo imposible
 
 Leonardo Da'Vinci
 --
 ---
 
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 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 --

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


Re: [asterisk-users] Ring All Queue

2009-04-14 Thread Atis Lezdins
On Tue, Apr 14, 2009 at 9:09 PM, Jim Dickenson dicken...@cfmc.com wrote:
 At least in  version 1.6.0.x you can specify a macro to be executed when the
 agent answers the queued call. This is an argument to the queue application.

 Queue(queuename[,options[,URL][,announceoverride][,timeout][,AGI][,macro][,g
 osub][,rule])

 The optional macro parameter will run a macro on the calling party's channel
 once they are connected to a queue member.

 Here is what my Macro does:

 exten = s,1,UserEvent(DidQueue,ActionID:${CfMC_ActionID}  ${UNIQUEID}
  ${CHANNEL}  ${CfMC_AgentToUse}  ${CfMC_DialInfo} 
 ${CfMC_QueueToUse}  ${MEMBERINTERFACE}  ${MEMBERNAME})

 ${MEMBERINTERFACE} and ${MEMBERNAME} have info about the agent that answered
 the call.

Just test this with multiple simultenous answers, so You don't get any
surprises. I'd recommend putting Wait(10) into that macro (actually
GoSub in 1.6) and trying to pick up second ringing phone while first
is in Wait().

I haven't gotten into 1.6 yet, but here are some related problems on
1.4 with some backports:

http://bugs.digium.com/view.php?id=13335
http://bugs.digium.com/view.php?id=14859

Once You'll get the agent in some variable within answer part of
dialplan, it's just a matter of storing this into per-call database
entry and reading from parrent channel. See function DB and variable
UNIQUEID for that.

Of course, if You need it only on hangup, Luis suggestion will work
just fine, use Asterisk Realtime engine to read value from realtime
queue log.

Regards,
Atis




-- 
Atis Lezdins,
VoIP Project Manager / Developer,
IQ Labs Inc,
a...@iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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