[Freeswitch-users] any way ring fifo members one by one?

François Delawarde fdelawarde at wirelessmundi.com
Wed Apr 29 01:27:12 PDT 2009


Hi,

It should be easy to modify mod_fifo to include this functionality.

Correct me if I'm wrong:
For "call back" 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.

The simplest idea to control the call distribution algorithm would be to
modify the database query in the "find_consumers" function (right now,
the algorithm is: "order by outbound_call_count"). A variable could
control the "order by" of this query, and the problem would be solved at
least for "call back" agents. I guess sqlite3 should allow very complex
queries, but I don't know if there could be performance issues.

Do you think it is a possible -trivial- solution?

François.

On Wed, 2009-04-29 at 08:46 +0200, Antonio Gallo wrote:

> seven ha scritto:
> > oh, thank you Antonio. I think it would be better to collect more  
> > ideas before open a bounty. And I more interested in playing(including  
> > patching the code) with that than use the function.
> >   
> 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
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090429/94367381/attachment-0002.html 


More information about the FreeSWITCH-users mailing list