[Freeswitch-users] Small delay in registration validity

mayamatakeshi mayamatakeshi at gmail.com
Thu Dec 17 08:50:48 PST 2009


On Fri, Dec 18, 2009 at 1:12 AM, Anthony Minessale <
anthony.minessale at 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 <mayamatakeshi at 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 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>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:+19193869900
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091218/c289dc0c/attachment-0002.html 


More information about the FreeSWITCH-users mailing list