I should clarify myself, I talk about "no answer" scenario here, so <font face="Times New Roman" size="3"><span style="font-size: 12pt;"><action application="set"
data="hangup_after_bridge=true"/> wouldn't have any effect, correct?<br>So in this case </span></font><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><action application="hangup"/> I assume should properly hangup the call, but it does not.</span></font><br>
<font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br></span></font><br><div class="gmail_quote">On Mon, Aug 9, 2010 at 10:53 PM, paul gore <span dir="ltr"><<a href="mailto:paul.gore.j@gmail.com">paul.gore.j@gmail.com</a>></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;">Thank you, that worked!<br><br>But I have another problem now. If I don'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 "hangup" action at the end.<br>
<br>Like this: <br><br><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><div class="im"><extension name="call_route_1688506814_16099860919"
continue="false"><condition field="caller_id_number"
expression="^(\d{7,20})$"/><br>
<condition field="destination_number"
expression="^(call_route_16099860919)$"><br>
<action application="set"
data="hangup_after_bridge=true"/><br></div>
<action application="set"
data="continue_on_fail=true"/><div class="im"><br>
<action application="set"
data="ignore_early_media=true"/><br>
<action application="sched_hangup" data="+7200
alloted_timeout"/><br>
<action application="set"
data="transfer_ringback=${us-ring}"/><br>
<action application="set" data="ringback=${us-ring}"/><br>
<action application="bridge"
data="[leg_timeout=20]sofia/internal/1002%${domain_name},[leg_timeout=25]sofia/internal/1003%${domain_name}"/><br></div><action application="hangup"/><br>
</condition></extension></span></font><br><br>Is this fixable?<br><br><br><div class="gmail_quote"><div><div></div><div class="h5">On Mon, Aug 9, 2010 at 11:46 AM, Robert Hadley <span dir="ltr"><<a href="mailto:robert.hadley@teotech.com" target="_blank">robert.hadley@teotech.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
<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;"><action application="set" data="continue_on_fail=true"/><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>
<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>
<extension name="call_route_1688506814_16099860919"
continue="false"><condition field="caller_id_number"
expression="^(\d{7,20})$"/><br>
<condition field="destination_number"
expression="^(call_route_16099860919)$"><br>
<action application="set"
data="hangup_after_bridge=true"/><br>
<action application="set"
data="continue_on_fail=false"/><br>
<action application="set"
data="ignore_early_media=true"/><br>
<action application="sched_hangup" data="+7200
alloted_timeout"/><br>
<action application="set"
data="transfer_ringback=${us-ring}"/><br>
<action application="set" data="ringback=${us-ring}"/><br>
<action application="bridge"
data="[leg_timeout=20]sofia/internal/1002%${domain_name},[leg_timeout=25]sofia/internal/1003%${domain_name}"/><br>
<action application="sleep" data="500"/><action
application="set" data="voicemail_greeting_number=1"/><action
application="voicemail" data="default $${domain}
1002"/></condition></extension><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></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</blockquote></div><br>