I did a fresh checkout/install of the latest GIT. Now switch_core_sqldb.c is logging errors when I run the script. When you filter out those errors, ready() still returns false and causecode=0.<div><div><div><div><div><br>
</div><div><div><font class="Apple-style-span" face="'courier new', monospace">2010-06-28 12:14:13.653989 [INFO] sofia.c:662 sofia/internal/1000 Update Callee ID to "1000" <1000></font></div><div><font class="Apple-style-span" face="'courier new', monospace">2010-06-28 12:14:13.721843 [ERR] switch_core_sqldb.c:730 SQL ERR: [select sip_subscriptions.proto,sip_subscriptions.sip_user,sip_subscriptions.sip_host,sip_subscriptions.sub_to_user,sip_subscriptions.sub_to_host,sip_subscriptions.event,sip_subscriptions.contact,sip_subscriptions.call_id,sip_subscriptions.full_from,sip_subscriptions.full_via,sip_subscriptions.expires,sip_subscriptions.user_agent,sip_subscriptions.accept,sip_subscriptions.profile_name,'CS_ROUTING','unknown','192.168.1.10',sip_presence.status,sip_presence.rpid from sip_subscriptions left join sip_presence on (sip_subscriptions.sub_to_user=sip_presence.sip_user and sip_subscriptions.sub_to_host=sip_presence.sip_host and sip_subscriptions.profile_name=sip_presence.profile_name) where sip_subscriptions.expires > -1 and (event='presence' or event='dialog') and sub_to_user='1000' and (sub_to_host='192.168.1.10' or presence_hosts like '%192.168.1.10%') and (sip_subscriptions.profile_name = 'internal' or sip_subscriptions.presence_hosts != sip_subscriptions.sub_to_host)] library routine called out of sequence</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">2010-06-28 12:14:13.721843 [ERR] switch_core_sqldb.c:730 SQL ERR: [select sip_subscriptions.proto,sip_subscriptions.sip_user,sip_subscriptions.sip_host,sip_subscriptions.sub_to_user,sip_subscriptions.sub_to_host,sip_subscriptions.event,sip_subscriptions.contact,sip_subscriptions.call_id,sip_subscriptions.full_from,sip_subscriptions.full_via,sip_subscriptions.expires,sip_subscriptions.user_agent,sip_subscriptions.accept,sip_subscriptions.profile_name,'CS_CONSUME_MEDIA','unknown','192.168.1.10',sip_presence.status,sip_presence.rpid from sip_subscriptions left join sip_presence on (sip_subscriptions.sub_to_user=sip_presence.sip_user and sip_subscriptions.sub_to_host=sip_presence.sip_host and sip_subscriptions.profile_name=sip_presence.profile_name) where sip_subscriptions.expires > -1 and (event='presence' or event='dialog') and sub_to_user='1000' and (sub_to_host='192.168.1.10' or presence_hosts like '%192.168.1.10%') and (sip_subscriptions.profile_name = 'internal' or sip_subscriptions.presence_hosts != sip_subscriptions.sub_to_host)] library routine called out of sequence</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">2010-06-28 12:14:13.886956 [NOTICE] sofia.c:4369 Ring-Ready sofia/internal/1000!</font></div><div><font class="Apple-style-span" face="'courier new', monospace">2010-06-28 12:14:15.819755 [ERR] switch_core_sqldb.c:411 SQL ERR [library routine called out of sequence]</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">update sip_dialogs set state='confirmed',presence_id='<a href="mailto:1000@192.168.1.10">1000@192.168.1.10</a>',presence_data='' where uuid='313369b2-82d0-11df-84f0-078cbd7c22e4';</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">2010-06-28 12:14:15.825582 [NOTICE] sofia.c:4855 Channel [sofia/internal/1000] has been answered</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">2010-06-28 12:14:15.825582 [ERR] originate.js:1 Call not connected. Cause: NONE[0]</font></div><div><font class="Apple-style-span" face="'courier new', monospace">... [lots of </font><span class="Apple-style-span" style="font-family: 'courier new', monospace; ">switch_core_sqldb.c errors ] ...</span></div>
<div><br></div><div><br></div><br><div class="gmail_quote">On Mon, Jun 28, 2010 at 10:09 AM, 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;">try latest GIT and see if it is any better.</blockquote></div></div></div></div></div></div>