Elliot Otchet <elliot.otc...@callingcircles.com> writes: > Have you tried autopause=yes in your queue configuration? You can then > unpause the member by either the dialplan (e.g. having the cell phone > user "log back in") or using an AMI based program to change the > "paused" state. > > You can read more about the latter here: > http://astbook.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/asterisk-APP-F-30.html
That looks very interesting, thank you! First of all though I need to avoid having them autopause just because they don't answer their phone. It should only happen if the call to their phone fails completely. I guess that could be done by not doing autopause but instead pausing "manually" in the context that the Local call passes through. That would also solve my second problem, which is that I need to pause it in all queues, not just one queue. The last challenge is to somehow unpause them after a while. In traditional programming that would be something like keeping a list of timeout,queuemember ordered by timeout, and then when every call comes in unpause and remove the ones where timeout expired... I'm not sure that I can make an ordered list in the dialplan though. I may have to resort to AGI, but I still need somewhere to actually store the list. Tricky. /Benny _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users