[Freeswitch-users] Javascript: inconsistent session.ready() result when originating a call

Anthony Minessale anthony.minessale at gmail.com
Mon Jun 28 09:44:49 PDT 2010


update again small hiccup in the revisions


On Mon, Jun 28, 2010 at 11:33 AM, Marc Kellem <mkellem at vontoo.com> wrote:

> 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.
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100628/207ef9f5/attachment-0001.html 


More information about the FreeSWITCH-users mailing list