On Fri, Dec 18, 2009 at 1:12 AM, Anthony Minessale <
anthony.miness...@gmail.com> wrote:

> The sql is sorted into transactions to boost performance so it waits for
> either 500 statements to execute or 500ms to elapse to accumulate as many
> sql stmts as possible into the transaction.
>
> set sql-in-transactions to false in your profile or make a patch to make
> the 500ms configurable
>

Thanks.
To change the param sql-in-transactions is enough for me (just during
tests).
I tested setting it to false and the behavior is as expected.
I have updated the wiki:
http://wiki.freeswitch.org/wiki/Sofia.conf.xml#sql-in-transactions


> On Thu, Dec 17, 2009 at 9:53 AM, mayamatakeshi <mayamatake...@gmail.com>wrote:
>
>> It seems to me, in previous revisions of FS, we could successfully call a
>> registered user as soon as his terminal gets 200 OK for REGISTER.
>> But after testing recent revisions, it seems we must wait a little (I wait
>> 1 second) otherwise a call to bridge would end with this:
>>
>> 2009-12-17 22:46:14.155163 [ERR] switch_ivr_originate.c:2249 Cannot create
>> outgoing channel of type [sofia] cause: [USER_NOT_REGISTERED]
>>
>> Similar thing is happening when the terminal unregisters: after
>> unregistration an immediate call to bridge sofia/profile/user%domain will
>> succeed.
>>
>> Has anything changed recently in the way registration works that could
>> explain this?
>>
>> br,
>> takeshi
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users@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_miness...@hotmail.com <msn%3aanthony_miness...@hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com<paypal%3aanthony.miness...@gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:8...@conference.freeswitch.org <sip%3a...@conference.freeswitch.org>
> iax:gu...@conference.freeswitch.org/888
> googletalk:conf+...@conference.freeswitch.org<googletalk%3aconf%2b...@conference.freeswitch.org>
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to