Peter Beckman
2009-Mar-10 15:24 UTC
[asterisk-users] 1.4.23 + Realtime Queues/Agents NOT via SIP
I'm working on a project that involves Queues with Agents that are at home with a PSTN phone number, NOT connected via SIP phones. In the queues.conf it clearly states that only the SIP driver supports "In Use" detection of making members of a Queue available or unavailable. I've not yet figured out the best way to handle this. Currently I've got a macro that is executed upon answer that Pauses the Queue Member, and another hook in the hangup to Unpause the Queue Member. It's inelegant and needs additional help with a cron job connected to Asterisk Manager to make sure the paused status is appropriate. I am making an outbound call to the PSTN, and I could dial it via SIP, but in my tests, because this is not a device, Asterisk cannot determine if it is on-hook or off-hook, and thus faking the call via SIP doesn't help. Any advice? It seems that Queues are best suited for agents connected via SIP devices, and since that isn't the case here, I'm finding I have to make a hack. --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman at angryox.com http://www.angryox.com/ ---------------------------------------------------------------------------
Shawn Brewer
2009-Mar-10 15:45 UTC
[asterisk-users] 1.4.23 + Realtime Queues/Agents NOT via SIP
Softphones out of the question? -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Peter Beckman Sent: Tuesday, March 10, 2009 10:24 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] 1.4.23 + Realtime Queues/Agents NOT via SIP I'm working on a project that involves Queues with Agents that are at home with a PSTN phone number, NOT connected via SIP phones. In the queues.conf it clearly states that only the SIP driver supports "In Use" detection of making members of a Queue available or unavailable. I've not yet figured out the best way to handle this. Currently I've got a macro that is executed upon answer that Pauses the Queue Member, and another hook in the hangup to Unpause the Queue Member. It's inelegant and needs additional help with a cron job connected to Asterisk Manager to make sure the paused status is appropriate. I am making an outbound call to the PSTN, and I could dial it via SIP, but in my tests, because this is not a device, Asterisk cannot determine if it is on-hook or off-hook, and thus faking the call via SIP doesn't help. Any advice? It seems that Queues are best suited for agents connected via SIP devices, and since that isn't the case here, I'm finding I have to make a hack. --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman at angryox.com http://www.angryox.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
Sebastian
2009-Mar-10 16:05 UTC
[asterisk-users] 1.4.23 + Realtime Queues/Agents NOT via SIP
IAX2 also support InUse, is a good choice for Agents at home because IAX is nat friendly :) -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Peter Beckman Sent: martes, 10 de marzo de 2009 12:24 p.m. To: asterisk-users at lists.digium.com Subject: [asterisk-users] 1.4.23 + Realtime Queues/Agents NOT via SIP I'm working on a project that involves Queues with Agents that are at home with a PSTN phone number, NOT connected via SIP phones. In the queues.conf it clearly states that only the SIP driver supports "In Use" detection of making members of a Queue available or unavailable. I've not yet figured out the best way to handle this. Currently I've got a macro that is executed upon answer that Pauses the Queue Member, and another hook in the hangup to Unpause the Queue Member. It's inelegant and needs additional help with a cron job connected to Asterisk Manager to make sure the paused status is appropriate. I am making an outbound call to the PSTN, and I could dial it via SIP, but in my tests, because this is not a device, Asterisk cannot determine if it is on-hook or off-hook, and thus faking the call via SIP doesn't help. Any advice? It seems that Queues are best suited for agents connected via SIP devices, and since that isn't the case here, I'm finding I have to make a hack. --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman at angryox.com http://www.angryox.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 Se certific? que el correo entrante no contiene virus. Comprobada por AVG - www.avg.es Versi?n: 8.5.278 / Base de datos de virus: 270.11.9/1992 - Fecha de la versi?n: 03/09/09 19:20:00