[asterisk-users] Disconnect queues members every night
Lenz Emilitri
lenz.loway at gmail.com
Tue Dec 30 11:20:43 CST 2008
You could use a very simple approach and just disconnect them all without
caring if they are connected or not.
Something like:
asterisk -rx "agent logoff agent/101"
asterisk -rx "agent logoff agent/102"
asterisk -rx "agent logoff agent/103"
..and so on....
to be executed at a given time.
Of course I would put in place a monitoring mechanism first - if an agent
has the responsability of logging off at the end of their shift, they must
do so. Putting in place an automated soluition will make them sloppier, so
be sure this is something you can control.
Just my two eurocents,
l.
2008/12/22 Benoit <maverick at maverick.eu.org>
>
> Hi,
>
> To force user to behave correctly, i want to make a process of
> disconnecting
> every member but one (special alarm phone) every day at a special time.
>
> I'm thinking of a cron job that will create a "call file" that will dial an
> appropriate extension to do the job, is this the correct way ?
>
> I'm facing two problems however, the call file system is here to connect a
> channel to an extension, but since i want this to be fully automated, i
> can't ring
> someone. Should i use the Local/ construct in this case ?
>
> something like that would to do job (provided the extension is
> 'autodialout' in the context 'queue') ?
>
> Channel: Local/autodialout at queues
> Context: queues
> Extension: autodialout
>
>
> The other question is how to make this so it is working through
> configuration upgrades,
> There is a way to list user from a named queue (QUEUE_MEMBER_LIST()) but
> i can't find
> a way to list all queues, is there one or should i manually maintain a
> list ?
>
>
> regards,
> benoit
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Loway - home of QueueMetrics - http://queuemetrics.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081230/bc577ada/attachment.htm
More information about the asterisk-users
mailing list