Au contraire mon frere!<br><br>You can do multiple things in a dialstring, like setting channel variables. You can also use execute_on_ring/media/answer to execute the extension with doing all the loopback overhead.<br><br>
I propose an experiment: provide a dialplan and loopback dialstring and we'll see if we can't give you a non-loopbackish alternative. <br><br>-MC<br><br><div class="gmail_quote">On Sun, Jun 3, 2012 at 1:54 PM, Avi Marcus <span dir="ltr"><<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">... all the normal dialplan handling. Setting CID, options, LCR stuff, billing controls.<br clear="all">
<div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>
<br><br><div class="gmail_quote">On Sun, Jun 3, 2012 at 11:40 PM, 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">
Let me rephrase...<br><br>Since loopback is generally evil and should be avoided wherever possible, what does loopback give you that you can't get from doing a normal dialstring?<span><font color="#888888"><br>
-MC</font></span><div><div><br><br><div class="gmail_quote">
On Sat, Jun 2, 2012 at 11:13 AM, Avi Marcus <span dir="ltr"><<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">... because att_xfer seems to require a "sofia/$profile/$destination" directive, and he just wants the call to hit the dialplan.<div><br clear="all"><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>
<br><br><div class="gmail_quote">On Fri, Jun 1, 2012 at 8:13 PM, 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">
Why do you need to use loopback at all?<span><font color="#888888"><br>-MC</font></span><div><div><br><br><div class="gmail_quote">On Fri, Jun 1, 2012 at 3:17 AM, Alex Lake <span dir="ltr"><<a href="mailto:alex@digitalmail.com" target="_blank">alex@digitalmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Got a lua script for a B-party "mid-call menu". Is it legitimate to do..<br>
"session:execute("att_xfer", "loopback/"..destnum)"<br>
<br>
I've tried it and it seems to start off doing the right things, but my<br>
A-party gets disconnected as soon as the call to the C-Party (the person<br>
I'm transferring the call to) answers the call.<br>
<br>
Maybe better to try to orchestrate the entire affair from within the lua<br>
script? (Tricky for a beginner like me!)<br>
<br>
Thanks,<br>
Alex<br></blockquote></div><br>
</div></div><br></blockquote></div></div></div></blockquote></div><br>
</div></div><br></blockquote></div></div></blockquote></div><br>