<br><br><div class="gmail_quote">2009/3/27 Francois Delawarde <span dir="ltr"><<a href="mailto:fdelawarde@wirelessmundi.com">fdelawarde@wirelessmundi.com</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;">
<div>
Hello and welcome me into FreeSWITCH's world! <= sorry that was rude<br>
<br>
I am (hoping to say "I was" soon) a heavy user of Asterisk's call queues for small call centers with sometimes empty queues and all agents idle for a few seconds.<br>
<br>
FreeSWITCH's mod_fifo algorithm is apparently quite different than Asterisk's app_queue. Instead of choosing an agent for a each call once it gets to the bottom of the queue given a specific strategy, FreeSWITCH does the inverse and finds a call once an agent is free given a strategy (the call that has waited longer from all the agent's queues, or the call in the queue that currently has more calls waiting). Am I right?<br>
<br>
If the above deduction is correct, while it seems a MUCH better choice for heavier call centers that always have calls in their queues ("in queue" calls are not delayed by the processing of the call at the end of the queue), I have a few doubts for what would happen in small call centers when those queues sometimes get empty and several agents "fight" for the incoming calls. My questions are following:<br>
<br>
- If for example 4 agents are "connected" (fifo out) to an empty queue, what happens when a call arrives? Do the 4 agents ring? If not, how do we know which agent get the call?<br></div></blockquote><div><br>If you are using on-hook agents, it will place as many outbound calls as there are people waiting.<br>
If you are using off-hook agents it will just connect the first free agent.<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>
- Is there an [easy] way (with some javascript or similar) to "emulate" Asterisk's distribution strategies to agents (by amount of time without calls, total number of answered calls, round robing, ...) in this cases?<br>
</div></blockquote><div><br>Easiest way would be to write a patch in C to mod_fifo it'self or propose a bounty for features and see if you can get the change approved by the developers.<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><br>
A couple of other newbie questions that has nothing to do with the above:<br>
- Is there a way to execute some PHP scripts for each call that would do the bridging or call applications (like Asterisk's AGI)?<br></div></blockquote><div><br>Your best bet would be to not try to do anything "like asterisk" FreeSWITCH is a paradigm shift from asterisk and you may defeat yourself trying to do anything the same way.<br>
<br>That said, yes, look at Event Socket and ESL, (using asterisk terminology, it's a combination of AGI and manager).<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>
- What is the recommended language for features, speed, and programming ease (not a priority) for this kind of scripts (C? LUA?, Javascript?, ..)?<br>
</div></blockquote><div><br>C<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><br>
Thanks in advance,<br>
François.
</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>