if you want to wait for the first one to answer instead of indicate progress you add
{ignore_early_media=true} to the beginning of the dial string
<action application="bridge" data="{ignore_early_media=true}sofa/profile/200@dom.com,sofia/profile/201@dom.com"/>

On Thu, Nov 20, 2008 at 3:13 AM, Iņaki Baz Castillo <ibc@aliax.net> wrote:
Hi, I read in:
 http://wiki.freeswitch.org/wiki/Dialplan_Recipes
the following:

-----------------------
= Forked dial example =
Forked dial is when you want to attempt to ring 2 destinations at the
same time. Freeswitch will attempt to call both bridge options
simultaneously. The first bridge leg that replies with a 183 (session
progress) message will win the call, and the other bridge leg is
dropped. This only will work with late_negotiation enabled.
-----------------------

While the above could be valid when sending calls to varios (just
two?) PSTN gateways, I wonder why I couldn't send a call to two local
users (200 and 201) and wait until one of them *answers*. My expected
behaviour is:

- I call to FS extension 500.
- FS does a bridge to 200 and 201.
- 200 replies 180 "Ringing"
- 201 replies 183 "Session Progress" with early media (not very common
in a SIP phone but possible anyway)
- After a while 200 replies a 200 OK so FS sends a CANCEL to 201 and
replies 200 OK to the caller.

Is this common behaviour not possible in FS? is there othe way to get
it instead of using "bridge" app with two destinations in "data"?

Thanks.




--
Iņaki Baz Castillo
<ibc@aliax.net>
_______________________________________________
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



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400