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




On Thu, Dec 17, 2009 at 9:53 AM, mayamatakeshi <mayamatakeshi@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_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900