[Freeswitch-users] Javascript: inconsistent session.ready() result when originating a call
Marc Kellem
mkellem at vontoo.com
Mon Jun 28 09:33:03 PDT 2010
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.
2010-06-28 12:14:13.653989 [INFO] sofia.c:662 sofia/internal/1000 Update
Callee ID to "1000" <1000>
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
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
2010-06-28 12:14:13.886956 [NOTICE] sofia.c:4369 Ring-Ready
sofia/internal/1000!
2010-06-28 12:14:15.819755 [ERR] switch_core_sqldb.c:411 SQL ERR [library
routine called out of sequence]
update sip_dialogs set
state='confirmed',presence_id='1000 at 192.168.1.10',presence_data=''
where uuid='313369b2-82d0-11df-84f0-078cbd7c22e4';
2010-06-28 12:14:15.825582 [NOTICE] sofia.c:4855 Channel
[sofia/internal/1000] has been answered
2010-06-28 12:14:15.825582 [ERR] originate.js:1 Call not connected. Cause:
NONE[0]
... [lots of switch_core_sqldb.c errors ] ...
On Mon, Jun 28, 2010 at 10:09 AM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:
> try latest GIT and see if it is any better.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100628/d1870b96/attachment.html
More information about the FreeSWITCH-users
mailing list