Assuming he just wants people routed somewhere else if a queue if full, then my original fast queue timeout answer is the simplest. Just continue on in the dialplan.<br><br>I hope OP posts again with his/her solution.<br>
<br>Thanks,<br>Steve T<br><br><div class="gmail_quote">On Sat, Jul 18, 2009 at 3:18 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Assuming that connecting to the socket and authenticating and getting<br>
the data is really less latent and resource-intensive. But that's<br>
just splitting hairs.<br>
<font color="#888888"><br>
--<br>
Sent from mobile device<br>
<br>
On Jul 18, 2009, at 12:57 PM, Steve Edwards<br>
</font><div class="im"><<a href="http://asterisk.org" target="_blank">asterisk.org</a>@<a href="http://sedwards.com" target="_blank">sedwards.com</a>> wrote:<br>
<br>
</div><div><div></div><div class="h5">>> Gabriel Ortiz Lour wrote:<br>
><br>
>>> Someone know how can I check for available members on a queue<br>
>>> Before<br>
>>> I queue the call, so I can do something else with it? Note that is<br>
>>> not<br>
>>> the case for joinempty<br>
><br>
> On Sat, 18 Jul 2009, Alex Balashov wrote:<br>
><br>
>> It's going to take some sort of hack, since there appears to be no<br>
>> dialplan app to do this succinctly.<br>
>><br>
>> One option is to call an AGI script that in turn runs:<br>
>><br>
>> asterisk -rx 'queue show your-queue-name' |<br>
>> egrep 'SIP\/.+ \(Not in use\)' | wc -l<br>
>><br>
><br>
> You could reduce the number of process creations from 4 (AGI, asterisk<br>
> -rx, egrep, wc) to 1 (AGI) by using AMI in the AGI.<br>
><br>
> --<br>
> Thanks in advance,<br>
> ---<br>
> ----------------------------------------------------------------------<br>
> Steve Edwards <a href="mailto:sedwards@sedwards.com">sedwards@sedwards.com</a> Voice:<br>
> +1-760-468-3867 PST<br>
> Newline Fax: +1-760-731-3000<br>
><br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks,<br>Steve Totaro <br>+18887771888 (Toll Free)<br>+12409381212 (Cell)<br>+12024369784 (Skype)<br>