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@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@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org