You have a few choices.<br><br>mod_fifo generates events when callers come in an out of the queue.<br>mod_fifo also supports presence.<br><br>Method 1 (using events)<br>You can make an event socket application that listens for FIFO events and keeps track of what FIFOs are currently busy and when there are people waiting you can have that script generate a call to a group of SIP phones so when the first one answers, it sends them in as an agent where they can field the calls.<br>
<br>Method 2 (using presence)<br>If you name your queues with the same domain as your SIP phones they can subscribe to the fifo so when there are people waiting in the fifo a little light will blink on their phone telling them to press the button next to the light and field the call.&nbsp; This method is documented in the default config as the &quot;parking&quot; extension.<br>
<br>Method 3 (wait)<br>A community member is working on a companion to mod_fifo to do some of what you are asking for.<br><br><br><br><br><div class="gmail_quote">On Thu, Jul 3, 2008 at 2:38 AM, Faraz R. Khan &lt;<a href="mailto:faraz.khan@emergen.biz">faraz.khan@emergen.biz</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">amazing. Thank you.<br>
<br>
My scenario is somewhat different than this though. This much I<br>
understand and can do with mod_fifo. What I DONT understand is how to<br>
generate the call to agents (my agents do not dial 7010 and wait for the<br>
callers).<br>
<br>
I need the calls to come into the fifo queue, wait there and then be<br>
sent to agents who are free (who have not dialed in, whose phones are free)<br>
<br>
For operators, sales and support people its unrealisitic to assume that<br>
they stay on with headphones all the times :) They have other work to do!<br>
<div class="Ih2E3d"><br>
<br>
Anthony Minessale wrote:<br>
&gt; if you add these 2 extensions: 7010 will be for agents who will hear<br>
&gt; music till someone calls<br>
&gt; and 7011 will be the customer who will hear hold music until an agent is<br>
&gt; free.<br>
&gt;<br>
&gt; &nbsp; &lt;extension name=&quot;test&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^7010$&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application=&quot;set&quot; data=&quot;fifo_music=$${hold_music}&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application=&quot;answer&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application=&quot;fifo&quot; data=&quot;myq out wait&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;/condition&gt;<br>
&gt; &nbsp; &nbsp; &lt;/extension&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &lt;extension name=&quot;test&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^7011$&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application=&quot;set&quot; data=&quot;$${hold_music}&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application=&quot;answer&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application=&quot;fifo&quot; data=&quot;myq in&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;/condition&gt;<br>
&gt; &nbsp; &nbsp; &lt;/extension&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Jul 2, 2008 at 1:05 AM, Faraz R. Khan &lt;<a href="mailto:faraz.khan@emergen.biz">faraz.khan@emergen.biz</a><br>
</div><div class="Ih2E3d">&gt; &lt;mailto:<a href="mailto:faraz.khan@emergen.biz">faraz.khan@emergen.biz</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; Is there any example on how to use mod_fifo?<br>
&gt;<br>
&gt; &nbsp; &nbsp; I am trying to implement a call centre queue as follows (much like<br>
&gt; &nbsp; &nbsp; Asterisk queues) :<br>
&gt;<br>
&gt; &nbsp; &nbsp; Inbound call-&gt; press 0 for operator -&gt; mod_fifo -&gt; 3 agents of whom any<br>
&gt; &nbsp; &nbsp; one can get the call (doing round robin or whatever)<br>
&gt;<br>
&gt; &nbsp; &nbsp; I checked out:<br>
&gt; &nbsp; &nbsp; <a href="http://wiki.freeswitch.org/wiki/Mod_fifo" target="_blank">http://wiki.freeswitch.org/wiki/Mod_fifo</a><br>
&gt;<br>
&gt; &nbsp; &nbsp; I understand how to park the call, I understand how to retrieve the call<br>
&gt; &nbsp; &nbsp; from the fifo- but I dont understand how this will happen automatically.<br>
&gt; &nbsp; &nbsp; Is the expected way to write some kind of JS to run periodically, check<br>
&gt; &nbsp; &nbsp; if any of the 3 specified agents are free and send them (originate) to<br>
&gt; &nbsp; &nbsp; the fifo &#39;pop&#39; extension?<br>
&gt;<br>
&gt; &nbsp; &nbsp; Pointers would be appreciated! If anyone has sample JS to do something<br>
&gt; &nbsp; &nbsp; close to the above it would give me a great headstart.<br>
&gt;<br>
&gt; &nbsp; &nbsp; Thanks!<br>
&gt;<br>
&gt; &nbsp; &nbsp; --<br>
&gt; &nbsp; &nbsp; Faraz R Khan<br>
&gt; &nbsp; &nbsp; Chief Architect<br>
&gt; &nbsp; &nbsp; Emergen Consulting Pvt Ltd<br>
&gt; &nbsp; &nbsp; +92.21.529.0381 x200<br>
</div>&gt; &nbsp; &nbsp; <a href="http://www.emergen.biz" target="_blank">www.emergen.biz</a> &lt;<a href="http://www.emergen.biz" target="_blank">http://www.emergen.biz</a>&gt;<br>
<div class="Ih2E3d">&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; _______________________________________________<br>
&gt; &nbsp; &nbsp; Freeswitch-users mailing list<br>
&gt; &nbsp; &nbsp; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
</div>&gt; &nbsp; &nbsp; &lt;mailto:<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<div class="Ih2E3d">&gt; &nbsp; &nbsp; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &nbsp; &nbsp; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &nbsp; &nbsp; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Anthony Minessale II<br>
&gt;<br>
&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;<br>
&gt; AIM: anthm<br>
&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
</div>&gt; &lt;mailto:<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;<br>
<div class="Ih2E3d">&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
</div>&gt; &lt;mailto:<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>
&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> &lt;<a href="http://irc.freenode.net" target="_blank">http://irc.freenode.net</a>&gt; #freeswitch<br>
<div class="Ih2E3d">&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
</div>&gt; &lt;mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
<div class="Ih2E3d">&gt; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
</div>&gt; &lt;<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">http://iax:guest@conference.freeswitch.org/888</a>&gt;<br>
<div class="Ih2E3d">&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
</div>&gt; &lt;mailto:<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>
&gt; pstn:213-799-1400<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
<div><div></div><div class="Wj3C7c">&gt;<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
--<br>
Faraz R Khan<br>
Chief Architect<br>
Emergen Consulting Pvt Ltd<br>
+92.21.529.0381 x200<br>
<a href="http://www.emergen.biz" target="_blank">www.emergen.biz</a><br>
<br>
<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>
</div></div></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