On Fri, Dec 18, 2009 at 1:12 AM, Anthony Minessale <
[email protected]> 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 <[email protected]>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
>> [email protected]
>> 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:[email protected] <msn%[email protected]>
> GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:[email protected] <sip%[email protected]>
> iax:[email protected]/888
> googletalk:[email protected]<googletalk%3aconf%[email protected]>
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-users mailing list
> [email protected]
> 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
[email protected]
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