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@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@1.2.3.4|sofia/internal/456@1.2.3.4|sofia/internal/789@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@1.2.3.4|sofia/internal/456@1.2.3.4|sofia/internal/789@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@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@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