I figured that this is due to a bug in my code (bad event handling) by creating a lua script that performs exactly the same steps as the java app.<div><br></div><div>Thanks for your help,</div><div>George</div><div><br><div class="gmail_quote">
2010/12/28 George Niculae <span dir="ltr">&lt;<a href="mailto:george.niculae79@gmail.com">george.niculae79@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Michael, <div><br></div><div>is the provided trace OK or should I collect new logs? </div><div><div><br></div><div>Thanks,</div><div>George<br><br><div class="gmail_quote">2010/12/23 George Niculae <span dir="ltr">&lt;<a href="mailto:george.niculae79@gmail.com" target="_blank">george.niculae79@gmail.com</a>&gt;</span><div>
<div></div><div class="h5"><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here it is: <a href="http://pastebin.freeswitch.org/14873" target="_blank">http://pastebin.freeswitch.org/14873</a><div>


<br></div><div><a href="http://pastebin.freeswitch.org/14873" target="_blank"></a>Thanks,</div>
<div>George<br><br><div class="gmail_quote">2010/12/23 Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span><div><div></div><div><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Try turning on the siptrace as well so we can see the sip traffic:<div><br></div><div>sofia profile internal siptrace on</div><div><br></div><div>Then do another test &amp; pastebin the debug output.</div><div>-MC<div><div>



</div><div><br><br><div class="gmail_quote">
On Thu, Dec 23, 2010 at 4:36 AM, George Niculae <span dir="ltr">&lt;<a href="mailto:george@ezuce.com" target="_blank">george@ezuce.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




Michael,<br>
<br>
the commands are written on socket using PrintWriter.printf() and in<br>
this case is something like:<br>
api uuid_deflect f5539b24-0e8e-11e0-9a0e-c37fe40448c1 <a href="mailto:sip%3A101@dizzy.dizzysip.ro" target="_blank">sip:101@dizzy.dizzysip.ro</a><br>
Please see here all commands sent (prefixed with FSES::cmd):<br>
<a href="http://pastebin.freeswitch.org/14868" target="_blank">http://pastebin.freeswitch.org/14868</a> , uuid deflect at line 27<br>
New console output (for correlating uuid&#39;s if needed):<br>
<a href="http://pastebin.freeswitch.org/14867" target="_blank">http://pastebin.freeswitch.org/14867</a><br>
<br>
Thanks,<br>
<font color="#888888">George<br>
</font><div><div></div><div><br>
On Thu, Dec 23, 2010 at 2:07 AM, Michael Collins &lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt; wrote:<br>
&gt; Please pastebin the code that performs the uuid_deflect so that we can see<br>
&gt; what you are doing to produce this symptom.<br>
&gt; -MC<br>
&gt;<br>
&gt; On Wed, Dec 22, 2010 at 8:35 AM, George Niculae &lt;<a href="mailto:george@ezuce.com" target="_blank">george@ezuce.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi All,<br>
&gt;&gt;<br>
&gt;&gt; I am working on an IVR application based on FS (running FreeSWITCH<br>
&gt;&gt; Version 1.0.head (git-43393f2 2010-12-15 20-59-42 -0600) where the<br>
&gt;&gt; following scenario fails:<br>
&gt;&gt; user 201 calls to 100 (autoattendant), hears menu then press # to<br>
&gt;&gt; transfer to voicemail (101), but the call is dropped (transfer is made<br>
&gt;&gt; using uuid_deflect api command)<br>
&gt;&gt; Dialplan extension configured like:<br>
&gt;&gt;<br>
&gt;&gt;  &lt;extension name=&quot;IVR&quot;&gt;<br>
&gt;&gt;    &lt;condition field=&quot;destination_number&quot; expression=&quot;^IVR${dollar}&quot;&gt;<br>
&gt;&gt;      &lt;action application=&quot;socket&quot; data=&quot;<a href="http://192.168.0.114:8084" target="_blank">192.168.0.114:8084</a> async full&quot;/&gt;<br>
&gt;&gt;    &lt;/condition&gt;<br>
&gt;&gt;  &lt;/extension&gt;<br>
&gt;&gt;<br>
&gt;&gt; Actions taken are:<br>
&gt;&gt; - when call arrives to extension 100 call is bridged<br>
&gt;&gt; (hangup_after_bridge=true)<br>
&gt;&gt; - answer the call, autoattendant menu is played and DTMF collected<br>
&gt;&gt; - when # pressed, call is transfered to 101 using uuid_deflect<br>
&gt;&gt; - call arrives to voicemail extension and is again bridged<br>
&gt;&gt; - call is answered - at this point in time the initial bridge hangs up<br>
&gt;&gt; and the whole call is dropped<br>
&gt;&gt; Please see console output <a href="http://pastebin.freeswitch.org/14855" target="_blank">http://pastebin.freeswitch.org/14855</a><br>
&gt;&gt;<br>
&gt;&gt; When debugging the application, If I keep the first channel connected<br>
&gt;&gt; transfer works just fine without dropping the call.<br>
&gt;&gt; Pretty sure I&#39;m missing something here, any suggestion highly appreciated<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; George<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<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>
</div></div></blockquote></div><br></div></div></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></div></div><br></div>
</blockquote></div></div></div><br></div>
</div>
</blockquote></div><br></div>