[Freeswitch-users] Why does a SIP forked dial select just the first 183?
Anthony Minessale
anthony.minessale at gmail.com
Thu Nov 20 06:16:48 PST 2008
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 at dom.com,sofia/profile/201 at dom.com"/>
On Thu, Nov 20, 2008 at 3:13 AM, Iñaki Baz Castillo <ibc at 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 at aliax.net>
> _______________________________________________
> 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
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081120/a35ab52b/attachment.html
More information about the Freeswitch-users
mailing list