Thanks Joćo. In 01_fifo.xml, the agent uses the action below to sign up.<br><br><action application="set" data="result=${fifo_member(add ACD$1 {fifo_member_wait=nowait}loopback/1${user_name}/default/XML )"/><br>
<br>The variable ${user_name} was empty when I tried both skypiax and dingaling. <br><br><div class="gmail_quote">2010/1/25 Joćo Mesquita <span dir="ltr"><<a href="mailto:jmesquita@freeswitch.org">jmesquita@freeswitch.org</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;">What user_name? I don't understand that statement.<div><br></div><div>I think that you can always use <a href="http://wiki.freeswitch.org/wiki/Channel_Variables#api_hangup_hook" target="_blank">http://wiki.freeswitch.org/wiki/Channel_Variables#api_hangup_hook</a></div>
<div><br></div><div><div class="im">Regards,<br clear="all">Joćo Mesquita<br>FSComm Developer<br>
<br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Sat, Jan 23, 2010 at 4:00 AM, Jingwei Yang <span dir="ltr"><<a href="mailto:jingwei.yang@gmail.com" target="_blank">jingwei.yang@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;">
Hi Joćo, do you know how to sign the agent off automatically when either party hangs up the call? <br><br>Here's how I originate the call to the agent and sign him up in ACD1:<br><br><div style="margin-left: 40px;">originate skypiax/ANY/jingwei.yang 6*1<br>
</div><br>However, I found the user_name property is empty. May I know how it is set?<div><br><br>Thanks and best regards,<br>-Jingwei<br><br></div><div><div></div><div><div class="gmail_quote">On Fri, Jan 22, 2010 at 10:06 AM, Jingwei Yang <span dir="ltr"><<a href="mailto:jingwei.yang@gmail.com" target="_blank">jingwei.yang@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;">Hi Joćo, thanks for the reply. I'll try it out.<br><br>Regards,<br>-Jingwei<br><br><div class="gmail_quote">
2010/1/22 Joćo Mesquita <span dir="ltr"><<a href="mailto:jmesquita@freeswitch.org" target="_blank">jmesquita@freeswitch.org</a>></span><div><div></div><div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Jingwei, check my contrib dir. I think it may help you with one FIFO since we are able there to sign in and sign off dynamic agents as well as customize what we do when the FIFO makes a call to them.<br>
<br>Regards,<br clear="all"><font color="#888888">
Joćo Mesquita<br>FSComm Developer</font><div><div></div><div><br><br><div class="gmail_quote">On Thu, Jan 21, 2010 at 10:05 PM, Jingwei Yang <span dir="ltr"><<a href="mailto:jingwei.yang@gmail.com" target="_blank">jingwei.yang@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;">Thanks for the reply. All the agents are dynamic and I can't predefine them in the config file.<br>
<br>Regards,<br><font color="#888888">-Jingwei</font><div><div></div><div><br><br><div class="gmail_quote">On Fri, Jan 22, 2010 at 12:50 AM, Franēois Delawarde <span dir="ltr"><<a href="mailto:fdelawarde@wirelessmundi.com" target="_blank">fdelawarde@wirelessmundi.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;">Why do you need 2 fifos? You could have callback agents connected to the<br>
fifo and send incoming calls there, mod_fifo will do the rest.<br>
<br>
To configure agents for callback:<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_fifo#Configure_for_Agent_Callback" target="_blank">http://wiki.freeswitch.org/wiki/Mod_fifo#Configure_for_Agent_Callback</a><br>
<br>
To place a call into a fifo:<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_fifo#Put_a_caller_into_a_FIFO_queue" target="_blank">http://wiki.freeswitch.org/wiki/Mod_fifo#Put_a_caller_into_a_FIFO_queue</a><br>
<font color="#888888"><br>
Franēois.<br>
</font><div><div></div><div><br>
On Thu, 2010-01-21 at 23:39 +0800, Jingwei Yang wrote:<br>
> Sorry about the confusion, I'm just trying to think over all the<br>
> abnormal situations before the implementation and hope the flow has no<br>
> design flaws.<br>
><br>
> Client A is parked in Queue 1, multiple consumers will be ringed to<br>
> answer him. And once the first one is connected, all the rest will<br>
> hang up. This is the targeted function.<br>
><br>
> To achieve this, I'm considering to originate a call to each consumer<br>
> and put the calls in Queue 2. Then intercept client A to the first<br>
> element of Queue 2.<br>
><br>
> I'm not sure if it's the usual or the best way. If you feel not,<br>
> please don't hesitate to correct me. Any thoughts are warmly<br>
> appreciated.<br>
><br>
> On Thu, Jan 21, 2010 at 7:41 PM, Seven Du <<a href="mailto:dujinfang@gmail.com" target="_blank">dujinfang@gmail.com</a>> wrote:<br>
> what no errors mean? how do you originate calls to consumers?<br>
> I don't<br>
> understand your scenario.<br>
><br>
> 2010/1/21, Jingwei Yang <<a href="mailto:jingwei.yang@gmail.com" target="_blank">jingwei.yang@gmail.com</a>>:<br>
><br>
> > Hi All,<br>
> ><br>
> > Please advise whether the following flow makes sense.<br>
> ><br>
> > 1. Client A calls in and parked in Queue 1<br>
> > 2. Originate calls to several consumers simultaneously and<br>
> park them in<br>
> > Queue 2<br>
> > 3. Intercept A's call to the first consumer of Queue 2<br>
> ><br>
> > Basically I want A's call picked up by the first among many<br>
> consumers with<br>
> > no errors. Please let me know whether I'm on the right<br>
> track.<br>
> ><br>
> > Thanks and best regards,<br>
> > -Jingwei<br>
> ><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div></div><br>
</blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div></div></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>