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. This method is documented in the default config as the "parking" 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 <<a href="mailto:faraz.khan@emergen.biz">faraz.khan@emergen.biz</a>> 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>
> if you add these 2 extensions: 7010 will be for agents who will hear<br>
> music till someone calls<br>
> and 7011 will be the customer who will hear hold music until an agent is<br>
> free.<br>
><br>
> <extension name="test"><br>
> <condition field="destination_number" expression="^7010$"><br>
> <action application="set" data="fifo_music=$${hold_music}"/><br>
> <action application="answer"/><br>
> <action application="fifo" data="myq out wait"/><br>
> </condition><br>
> </extension><br>
><br>
> <extension name="test"><br>
> <condition field="destination_number" expression="^7011$"><br>
> <action application="set" data="$${hold_music}"/><br>
> <action application="answer"/><br>
> <action application="fifo" data="myq in"/><br>
> </condition><br>
> </extension><br>
><br>
><br>
><br>
><br>
> On Wed, Jul 2, 2008 at 1:05 AM, Faraz R. Khan <<a href="mailto:faraz.khan@emergen.biz">faraz.khan@emergen.biz</a><br>
</div><div class="Ih2E3d">> <mailto:<a href="mailto:faraz.khan@emergen.biz">faraz.khan@emergen.biz</a>>> wrote:<br>
><br>
> Is there any example on how to use mod_fifo?<br>
><br>
> I am trying to implement a call centre queue as follows (much like<br>
> Asterisk queues) :<br>
><br>
> Inbound call-> press 0 for operator -> mod_fifo -> 3 agents of whom any<br>
> one can get the call (doing round robin or whatever)<br>
><br>
> I checked out:<br>
> <a href="http://wiki.freeswitch.org/wiki/Mod_fifo" target="_blank">http://wiki.freeswitch.org/wiki/Mod_fifo</a><br>
><br>
> I understand how to park the call, I understand how to retrieve the call<br>
> from the fifo- but I dont understand how this will happen automatically.<br>
> Is the expected way to write some kind of JS to run periodically, check<br>
> if any of the 3 specified agents are free and send them (originate) to<br>
> the fifo 'pop' extension?<br>
><br>
> Pointers would be appreciated! If anyone has sample JS to do something<br>
> close to the above it would give me a great headstart.<br>
><br>
> Thanks!<br>
><br>
> --<br>
> Faraz R Khan<br>
> Chief Architect<br>
> Emergen Consulting Pvt Ltd<br>
> +92.21.529.0381 x200<br>
</div>> <a href="http://www.emergen.biz" target="_blank">www.emergen.biz</a> <<a href="http://www.emergen.biz" target="_blank">http://www.emergen.biz</a>><br>
<div class="Ih2E3d">><br>
><br>
> _______________________________________________<br>
> Freeswitch-users mailing list<br>
> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
</div>> <mailto:<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>><br>
<div class="Ih2E3d">> <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>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">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>
</div>> <mailto:<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>><br>
<div class="Ih2E3d">> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
</div>> <mailto:<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>><br>
> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> <<a href="http://irc.freenode.net" target="_blank">http://irc.freenode.net</a>> #freeswitch<br>
<div class="Ih2E3d">><br>
> FreeSWITCH Developer Conference<br>
> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
</div>> <mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>><br>
<div class="Ih2E3d">> <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
</div>> <<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">http://iax:guest@conference.freeswitch.org/888</a>><br>
<div class="Ih2E3d">> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
</div>> <mailto:<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>><br>
> pstn:213-799-1400<br>
><br>
><br>
> ------------------------------------------------------------------------<br>
<div><div></div><div class="Wj3C7c">><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>
--<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