Unable register more than 8 accounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux