<div dir="ltr">leg_timeout - <a href="http://wiki.freeswitch.org/wiki/Variable_leg_timeout">http://wiki.freeswitch.org/wiki/Variable_leg_timeout</a> - this limits how long to TRY to connect the leg.<br>Once the call connects, this timer is no longer applied.<br>
<br>If you want to enforce a maximum answered time, then use:<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_sched_hangup">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_sched_hangup</a></div>
<div><meta http-equiv="content-type" content="text/html; charset=utf-8">or <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_sched_transfer">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_sched_transfer</a></div>
<div><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_sched_transfer"></a><br>-Avi Marcus<br><br><br>On Tue, Jul 5, 2011 at 5:59 PM, Mateusz Bartczak <<a href="mailto:netcentrica@gmail.com">netcentrica@gmail.com</a>> wrote:<br>
> Hi all<br>><br>> I use outbound socket to handle call, I'm bridging call to external voip<br>> provider. This works very nice but I also need to specify call timeout (once<br>> answered).<br>><br>
> I've tried following but with no success:<br>
><br>> sendmsg<br>> call-command: execute<br>> execute-app-name: bridge<br>> execute-app-arg:<br>> {ignore_early_media=true,leg_timeout=10}sofia/gateway/trunk/600<br>> event-lock: true<br>><br>> sendmsg<br>
> call-command: execute<br>> execute-app-name: bridge<br>> execute-app-arg:<br>> {ignore_early_media=true}[leg_timeout=10]sofia/gateway/trunk/600<br>> event-lock: true<br>><br>> sendmsg<br>> call-command: execute<br>
> execute-app-name: bridge<br>> execute-app-arg: [leg_timeout=10]sofia/gateway/trunk/600<br>> event-lock: true<br>><br>><br>> Leg_timeout seems to be ignored and call continues after 10 seconds. What's<br>
> the correct form of setting it for calls bridged via outbound socket<br>> handler?<br>><br>> Is the leg_timeout a good choice to limit maximum answered call length?<br>><br>><br>><br>> _______________________________________________<br>
> Join us at ClueCon 2011, Aug 9-11, Chicago<br>> <a href="http://www.cluecon.com">http://www.cluecon.com</a> 877-7-4ACLUE<br>><br>> FreeSWITCH-users mailing list<br>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>><br>><br><br></div></div>