[Asterisk-Users] call queue problems
Dumpolid Exeplish
dumpexec at gmail.com
Mon Apr 24 11:55:01 MST 2006
Thanks Kevin,
the tip worked like a charm. However, there are newer issues now! Is there
any way of knowing which users are looed in? sometimes, customer support
users forget to login B4 they shutdown their computers (we use soft phones)
and "presistentmembers=yes" is set in queues.conf so the users are not
logged off automatically . I have an extension on which I dial to get the
count of loged in users. Is there a way to find out which extensions are
currently logged in??
Thanks agai
On 4/24/06, Kevin Smith <kevin.smith at mercury.net> wrote:
>
> Hi,
>
> What I would suggest doing, since we have a similar setup (where our 24
> support contracts can enter a pin number to be routed to an on call
> tech) is I use the function QUEUEAGENTCOUNT(queue name). Since you said
> that the calls should only be routed after the last support person logs
> out, just do a test to see if there is anyone logged in the queue, if
> not, send them to the NOC.
>
> example:
>
> exten => s,1,gotoif,$[${QUEUEAGENTCOUNT(124)} > 0]?YES:NO
> exten => s,n(YES),queue(124) ;Since there are more then 0 people in your
> queue
> exten => s,n(NO),queue(123) ; If there less then or equal to 0
>
> You also can run other tests and use logic and's and or's to make the
> tests more complex.
>
> Hopefully this will help,
>
> Kevin
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060424/f9443003/attachment.htm
More information about the asterisk-users
mailing list