I see.. thanks!<br><br><div class="gmail_quote">On Mon, Jan 25, 2010 at 4:28 PM, 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;">
try to use <action application="info" ... to see all the available params<br>
<br>
2010/1/25 Jingwei Yang <<a href="mailto:jingwei.yang@gmail.com">jingwei.yang@gmail.com</a>>:<br>
<div><div></div><div class="h5">> 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<br>
> {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>
> 2010/1/25 Joćo Mesquita <<a href="mailto:jmesquita@freeswitch.org">jmesquita@freeswitch.org</a>><br>
>><br>
>> What user_name? I don't understand that statement.<br>
>> I think that you can always use<br>
>> <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><br>
>> Regards,<br>
>> Joćo Mesquita<br>
>> FSComm Developer<br>
>><br>
>><br>
>> On Sat, Jan 23, 2010 at 4:00 AM, Jingwei Yang <<a href="mailto:jingwei.yang@gmail.com">jingwei.yang@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> Hi Joćo, do you know how to sign the agent off automatically when either<br>
>>> 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>
>>> originate skypiax/ANY/jingwei.yang 6*1<br>
>>><br>
>>> However, I found the user_name property is empty. May I know how it is<br>
>>> set?<br>
>>><br>
>>> Thanks and best regards,<br>
>>> -Jingwei<br>
>>><br>
>>> On Fri, Jan 22, 2010 at 10:06 AM, Jingwei Yang <<a href="mailto:jingwei.yang@gmail.com">jingwei.yang@gmail.com</a>><br>
>>> wrote:<br>
>>>><br>
>>>> Hi Joćo, thanks for the reply. I'll try it out.<br>
>>>><br>
>>>> Regards,<br>
>>>> -Jingwei<br>
>>>><br>
>>>> 2010/1/22 Joćo Mesquita <<a href="mailto:jmesquita@freeswitch.org">jmesquita@freeswitch.org</a>><br>
>>>>><br>
>>>>> Jingwei, check my contrib dir. I think it may help you with one FIFO<br>
>>>>> since we are able there to sign in and sign off dynamic agents as well as<br>
>>>>> customize what we do when the FIFO makes a call to them.<br>
>>>>><br>
>>>>> Regards,<br>
>>>>> Joćo Mesquita<br>
>>>>> FSComm Developer<br>
>>>>><br>
>>>>> On Thu, Jan 21, 2010 at 10:05 PM, Jingwei Yang <<a href="mailto:jingwei.yang@gmail.com">jingwei.yang@gmail.com</a>><br>
>>>>> wrote:<br>
>>>>>><br>
>>>>>> Thanks for the reply. All the agents are dynamic and I can't predefine<br>
>>>>>> them in the config file.<br>
>>>>>><br>
>>>>>> Regards,<br>
>>>>>> -Jingwei<br>
>>>>>><br>
>>>>>> On Fri, Jan 22, 2010 at 12:50 AM, Franēois Delawarde<br>
>>>>>> <<a href="mailto:fdelawarde@wirelessmundi.com">fdelawarde@wirelessmundi.com</a>> wrote:<br>
>>>>>>><br>
>>>>>>> Why do you need 2 fifos? You could have callback agents connected to<br>
>>>>>>> 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>
>>>>>>><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>
>>>>>>><br>
>>>>>>> Franēois.<br>
>>>>>>><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<br>
>>>>>>> > 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<br>
>>>>>>> > 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">dujinfang@gmail.com</a>><br>
>>>>>>> > wrote:<br>
>>>>>>> > what no errors mean? how do you originate calls to<br>
>>>>>>> > consumers?<br>
>>>>>>> > I don't<br>
>>>>>>> > understand your scenario.<br>
>>>>>>> ><br>
>>>>>>> > 2010/1/21, Jingwei Yang <<a href="mailto:jingwei.yang@gmail.com">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<br>
>>>>>>> > 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<br>
>>>>>>> > 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">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>>>>> ><br>
>>>>>>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>>>>> ><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">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>
>>>>>>> ><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">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>
>>>>>>><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">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>
>>>>>><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>
>>>>> 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>
>>>>><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>
>>> 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>
>><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>
><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>
<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>