Seven,<br><br>Can you do a &quot;fifo list_verbose &lt;fifoname&gt;&quot; for these conditions:<br>* Agent not logged in<br>* Agent logged in and waiting for a call<br>* Agent logged in and is currently on inbound call<br>
* Agent logged in and is currently on outbound call<br><br>I want to make sure that we are testing the same thing. <br><br>Thanks,<br>MC<br><br><div class="gmail_quote">On Sat, May 5, 2012 at 7:48 AM, Seven Du <span dir="ltr">&lt;<a href="mailto:dujinfang@gmail.com" target="_blank">dujinfang@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>Hi Michael,</div><div><br></div><div>I tested that example and it did call the agent(Bria or any phone accept multi-lines) no matter it is busy or not, and I also looked the code looks there&#39;s no code to prevent this from happening.</div>
<div><br></div><div>Michael I guess you used a phone only support 1 sip line, so any new incoming call will be rejected with USER_BUSY and fifo will try every seconds but only it will success when you hangup the current call.  We once used a custom build sip ua with this solution, but leaves unsuccessful calls every second in logs if agents are &quot;busy&quot; calling out.</div>
<div><br></div><div>I also tried to find a way to automatically &quot;seize&quot; an agent, but, technically, there&#39;s race conditions anyway. Say, agent send INVITE and it might receive INVITE at the same time because mod_fifo has no way to know the agent is start making a call.</div>
<div><br></div><div>I currently use a temporary &quot;call-back&quot; solution:  when client want to make a call, it send a request to my ESL app, and I update the fifo_outbound table to &quot;seize&quot; the agent line, if success(1 record line updated), then I originate the agent...  It is a pain to make sure the &quot;seized&quot; line is cleared whenever the call is hangup or fail. It is kind of works in our lab, but I&#39;m not sure how reliable it is.</div>
<div><br></div><div>I had thought to add some code to mod_fifo, so in addition to &quot;fifo out&quot; add something like &quot;fifo dial  from to&quot; to automatically resolve this.</div><div><br></div><div>It seems no solution in mod_callcenter either it might be because most callcenters are either inbound or outbound, but in-out mixed agents are also seen for efficiency so it would be helpful to find a solution.</div>
<div><br></div><div>Seven.</div><div><div><br></div></div>
                 
                <p style="color:#a0a0a8">On Saturday, May 5, 2012 at 5:46 AM, Michael Collins wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
                    <span><div><div>Hi Afshin,<br><br>Sorry for the delay but I wanted to lab this up and test it before I responded. I do not see the behavior you report. When I use the sample FIFO stuff on the wiki I am able to have an on-hook agent make an outbound call and not receive an inbound call. As soon as the agent completes his outbound call he is available to receive an inbound call.<br>

<br>Check this page:<br><a href="http://wiki.freeswitch.org/wiki/Mod_fifo#Simple_On-hook_Agent_Login.2FLogout_Example" target="_blank">http://wiki.freeswitch.org/wiki/Mod_fifo#Simple_On-hook_Agent_Login.2FLogout_Example</a><br>
<br>It works like a champ!<br>
<br>-MC<br><br><div>On Sat, Apr 28, 2012 at 10:05 PM, afshin afzali <span dir="ltr">&lt;<a href="mailto:a.afzali2003@gmail.com" target="_blank">a.afzali2003@gmail.com</a>&gt;</span> wrote:<br><blockquote type="cite"><div>

Dear FreeSWITCHers,<div><br></div><div>The offline agents need to make outgoing calls while waiting for call arrivals. To prevent an influence outgoing by incoming call, they need to logout, making call and then login to the queue ! also doing logout &amp; login automatically alters the actual login time :(</div>


<div>I&#39;m looking for a solution which can disable call dispatch temporary for a specific agent.</div><div>Appreciate all comments,</div><div>-- afshin  </div>
<br></div></blockquote></div><br>
</div><div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a></div>
<div><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a></div><div><br></div><div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a></div>
<div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a></div>
<div><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-users mailing list</div><div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></div>
<div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div>
<div><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>
            <br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>