What is the command to log off the agents ?<br><br>Thx<br><br><br><div class="gmail_quote">On Wed, Oct 14, 2009 at 6:45 PM, Lenz Emilitri <span dir="ltr"><<a href="mailto:lenz.loway@gmail.com">lenz.loway@gmail.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;"><div>You could configure them as agents and have them log off automatically after a while they're not responding.</div>
<div>l.</div><div><br></div><div><br></div><br><div class="gmail_quote">2009/10/14 Benny Amorsen <span dir="ltr"><<a href="mailto:benny%2Busenet@amorsen.dk" target="_blank">benny+usenet@amorsen.dk</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">We have the possibly rather unique setup where we have cell phones<br>
posing as SIP devices. The SIP registration for those unfortunately<br>
doesn't go away just because the phone is off, since the registration is<br>
done by our cell-phone<=>SIP gateway, and that gateway has no way of<br>
knowing whether the phone is on or off.<br>
<br>
This is usually ok, but it gets problematic if the cell phone is a<br>
member of a queue. In that case Queue() keeps sending the call to the<br>
phone, and the cell-phone<=>SIP gateway dutifully makes a call, which is<br>
then rejected by the cellular network. A few seconds later, Queue()<br>
tries again. This needlessly wastes resources both in Asterisk and in<br>
the cellular network.<br>
<br>
One idea is to run the call through chan_local (we do this anyway<br>
because we need to format the caller-ID differently for different<br>
phones) and then record if a call is rejected, and for the next<br>
30 seconds just abort if we are asked to send a call to that particular<br>
phone. The downside is that we are still running a call through part of<br>
the dial plan, but at least it can be done in perhaps 3 lines of code.<br>
<br>
I would very much like to hear about smarter ways to do it.<br>
<br>
<br>
/Benny<br>
<br>
<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>
AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</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>
</blockquote></div><br><br clear="all"><br>-- <br>Loway - home of QueueMetrics - <a href="http://queuemetrics.com" target="_blank">http://queuemetrics.com</a><br><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>
AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</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></blockquote></div><br>