<div dir="ltr">I know you can do anything in the dialstring. But intended feature is to allow the user to do an attended transfer to any number that they could reach via the default calling. The default outbound path already has a LOT of stuff set up and it would be impossible to duplicate that within a SINGLE dialstring in a function call.<div>
What is needed is for an att_xfer to be able to have leg C hit the dialplan and bridged however a "normal" leg B to that number would be called.</div><div>Does this make sense?</div><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><br><div class="gmail_quote">On Mon, Jun 4, 2012 at 12:02 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">
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><span class="HOEnZb"><font color="#888888"><br>-MC</font></span><div class="HOEnZb">
<div class="h5"><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>
</div></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>
Join Us At ClueCon - Aug 7-9, 2012<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></div></div>