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
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