[Freeswitch-users] 3-user conference from 2-user call
Yehavi Bourvine
yehavi.bourvine at gmail.com
Thu Apr 5 18:23:49 MSD 2012
If all you need is a 3-party call then why won't you do it via the phone's
confference option? As far as I know all IP phones support 3 way call, some
of them even support 4 and 5 way call.
__Yehavi:
2012/4/5 lorentz.nails <lorentz.nails at gmail.com>
> I would like to create a 3-user conference from a 2-user call (bridge)
> without calling the third user twice.
>
> The scenario is the following:
> 1. user 1000 calls user 1001 (that responds);
> 2. user 1001 may decide to create a 3-user conference by transferring the
> execution to an extension that use conference_set_auto_outcall to invite
> user 1002 and create the conference.
>
> <action application="bind_meta_app" data="3 b s execute_extension::cf XML
> features"/>
>
> <extension name="cf">
> <condition field="destination_number" expression="^cf$">
> <action application="answer"/>
> <action application="transfer" data="-both 3000 XML default"/>
> </condition>
> </extension>
>
> <extension name="nb_conferences">
> <condition field="destination_number" expression="^(3000)$">
> <action application="answer"/>
> <action application="set"
> data="conference_auto_outcall_timeout=20"/>
> <action application="set"
> data="conference_auto_outcall_flags=none"/>
> <action application="set"
> data="conference_auto_outcall_caller_id_name=${effective_caller_id_name}"/>
> <action application="set"
> data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/>
> <action application="set"
> data="conference_auto_outcall_profile=default"/>
> <action application="conference_set_auto_outcall" data="user/1002@
> ${domain}"/>
> <action application="conference" data="$1 at default"/>
> </condition>
> </extension>
>
> At this point user 1002 receive two simultaneous calls: one from user 1000
> and one from user 1001 (I'm using softphones).
>
> The behavior I would like to achieve is that user 1002 only gets one call
> from user 1001 or from the conference.
>
>
> Lorentz
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120405/afc828b3/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list