Hi Michael,<div><br></div><div>Using transfer seems to do the trick:</div><div><br></div><div><div>session:setAutoHangup(false);</div><div>session:transfer("7777", "XML", "default");</div><div>
<br></div><div>Any downsides to this?</div><div>Neil</div><br><div class="gmail_quote">On Thu, Feb 17, 2011 at 1:48 PM, Neil Patel <span dir="ltr"><<a href="mailto:neilp@cs.stanford.edu">neilp@cs.stanford.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Can I use this from within a live outbound (FS -> 123456789) call initiated through a lua app? Once this command is executed, what happens to that original call?<div>
<div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Feb 17, 2011 at 1:26 AM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you use originate?<div><br></div><div>originate sofia/gateway/gwname/123456789 7777</div><div><br></div><div>that will create the outbound call to the destination number (1233456789) and then bridge it to 7777. </div>
<div>
<br></div><div>-MC<br><br><div class="gmail_quote"><div><div></div><div>On Wed, Feb 16, 2011 at 10:33 AM, Neil Patel <span dir="ltr"><<a href="mailto:neilp@cs.stanford.edu" target="_blank">neilp@cs.stanford.edu</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>
Hi Folks, newbie question:<div><br></div><div>I have a simple dialplan that takes calls to an extension and executes a lua app:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div><i><extension name="incoming"></i></div></div><div><div><i> <condition field="destination_number" expression="^7777$"></i></div></div><div><div><i> <action application="lua" data="lua/app.lua" /></i></div>
</div><div><div><i> </condition></i></div></div><div><div><i> </extension></i></div></div><div><i><br></i></div></blockquote>From the same extension I am initiating calls from FS to endpoints and executing another lua app. What I want to do is connect (bridge?) those outbound calls to app.lua. From FS perspective this call should now look like it was initiated by the caller to 7777.<div>
<br></div><div>Is this what call bridging is? What commands/wiki page should I be looking at to do this?</div><div><br></div><div>Thanks in advance,</div><div>Neil<br><div><div><br></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></div>
<br>_______________________________________________<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>
</div></div></blockquote></div><br></div>