Hundreds of accounts with pjsip (python binding)

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

 



On Mon, Aug 4, 2008 at 8:35 AM, Andrea Spadaccini <
a.spadaccini at mediatechnologies.it> wrote:

> Ciao Benny,
>
> > So perhaps at some point you'd have to partition the application so that
> each
> > instance will handle smaller amounts of calls.
>
> Can you please tell me the maximum number of calls that I can make?
>
>
The hard limit is configurable, as you found out. The article in the FAQ
talks about performance, and for this YMMV.



> With only 5 calls, I get these error messages:
>
> 2000 is calling 2005
> Call with sip:2005 at 192.168.1.90 <sip%3A2005 at 192.168.1.90> is CALLING last
> code = 0 ()
> 2001 is calling 2006
> Call with sip:2006 at 192.168.1.90 <sip%3A2006 at 192.168.1.90> is CALLING last
> code = 0 ()
> 2002 is calling 2007
> Call with sip:2007 at 192.168.1.90 <sip%3A2007 at 192.168.1.90> is CALLING last
> code = 0 ()
> 2003 is calling 2008
> Call with sip:2008 at 192.168.1.90 <sip%3A2008 at 192.168.1.90> is CALLING last
> code = 0 ()
> 2004 is calling 2009
>  09:24:33.268   pjsua_call.c  Error making file: Too many objects of the
> specified type (PJ_ETOOMANY) [status=70010]
> Eccezione: Object: {Account sip:2004 at 192.168.1.90<sip%3A2004 at 192.168.1.90>},
> operation=make_call(), error=Too many objects of the specified type
> (PJ_ETOOMANY)
> Call with sip:2005 at 192.168.1.90 <sip%3A2005 at 192.168.1.90> is CALLING last
> code = 0 ()
> Call with sip:2006 at 192.168.1.90 <sip%3A2006 at 192.168.1.90> is CALLING last
> code = 0 ()
> Call with sip:2007 at 192.168.1.90 <sip%3A2007 at 192.168.1.90> is CALLING last
> code = 0 ()
> Call with sip:2008 at 192.168.1.90 <sip%3A2008 at 192.168.1.90> is CALLING last
> code = 0 ()
> Call with sip:2005 at 192.168.1.90 <sip%3A2005 at 192.168.1.90> is DISCONNCTD
> last code = 487 (Request Terminated)
> Call with sip:2006 at 192.168.1.90 <sip%3A2006 at 192.168.1.90> is DISCONNCTD
> last code = 487 (Request Terminated)
>  09:24:33.814   pjsua_call.c  Error initializing media channel: Object is
> busy (PJ_EBUSY) [status=70011]
>
> I included some output from my app (derived from registration.py) in order
> to
> make clear what I'm doing.
>
>
It looks like UAConfig.max_calls is not set.

Cheers
 Benny



> TIA,
> Andrea
>
> --
> Dr. Andrea Spadaccini
> Multimedia Technologies Institute - MTI S.r.l.
> Web: www.x-voice.it - Tel: +39 (0) 95 7224945
>
> _______________________________________________
> 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/20080804/132a5be8/attachment.html 


[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