<br><br><div class="gmail_quote">On Sun, May 3, 2009 at 11:01 PM, seven <span dir="ltr">&lt;<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>&gt;</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 style=""><div>Actually, for the &quot;call back&quot; agents, because the fifo use originate to start a new session, the new session won&#39;t hang up unless one agent answered or timeout. Agents will hear nothing and wait(member_wait=wait) on the queue or hanup(nowait) if caller hang up before an agent answer the phone. &#39;</div>
<div></div></div></blockquote><div><br><br>When you are using on-hook agents, it&#39;s presumed to be under low call volume, you can just set the agents to get popped<br>into the queue in nowait mode so if the caller changed his mind the agent will get a hangup.  Remember, if there are X customers in the queue, mod_fifo generates X outbound calls to try to service them. <br>
<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div><br></div><div>And I also found out the the member timeout doesn&#39;t work but call_timeout works in a dial string. Is it a bug I should reported to jira? </div>
<div><br></div><div><div class="im"><div>    &lt;fifo name=&quot;sales_fifo@$${domain}&quot; importance=&quot;0&quot;&gt;</div></div><div>      &lt;member timeout=&quot;10&quot; simo=&quot;1&quot; lag=&quot;5&quot;&gt;{call_timeout=6,fifo_member_wait=nowait}user/1009@$${domain}&lt;/member&gt;</div>
<div>    &lt;/fifo&gt;</div><div></div></div></div></blockquote><div><br><br>call_timeout is only valid on inbound legs to set the timeout it&#39;s willing to wait for a caller to answer.  You are confusing it with leg_timeout which is designed to go in the {}<br>
<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div><div><br></div><div>And even the timeout works, it&#39;s not ideal. It&#39;s better to bridge to an agent other than originate I think. Keep looking.</div>
</div><div><div></div><div class="h5"></div></div></div></blockquote><div><br>I am not sure what you mean by that.  bridge instead of originate?  The process is to originate the call and then bridge the agent to the caller.  All calls in FS start out as origiante???? <br>
<br>If you want app_queue you are welcome to download and use it from <a href="http://www.asterisk.org">http://www.asterisk.org</a><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div><div class="h5"><br><div>On Apr 29, 2009, at 4:27 PM, François Delawarde wrote:<br><blockquote type="cite"> <div> Hi,<br> <br> It should be easy to modify mod_fifo to include this functionality.<br> <br>
 Correct me if I&#39;m wrong:<br> For &quot;call back&quot; agents at least, when X calls are in the the queue, Freeswitch tries to search for up to X agents in database. This algorithm is much more optimized than Asterisk, as Asterisk will take calls one by one and try to connect them to an agent, it should then stay as it is.<br>
 <br> The simplest idea to control the call distribution algorithm would be to modify the database query in the &quot;find_consumers&quot; function (right now, the algorithm is: &quot;order by outbound_call_count&quot;). A variable could control the &quot;order by&quot; of this query, and the problem would be solved at least for &quot;call back&quot; agents. I guess sqlite3 should allow very complex queries, but I don&#39;t know if there could be performance issues.<br>
 <br> Do you think it is a possible -trivial- solution?<br> <br> François.<br> <br> On Wed, 2009-04-29 at 08:46 +0200, Antonio Gallo wrote: <blockquote type="CITE"> <pre>seven ha scritto:
&gt; oh, thank you Antonio. I think it would be better to collect more  
&gt; ideas before open a bounty. And I more interested in playing(including  
&gt; patching the code) with that than use the function.
&gt;   
I was working on other stuff yesterday and just looked at the wiki:
- it seems there is already a bounty for something like that;
- there is a wiki page about how to implement it with Javascript, ofc 
you need to tailor it to your own needs;

AgX



_______________________________________________
Freeswitch-users mailing list
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre> </blockquote> </div>  _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>