<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 1, 2013 at 9:29 AM, Richard Brady <span dir="ltr">&lt;<a href="mailto:rnbrady@gmail.com" target="_blank">rnbrady@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Guys</div><div><br></div><div>Please help with this mind bender from the wiki at <a href="http://wiki.freeswitch.org/wiki/Loopback_endpoint" target="_blank">http://wiki.freeswitch.org/wiki/Loopback_endpoint</a>:</div>
<div>
<br></div><div><h3 style="border-bottom-style:none;line-height:19.1903px;padding-top:0.5em;font-size:17.2727px;overflow:hidden;font-family:sans-serif;margin:0px 0px 0.3em;padding-bottom:0.17em;background-image:none">
<span>Example 4: loopback with A-leg inline dialplan</span></h3><pre style="line-height:1.3em;font-size:12.7273px;background-color:rgb(249,249,249);font-family:monospace,Courier;border:1px dashed rgb(47,111,171);padding:1em">
originate loopback/set:job=1234\,answer\,park/default/inline lua:loop.lua inline
</pre><p style="line-height:19.1903px;font-size:12.7273px;font-family:sans-serif;margin:0.4em 0px 0.5em">Executes <i>set</i> app, then <i>answer</i> app, then <i>park</i> app on the A leg then bridges to the <i>lua</i> app on the B leg</p>

</div><div><br></div><div>Is the para at the end correct? Isn&#39;t it the A-leg that executes the lua and the B-leg that executes set,answer,park?</div></div></blockquote><div><br></div><div>I&#39;m pretty sure that the description is correct. It&#39;s equivalent to this:<br>
<br><pre style="line-height:1.3em;font-size:12.7273px;background-color:rgb(249,249,249);font-family:monospace,Courier;border:1px dashed rgb(47,111,171);padding:1em">originate loopback/set:job=1234\,answer\,park/default/inline &amp;lua(loop.lua)</pre>
 <br></div><div>The Lua stuff is on the B leg and the set, answer, park stuff is on the loopback/A leg.<br></div><div>-MC<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><span class=""><font color="#888888"><div><br></div><div>Richard</div><div><br></div>
</font></span></div>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</div></div>