An elegant wat to do this would be to have the caller ID and agent the call was sent to stored in mysql (Asterisk can do systems calls to this) and when calls come in do a quick check to the database, if it's matched put it through to the same agent, if the agent is busy it can revert to the general queue - it there is no match then put it straight in the general queue. We could look at doing this for/with you. Email me - 
<a href="mailto:rob@connection-telecom.com">rob@connection-telecom.com</a><br><br>Rob<br><br><div><span class="gmail_quote">On 12/9/05, <b class="gmail_sendername">Lenz</b> &lt;<a href="mailto:lenz-ml@loway.it">lenz-ml@loway.it
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>I don't think it is impossible, though not yet supported by Asterisk
<br>out-of-the-box. You could have a general queue plus a queue per each<br>agent, and you would route the call to each agent based on the caller*id.<br>This might end up spoiling the advantage of a queue, meaning that you
<br>might have three agents sitting idle and a fourth with three calls queued.<br>It would be better to have different agents automatically open a &quot;case<br>ticket&quot; based on the caller*id, so each agent sees the problem.
<br>Yours<br>l.<br><br><br>On Fri, 09 Dec 2005 11:40:03 +0100, Hilton Williams &lt;<a href="mailto:hilton@datatex.co.za">hilton@datatex.co.za</a>&gt;<br>wrote:<br><br>&gt; Hi<br>&gt;<br>&gt; Is there a way to get incoming calls to go to the same agent that
<br>&gt; handled them previously, based on the Caller ID?&nbsp;&nbsp;This would be great<br>&gt; for support / helpdesk, since the caller doesn't have to explain the<br>&gt; whole problem to each agent.<br>&gt;<br>&gt; Does anyone know?
<br>&gt;<br>&gt; We're using Asterisk@Home 1.5, with Asterisk 1.0.9, but I'd be<br>&gt; interested to know even if it's in a more recent version of Asterisk.<br>&gt;<br>&gt; Regards<br>&gt; Hilton Williams<br>&gt;<br>&gt;
<br>&gt;<br>&gt; Datatex Dynamics CC<br>&gt; Web site <a href="http://www.datatex.co.za/">http://www.datatex.co.za/</a><br>&gt; Email to <a href="mailto:hilton@datatex.co.za">hilton@datatex.co.za</a><br>&gt; Tel +27215924033
<br>&gt; Fax +27215924077<br>&gt;<br>&gt; The use of the Datatex e-mail facility is not permitted<br>&gt; for the distribution of chain letters or offensive email<br>&gt; of any nature whatsoever. Datatex hereby distances itself
<br>&gt; from and accepts no liability in respect of the<br>&gt; unauthorised use of its e-mail facility or the sending of<br>&gt; e-mail communications for other than strictly business<br>&gt; purposes. Datatex furthermore disclaims liability for any
<br>&gt; unauthorised instruction for which permission was not<br>&gt; granted. Any recipient of an unacceptable communication,<br>&gt; a chain letter or offensive material of any nature is<br>&gt; requested to report it to 
<a href="mailto:abuse@datatex.co.za">abuse@datatex.co.za</a>.<br><br><br><br>--<br>Loway Research - Home of QueueMetrics<br><a href="http://queuemetrics.loway.it">http://queuemetrics.loway.it</a><br><br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>