Hundreds of accounts with pjsip (python binding)

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

 



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?

With only 5 calls, I get these error messages:

2000 is calling 2005
Call with sip:2005 at 192.168.1.90 is CALLING last code = 0 ()
2001 is calling 2006
Call with sip:2006 at 192.168.1.90 is CALLING last code = 0 ()
2002 is calling 2007
Call with sip:2007 at 192.168.1.90 is CALLING last code = 0 ()
2003 is calling 2008
Call with sip:2008 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}, operation=make_call(), error=Too many objects of the specified type (PJ_ETOOMANY)
Call with sip:2005 at 192.168.1.90 is CALLING last code = 0 ()
Call with sip:2006 at 192.168.1.90 is CALLING last code = 0 ()
Call with sip:2007 at 192.168.1.90 is CALLING last code = 0 ()
Call with sip:2008 at 192.168.1.90 is CALLING last code = 0 ()
Call with sip:2005 at 192.168.1.90 is DISCONNCTD last code = 487 (Request Terminated)
Call with sip:2006 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.

TIA,
Andrea

-- 
Dr. Andrea Spadaccini
Multimedia Technologies Institute - MTI S.r.l.
Web: www.x-voice.it - Tel: +39 (0) 95 7224945



[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