Thank you, that worked!<br><br>But I have another problem now. If I don&#39;t want to forward to voice mail at the end, but just hangup, it does not work - call repeats 3 times and no hangup gets send to the call originator, even with &quot;hangup&quot; action at the end.<br>
<br>Like this: <br><br><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&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=true&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;hangup&quot;/&gt;<br>
&lt;/condition&gt;&lt;/extension&gt;</span></font><br><br>Is this fixable?<br><br><br><div class="gmail_quote">On Mon, Aug 9, 2010 at 11:46 AM, Robert Hadley <span dir="ltr">&lt;<a href="mailto:robert.hadley@teotech.com">robert.hadley@teotech.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

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

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

<div>

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

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

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

<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> paul gore
[mailto:<a href="mailto:paul.gore.j@gmail.com" target="_blank">paul.gore.j@gmail.com</a>] <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></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">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?</span></font></p>

</div></div></div>

</div>


<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>