Thanks for replying. This is my dialplan<br><br> <extension name="in_fifo"><br> <condition field="destination_number" expression="^779$"><br> <action application="set" data="fifo_music=$${hold_music}"/><br>
<action application="answer"/><br> <action application="fifo" data="myq in undef undef"/><br> </condition><br> </extension><br><br>And I created a queue in fifo.conf.xml like this<br>
<br> <fifo name="myq" importance="0"><br> <!--<member timeout="60" simo="1" lag="20">{member_wait=nowait}user/1005@$${domain}</member>--><br>
</fifo><br><br>However, I'm still not able to see the incoming call get queued. <br><br>freeswitch@localhost.localdomain> fifo list myq<br>API CALL [fifo(list myq)] output:<br><fifo_report><br> <fifo name="myq" consumer_count="0" caller_count="0" waiting_count="0" importance="0"><br>
<callers></callers><br> <consumers></consumers><br> </fifo><br></fifo_report><br><br>I tried both mod_skypiax and mod_dingaling, but with the same result.<br><br>Regards,<br>-Jingwei<br>
<br><div class="gmail_quote">On Sun, Jan 17, 2010 at 11:37 AM, Seven Du <span dir="ltr"><<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>></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;">
2010/1/15, Jingwei Yang <<a href="mailto:jingwei.yang@gmail.com">jingwei.yang@gmail.com</a>>:<br>
<div class="im">> Hi Guys,<br>
><br>
> I'm implementing an ACD system using ESL and mod_fifo. Based on what Anthony<br>
> suggested in this post:<br>
> <a href="http://www.mail-archive.com/freeswitch-users@lists.freeswitch.org/msg01652.html" target="_blank">http://www.mail-archive.com/freeswitch-users@lists.freeswitch.org/msg01652.html</a><br>
><br>
> *You can make an event socket application that listens for FIFO events and<br>
> keeps track of what FIFOs are currently busy and when there are people<br>
> waiting you can have that script generate a call to a group of SIP phones so<br>
> when the first one answers, it sends them in as an agent where they can<br>
> field the calls.<br>
> *<br>
><br>
> 1. How should I handle the concurrent issues? If I bridge a user to two<br>
> agents and both of them answers, how does FS take care of this situation?<br>
> Will a slower agent get a busy tone automatically?<br>
><br>
<br>
</div>I think it just follow the standard originate dialstring rules.<br>
<div class="im"><br>
> 2. If the socket application is brought up after some users have called in,<br>
> what command should I use to check the busy queues? fifo list?<br>
><br>
</div>Yes. Perhaps you can also check the fifo db, either sqlite or ODBC.<br>
<div><div></div><div class="h5"><br>
> 3. Am I using fifo list and fifo count correctly?<br>
><br>
> here's the testing dialplan:<br>
><br>
> <extension name="in_fifo"><br>
> <condition field="destination_number" expression="^779$"><br>
> <action application="set" data="fifo_music=$${hold_music}"/><br>
> <action application="answer"/><br>
> <action application="fifo" data="*myq *in"/><br>
> </condition><br>
> </extension><br>
><br>
> when a call comes in and gets queued, these are the results of some commands<br>
> I tried.<br>
><br>
> freeswitch@localhost.localdomain> fifo list<br>
> API CALL [fifo(list)] output:<br>
> <fifo_report><br>
> <fifo name="<a href="mailto:cool_fifo@192.168.1.104">cool_fifo@192.168.1.104</a>" consumer_count="0" caller_count="0"<br>
> waiting_count="0" importance="0"><br>
> <callers></callers><br>
> <consumers></consumers><br>
> </fifo><br>
> </fifo_report><br>
><br>
><br>
> freeswitch@localhost.localdomain> fifo list myq<br>
> API CALL [fifo(list myq)] output:<br>
> <fifo_report></fifo_report><br>
><br>
><br>
> freeswitch@localhost.localdomain> fifo count myq<br>
> API CALL [fifo(count myq)] output:<br>
> none<br>
><br>
> It seems *myq* doesn't get created at all? Please enlighten.<br>
><br>
> Thanks and best regards,<br>
> -Jingwei<br>
><br>
</div></div>AFAIK, thant means the channel didn't queued in. Did you see any error<br>
logs? I think you need to remove the stars in <action<br>
application="fifo" data="*myq *in"/>.<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>
</blockquote></div><br>