There are 3 things you can use:<div><br></div><div>1. &#39;transfer&#39; application</div><div>2. &#39;execute_extension&#39;</div><div>3. loopback endpoint (higher overhead because it creates additional channels, which means more legs for cdrs... use unroll=true to decrease overhead once the call is setup)</div>

<div><br></div><div>I combine transfer and variables.</div><div><br></div><div>-Steve</div><div><br></div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On 13 December 2012 13:23, Royce Mitchell III <span dir="ltr">&lt;<a href="mailto:royce3@gmail.com" target="_blank">royce3@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m trying to avoid duplication of logic. I have a dial plan setup<br>
with two sets of gateways, one set is a route to a pair of adtrans<br>
connecting to the customer downstream telephony system, the other set<br>
of gateways is another pair of adtrans leading to the PSTN. I have all<br>
this setup and working in the dial plan. I would like to do something<br>
like this: originate <a href="tel:8005551212" value="+18005551212">8005551212</a> XML default &amp;txfax(foo), but I can&#39;t<br>
figure it out. Is there a way I could, say, generate a one-leg txfax,<br>
then transfer to the destination?<br>
<br>
Royce Mitchell<br>
IT Consultant<br>
ITAS Solutions<br>
<a href="mailto:royce3@itas-solutions.com">royce3@itas-solutions.com</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
</blockquote></div><br></div>