[Freeswitch-users] Is this queue flow correct?

Seven Du dujinfang at gmail.com
Mon Jan 25 00:28:13 PST 2010


try to use <action application="info" ...  to see all the available params

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




More information about the FreeSWITCH-users mailing list