Just to don't lose the answer - here is a diff to trunk version that I used to enable 1K accounts with pjsip. May be it will help someone like me ) 13.06.2012, 22:35, "ya-breeze at yandex.ru" <ya-breeze at yandex.ru>: > Yes, I increased it and recompiled the source. With MAX_ACC equals to 8, it's impossible to create the 9th account, but with increased value I can create a lot of accounts but registration is successful only for 8 first accounts. Proxy-authorization header for next accounts contains username of 8th account, so registration fails. > > 13.06.12, 17:57, "Pawel Kuzak" <pawel.kuzak at 1und1.de>": > >> ???????????????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.orgpjsip mailing listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -- > ?????????? ?? ????????? ??????.?????: http://m.ya.ru/ymail > > _______________________________________________ > 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 embedded and charset-unspecified text was scrubbed... Name: many_users.patch URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120628/64f6cfc9/attachment.patch>