I updated then tried a few dozen times to reproduce this condition and could not. So I'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"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></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 "make current" 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 <<a href="mailto:elijah@crankenstein.com">elijah@crankenstein.com</a>> wrote:<br>
> I have put together a dialer (of sorts) that is failing a fraction of the<br>
> time. First, I instantiate a call leg from FreeSwitch to an agent (an<br>
> employee in my facility with a softclient registered to FreeSwitch). Upon<br>
> answering this call I have FreeSwitch bridge this leg to an outbound leg<br>
> destined to a customer (via our carrier). The agent listens as this external<br>
> number is dialed then is prepared to speak with that person. So all is well<br>
> except a fraction of these calls fail at the step where FreeSwitch calls the<br>
> agent. There seems to be a 'hangup' event received from the client at the<br>
> moment this leg is answered. This happens maybe 1/3 of the time.<br>
> here's my steps<br>
> 1. call a Lua script via ESL<br>
> 2. Lua script generates a call leg to agent:<br>
> local session = freeswitch.Session("user/" .. agentExt ..<br>
> "@<a href="http://stuff.com" target="_blank">stuff.com</a>")<br>
> session:sleep(1000)<br>
> if session:ready() then<br>
> session:execute("pre_answer")<br>
> session:execute("ring_ready")<br>
> session:execute("sleep", "1000")<br>
> session:setVariable("outbound_callee_number",<br>
> outboundCalleeNumber)<br>
> session:setVariable("outbound_caller_number",<br>
> outboundCallerNumber)<br>
> session:setVariable("outbound_caller_name",<br>
> outboundCallerName)<br>
> session:transfer("sales_outbound", "XML", "telifi")<br>
> ******** fails here ~30% of the time - phone rings on the agent's desk,<br>
> she answers and the call immediately ends ********<br>
> 3. this leg is transferred to an XML dialplan that handles bridging to a<br>
> customer's phone number:<br>
> <extension name="sales_outbound"><br>
> <condition field="destination_number" expression="^sales_outbound$"><br>
> <action application="log" data="INFO connected to agent, now dialing<br>
> out..."/><br>
> <action application="sleep" data="1000"/><br>
> <action application="playback"<br>
> data="ivr/8000/ivr-call_being_transferred.wav"/>--><br>
> <action application="set" data="continue_on_fail=true"/><br>
> <action application="set" data="hangup_after_bridge=true"/><br>
> <action application="set" data="ringback=${us-ring}"/><br>
> <action application="set" data="call_timeout=30"/><br>
> <action application="set"<br>
> data="effective_caller_id_number=${outbound_caller_number}"/><br>
> <action application="set"<br>
> data="effective_caller_id_name=${outbound_caller_name}"/><br>
> <action application="sleep" data="1000"/><br>
> <action application="bridge"<br>
> data="sofia/gateway/mycarrier/${outbound_callee_number}"/><br>
> </condition><br>
> </extension><br>
> I appreciate any insight or suggestions you could provide.<br>
</div></div>> _______________________________________________<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>
><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>