Did you try to increase the /PJSUA_MAX_ACC /defined in/pjsip/include/pjsua-lib/pjsua.h ?/ Am 13.06.2012 15:35, schrieb Ilya Korolev: >> And I have another one question - how should I create accounts to prevent "Object is busy (PJSIP_EBUSY) [status=171001]" error on registration? I'm trying to use "pj.Lib.instance().auto_lock()" on creating account, but it doesn't help unfortunately. The only way I've found is to create accounts in groups (about 10-20 in size) and then sleep for some timeout > It looks like, I receive "object is busy" on destroying Lib, not on initial registration: > 17:23:12.559 pjsua_core.c Shutting down, flags=0... > 17:23:12.559 pjsua_core.c PJSUA state changed: RUNNING --> CLOSING > 17:23:12.559 pjsua_call.c .Hangup all calls.. > 17:23:12.559 pjsua_pres.c .Shutting down presence.. > 17:23:12.560 pjsua_media.c .Shutting down media.. > 17:23:12.560 pjsua_aud.c ...Closing null sound device.. > 17:23:12.572 pjsua_media.c ..Call 0: deinitializing media.. > 17:23:12.572 pjsua_media.c ..Call 1: deinitializing media.. > 17:23:12.572 pjsua_media.c ..Call 2: deinitializing media.. > 17:23:12.572 pjsua_media.c ..Call 3: deinitializing media.. > 17:23:12.923 pa_dev.c ..PortAudio sound library shutting down.. > 17:23:12.924 pjsua_acc.c .Acc 0: setting unregistration.. > 17:23:12.924 sip_reg.c ..Unable to send request, regc has another transaction pending > 17:23:12.924 pjsua_acc.c ..Unable to create/send REGISTER: Object is busy (PJSIP_EBUSY) [status=171001] > > But I still has no any idea, how to fix issue with 'username' in Proxy-Authorization header. Is it a good idea to create 1K accounts with pjsip? Are there any limitations to its value? > > I've tried both versions: 2.0 and svn trunk. I build it on x86_64 machine running Ubuntu 12.04. > > Thanks in advance > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120613/b6834449/attachment.html>