<div>My apology. Forgot to mention that I need the hangup_after_bridge to be false. There is additional processing on the legs after hangup.</div><div><br></div><div><br></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><div>
<font face="'courier new', monospace"> <context name="default"></font></div><div><font face="'courier new', monospace"> <extension name="ext"></font></div><div><font face="'courier new', monospace"> <condition field="destination_number" expression="^(\d+)$"></font></div>
<div><font face="'courier new', monospace"> <b><font class="Apple-style-span" color="#ff0000">NO HANGUP IS ESSENTIAL</font></b></font></div><div><font face="'courier new', monospace"> <action application="set" data="hangup_after_bridge=false"/></font></div>
<div><font face="'courier new', monospace"> <action application="bridge" data="sofia/internal/$1%${domain_name}"/></font></div><div><font face="'courier new', monospace"> </font></div>
<div><font face="'courier new', monospace"> <b><font color="#ff0000">HOW TO RUN THIS ACTION, ONLY IF THE ABOVE BRIDGE FAILS (THE DST NUMBER IS NOT AN EXTENSION OF A REGED USER)?</font></b></font></div><div>
<font face="'courier new', monospace"> <action application="bridge" data="sofia/external/$1@${host}"/></font></div><div><font face="'courier new', monospace"> </condition></font></div>
<div><font face="'courier new', monospace"> </extension></font></div></span></div><div><br></div><br clear="all">Hynek<br><br>
<br><br><div class="gmail_quote">On Fri, Oct 21, 2011 at 6:40 PM, Madovsky <span dir="ltr"><<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>
<div bgcolor="#ffffff">
<div><font size="2">take a look at hangup_after_bridge and continue_on_fail
wiki</font></div>
<div><font size="2">and make condition with hangup_cause</font></div>
<blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px"><div><div></div><div class="h5">
<div style="font:10pt arial">----- Original Message ----- </div>
<div style="font:10pt arial;background:#e4e4e4"><b>From:</b>
<a title="hynek.cihlar@gmail.com" href="mailto:hynek.cihlar@gmail.com" target="_blank">Hynek
Cihlar</a> </div>
<div style="font:10pt arial"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a>
</div>
<div style="font:10pt arial"><b>Sent:</b> Friday, October 21, 2011 9:09
AM</div>
<div style="font:10pt arial"><b>Subject:</b> [Freeswitch-users] Transparent
external call</div>
<div><br></div>
<div>
<div><font face="'courier new', monospace">
<context name="default"></font></div>
<div><font face="'courier new', monospace">
<extension name="ext"></font></div>
<div><font face="'courier new', monospace">
<condition field="destination_number"
expression="^(\d+)$"></font></div>
<div><font face="'courier new', monospace">
<action application="bridge"
data="sofia/internal/$1%${domain_name}"/></font></div>
<div><font face="'courier new', monospace">
</font></div>
<div><font face="'courier new', monospace">
<b><font color="#ff0000">HOW TO RUN THIS ACTION, ONLY IF THE ABOVE BRIDGE FAILS (THE DST
NUMBER IS NOT AN EXTENSION OF A REGED USER)?</font></b></font></div>
<div><font face="'courier new', monospace">
<action application="bridge"
data="sofia/external/$1@${host}"/></font></div>
<div><font face="'courier new', monospace">
</condition></font></div>
<div><font face="'courier new', monospace">
</extension></font></div></div>
<div><font face="'courier new', monospace"><br></font></div>
<div><br></div><br clear="all">Hynek<br><br>
</div></div><p>
</p><hr>
<p></p><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>
<p></p></blockquote></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>