[Freeswitch-users] call fails when using leg_timeout
    TTNC - Adnan Barakat 
    technical at ttnc.co.uk
       
    Mon Jul 20 04:22:53 PDT 2009
    
    
  
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
    
    
More information about the FreeSWITCH-users
mailing list