<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.Numbered, li.Numbered, div.Numbered
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.25in;
        margin-bottom:.0001pt;
        text-indent:-.25in;
        mso-list:l0 level1 lfo2;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:412971070;
        mso-list-type:hybrid;
        mso-list-template-ids:1618259210 -1710466462 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-style-link:Numbered;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;
        font-family:Symbol;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Try <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;<br>
<br>
</span></font><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p></o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=3 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> paul gore
[mailto:paul.gore.j@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Sunday, August 08, 2010 7:39
PM<br>
<b><span style='font-weight:bold'>To:</span></b> FreeSWITCH Users Help<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Freeswitch-users]
Leg_timeout question</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi there,<br>
I am trying to accomplish a pretty simple thing in FS dialplan - ring one or
multiple destinations with individual timeout per destination, if nobody
answers - forward to a voicemail.<br>
Here is dial plan I use:<br>
<br>
&lt;extension name=&quot;call_route_1688506814_16099860919&quot;
continue=&quot;false&quot;&gt;&lt;condition field=&quot;caller_id_number&quot;
expression=&quot;^(\d{7,20})$&quot;/&gt;<br>
&lt;condition field=&quot;destination_number&quot;
expression=&quot;^(call_route_16099860919)$&quot;&gt;<br>
&lt;action application=&quot;set&quot;
data=&quot;hangup_after_bridge=true&quot;/&gt;<br>
&lt;action application=&quot;set&quot;
data=&quot;continue_on_fail=false&quot;/&gt;<br>
&lt;action application=&quot;set&quot;
data=&quot;ignore_early_media=true&quot;/&gt;<br>
&lt;action application=&quot;sched_hangup&quot; data=&quot;+7200
alloted_timeout&quot;/&gt;<br>
&lt;action application=&quot;set&quot;
data=&quot;transfer_ringback=${us-ring}&quot;/&gt;<br>
&lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;<br>
&lt;action application=&quot;bridge&quot;
data=&quot;[leg_timeout=20]sofia/internal/1002%${domain_name},[leg_timeout=25]sofia/internal/1003%${domain_name}&quot;/&gt;<br>
&lt;action application=&quot;sleep&quot; data=&quot;500&quot;/&gt;&lt;action
application=&quot;set&quot; data=&quot;voicemail_greeting_number=1&quot;/&gt;&lt;action
application=&quot;voicemail&quot; data=&quot;default $${domain}
1002&quot;/&gt;&lt;/condition&gt;&lt;/extension&gt;<br>
<br>
What happens is incoming call from my provider rings ext 1002, but instead of
going to the VM after 20 sec and no answer FS sends 602 (alloted_timeout) and
the ring repeats again and so 3 times, after which call dies. But never goes to
voice mail.<br>
What I am doing wrong?<o:p></o:p></span></font></p>

</div>

</body>

</html>