I updated then tried a few dozen times to reproduce this condition and could not. So I&#39;ll watch for a while and see how it goes. I updated last week but maybe you changed something in the interim? In any event thanks for the help and I will update this thread should I catch this event in failure.<div>

<br><div class="gmail_quote">On Thu, Mar 17, 2011 at 6:22 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

can you see if you have that same problem with the latest build from git<br>
you can update an existing checkout with &quot;make current&quot; assuming you<br>
have git tools etc<br>
<br>
if you still can get the problem capture the debug logs of it happening<br>
<br>
console loglevel debug<br>
<div><div></div><div class="h5"><br>
<br>
On Thu, Mar 17, 2011 at 6:53 PM, elijah &lt;<a href="mailto:elijah@crankenstein.com">elijah@crankenstein.com</a>&gt; wrote:<br>
&gt; I have put together a dialer (of sorts) that is failing a fraction of the<br>
&gt; time. First, I instantiate a call leg from FreeSwitch to an agent (an<br>
&gt; employee in my facility with a softclient registered to FreeSwitch). Upon<br>
&gt; answering this call I have FreeSwitch bridge this leg to an outbound leg<br>
&gt; destined to a customer (via our carrier). The agent listens as this external<br>
&gt; number is dialed then is prepared to speak with that person. So all is well<br>
&gt; except a fraction of these calls fail at the step where FreeSwitch calls the<br>
&gt; agent. There seems to be a &#39;hangup&#39; event received from the client at the<br>
&gt; moment this leg is answered. This happens maybe 1/3 of the time.<br>
&gt; here&#39;s my steps<br>
&gt; 1. call a Lua script via ESL<br>
&gt; 2. Lua script generates a call leg to agent:<br>
&gt;                 local session = freeswitch.Session(&quot;user/&quot; .. agentExt ..<br>
&gt; &quot;@<a href="http://stuff.com" target="_blank">stuff.com</a>&quot;)<br>
&gt;                 session:sleep(1000)<br>
&gt;                 if session:ready() then<br>
&gt;                         session:execute(&quot;pre_answer&quot;)<br>
&gt;                         session:execute(&quot;ring_ready&quot;)<br>
&gt;                         session:execute(&quot;sleep&quot;, &quot;1000&quot;)<br>
&gt;                         session:setVariable(&quot;outbound_callee_number&quot;,<br>
&gt; outboundCalleeNumber)<br>
&gt;                         session:setVariable(&quot;outbound_caller_number&quot;,<br>
&gt; outboundCallerNumber)<br>
&gt;                         session:setVariable(&quot;outbound_caller_name&quot;,<br>
&gt; outboundCallerName)<br>
&gt;                         session:transfer(&quot;sales_outbound&quot;, &quot;XML&quot;, &quot;telifi&quot;)<br>
&gt; ******** fails here ~30% of the time - phone rings on the agent&#39;s desk,<br>
&gt; she answers and the call immediately ends ********<br>
&gt; 3. this leg is transferred to an XML dialplan that handles bridging to a<br>
&gt; customer&#39;s phone number:<br>
&gt;     &lt;extension name=&quot;sales_outbound&quot;&gt;<br>
&gt;       &lt;condition field=&quot;destination_number&quot; expression=&quot;^sales_outbound$&quot;&gt;<br>
&gt;         &lt;action application=&quot;log&quot; data=&quot;INFO connected to agent, now dialing<br>
&gt; out...&quot;/&gt;<br>
&gt;         &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;<br>
&gt;         &lt;action application=&quot;playback&quot;<br>
&gt; data=&quot;ivr/8000/ivr-call_being_transferred.wav&quot;/&gt;--&gt;<br>
&gt;         &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;<br>
&gt;         &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;<br>
&gt;         &lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;<br>
&gt;         &lt;action application=&quot;set&quot; data=&quot;call_timeout=30&quot;/&gt;<br>
&gt;         &lt;action application=&quot;set&quot;<br>
&gt; data=&quot;effective_caller_id_number=${outbound_caller_number}&quot;/&gt;<br>
&gt;         &lt;action application=&quot;set&quot;<br>
&gt; data=&quot;effective_caller_id_name=${outbound_caller_name}&quot;/&gt;<br>
&gt;         &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;<br>
&gt;         &lt;action application=&quot;bridge&quot;<br>
&gt; data=&quot;sofia/gateway/mycarrier/${outbound_callee_number}&quot;/&gt;<br>
&gt;       &lt;/condition&gt;<br>
&gt;     &lt;/extension&gt;<br>
&gt; I appreciate any insight or suggestions you could provide.<br>
</div></div>&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">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>
<br>
--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
<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></div>