[Asterisk-Users] call queue problems

Dumpolid Exeplish dumpexec at gmail.com
Wed Apr 26 23:41:41 MST 2006


thanks for your help, I really appreciate it

On 4/25/06, Kevin Smith <kevin.smith at mercury.net> wrote:
>
> Yes there is. QUEUE_MEMBER_LIST(<queuename>)
>
> This should return you a list of comman-separated list of the members in
> a queue. After that you would need to format it (if needed) so asterisk
> can read it back to you. Of course then you can make some logic
> decesions on whether you want to remove the memeber from the queue, etc.
>
> Also you may find this page helpful for things you are looking for
> http://www.voip-info.org/wiki/view/Asterisk+functions
>
> Kevin
>
>
> Dumpolid Exeplish wrote:
>
> > 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
> > <mailto: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/20060426/8cb2542a/attachment.htm


More information about the asterisk-users mailing list