<div dir="ltr">Olá Luiz!<div><br></div><div>Take a look at <a href="https://freeswitch.org/confluence/display/FREESWITCH/Attended+Transfer">https://freeswitch.org/confluence/display/FREESWITCH/Attended+Transfer</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 24, 2015 at 4:36 AM, Luiz Fernando Softov <span dir="ltr">&lt;<a href="mailto:fernando@softov.com.br" target="_blank">fernando@softov.com.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8000001907349px">Hi... First of all i make a software with freeswitch and FreeBSD, named Voipr...<br><br><a href="http://voipr.brbyte.com/" target="_blank">voipr.brbyte.com</a></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">It&#39;s a softswitch with Billing, Redirect, IVR, Routes, GSM, Gateway and other things.<br></div><div style="font-size:12.8000001907349px"><br>I am not using dialplan, just a outbound socket, with my own ESL Server written in C. </div><div style="font-size:12.8000001907349px">I parse the events, and send comands back to make things. Like bridge, play some music, hangup the call....</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div>&lt;extension name=&quot;VoiprExt&quot;&gt;</div><div>    &lt;condition&gt;</div><div>        &lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:3012/" target="_blank">127.0.0.1:3012</a> async full&quot;/&gt;</div><div>        &lt;action application=&quot;hangup&quot;/&gt;</div><div>    &lt;/condition&gt;</div><div>&lt;/extension&gt;</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">My question, is how to make a transfer of a call...</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Like A (1001) call to B (1002).<br></div><div style="font-size:12.8000001907349px"><br>Then i make a BRIDGE between extensions</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">&quot;execute&quot;, &quot;set&quot;, &quot;dialed_extension=1002&quot;<br></div><div style="font-size:12.8000001907349px"><div>&quot;execute&quot;, &quot;export&quot;, &quot;dialed_extension=1002&quot;</div><div>&quot;execute&quot;, &quot;set&quot;, &quot;call_timeout=30&quot;</div><div>&quot;execute&quot;, &quot;set&quot;, &quot;continue_on_fail=true&quot;</div><div>&quot;execute&quot;, &quot;set&quot;, &quot;park_after_bridge=true&quot;</div><div>&quot;execute&quot;, &quot;bridge&quot;, &quot;user/${dialed_extension}&quot;<br></div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Let&#39;s say B (1002) is a secretary who want to transfer the call to C (1003)<br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">B (1002), press the key [*], and i play a music, like &quot;enter the desired number and #&quot;.<br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">B (1002), press the keys 1003#<br><br>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">At this point, I have all information, and want to know how 3 things</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Consider that: the call already bridged between A (1001) and B (1002)<br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">- - - - - <br></div><div style="font-size:12.8000001907349px">1 - Making a call between B and C. </div><div style="font-size:12.8000001907349px">Then, when C answer B hangup. And the call return between A and C.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">- - - - - <br>2 - Making a call between B and C.</div><div style="font-size:12.8000001907349px">Then, when C answer, B talks with C. B press * and B hangup.</div><div style="font-size:12.8000001907349px">And the call return between A and C</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br>- - - - - <br>3 - Making a call between A and C.</div><div style="font-size:12.8000001907349px">Then, when C answer, A hangup. </div><div style="font-size:12.8000001907349px">And the call return to B and C<br><br><br>Thank you in advance, who can help me.<br><br>Sorry for my english.</div><div style="font-size:12.8000001907349px">If anyone need help with socket events, gsmopen or xml_curl send me a e-mail. I will be happy to help.<br><br>Att,</div><div style="font-size:12.8000001907349px">Luiz Fernando Softov<br><a href="http://www.softov.com.br/" target="_blank">http://www.softov.com.br</a><br><a href="mailto:fernando@softov.com.br" target="_blank">fernando@softov.com.br</a></div></div></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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.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><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Ítalo Rossi<br></div></div>
</div>