[asterisk-users] 1.4.23 + Realtime Queues/Agents NOT via SIP

Peter Beckman beckman at angryox.com
Tue Mar 10 10:24:26 CDT 2009


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



More information about the asterisk-users mailing list