[Freeswitch-users] call fails when using leg_timeout

Anthony Minessale anthony.minessale at gmail.com
Mon Jul 20 07:58:57 PDT 2009


in a bridge situation you also have to set originate_timeout to the total
time you are willing to wait for the combined leg timeouts

i.e. 60 for 20x20x20


On Mon, Jul 20, 2009 at 6:22 AM, TTNC - Adnan Barakat
<technical at ttnc.co.uk>wrote:

> Hi,
>
> I seem to have come across a strange problem; Basically I'm trying to
> dial 3 destinations one after another, until the destination dialled is
> answered, and I only want the destination to ring for 20 seconds.
>
> If I do this from the console what I'm trying to achieve works fine;
>
> originate
> {leg_timeout=20,ignore_early_media=true}sofia/internal/123 at 1.2.3.4
> |sofia/internal/456 at 1.2.3.4|sofia/internal/789 at 1.2.3.4
> &park()
>
> But if I do it from dialplan it doesn't; Doing this below dials the
> first destination for 20 seconds, then the second destination for 5
> seconds or so, then the call terminates with ORIGINATOR_CANCEL
>
> <action application="bridge"
> data="{leg_timeout=20,ignore_early_media=true}sofia/internal/123 at 1.2.3.4
> |sofia/internal/456 at 1.2.3.4|sofia/internal/789 at 1.2.3.4"
> />
>
> Any ideas what might be causing this and any solutions would be
> appreciated.
>
>
> Many thanks
>
> Adnan
>
> _______________________________________________
> 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/
Twitter: http://twitter.com/FreeSWITCH_wire

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/20090720/632fdf0c/attachment-0001.html 


More information about the FreeSWITCH-users mailing list