<div dir="rtl"><div dir="ltr">Since I am aware that I am the only one who experience this problem, I am trying to ivestigate it, although I do not know the source code well...</div>
<div dir="ltr"> </div>
<div dir="ltr">I removed all the datbase calls from our scripts and the problem still persists. It happens usually when two calls arrive to the same extension (usually to an SLA one) and one of them disconnects during the ringing phase.</div>

<div dir="ltr"> </div>
<div dir="ltr">I&#39;ve inserted some &quot;printfs&quot; in switch_core_sqldb.c and found that when this happens the variable dbh-&gt;io_mutex has a null value, thus no mutex is locked (as far as I understand it).</div>

<div dir="ltr"> </div>
<div dir="ltr">I hope this might give some clues.</div>
<div dir="ltr"> </div>
<div dir="ltr">                      Thanks! __Yehavi:<br><br></div>
<div dir="ltr" class="gmail_quote">
<div>2010/3/1 Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<p>You probably had it right in the last email.<br>Polling the core&#39;s db from lua is not recommended.<br>We use sla extensively and never once see your issue.<br></p>
<p>
<blockquote type="cite">
<div class="im">On Feb 28, 2010 8:55 AM, &quot;Yehavi Bourvine&quot; &lt;<a href="mailto:yehavi.bourvine@gmail.com" target="_blank">yehavi.bourvine@gmail.com</a>&gt; wrote:<br><br></div>
<div>
<div class="im">
<div>After a few more tests I *think* it is related to SLA. Since it cannot be reproduced consistenty I say &quot;think&quot;.</div>
<div> </div>
<div>What I have is:</div>
<div>- 80635 which is an SLA extension between two Polycoms.</div>
<div>- 80636 which is a private extension on Polycom</div>
<div>- 80632 which is a Cisco extension.</div>
<div>- 86111 which is connected behind a Cisco SIP&lt;-&gt;PSTN gateway. Since this gateway doesn&#39;t hav any login information it is not defined as a gateway but accepted via ACL.</div>
<div> </div>
<div>The tests that passed ok:</div>
<div>- From/to 80636/80632 to 80635 (i.e. - all internal).</div>
<div>- From/to 80635 to 80636/80632 (i.e. - all internal)</div>
<div>- From/to 80636/80632 to 86111 and vice versa (i.e. via the gateway, single extensions).</div>
<div> </div>
<div>The one that fails after a few attempts:</div>
<div>- From 86111 to 80635 (i.e. from the gateway to a shared extension).</div>
<div> </div>
<div>I hope that this gives some more clues.</div>
<div> </div>
<div>                          Thanks, __Yehavi:<br><br></div></div>
<div class="gmail_quote">
<div class="im">2010/2/28 Yehavi Bourvine <span dir="ltr">&lt;<a href="mailto:yehavi.bourvine@gmail.com" target="_blank">yehavi.bourvine@gmail.com</a>&gt;</span></div>
<p><font color="#500050"><br>&gt;<br>&gt; Hello,<br>&gt;  <br>&gt;   I&#39;ve installed a machine with CentOS-5.4 and the latest FreeSwitch (16841M). The...</font></p></div></div>
<div class="im"><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></div></blockquote>
<p></p></p></div><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>
<div dir="ltr"><br></div></div>