Clarification of the --thread-cnt=N option PJSUA

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

 



Hi, using on Debian Linux box latest version of PJSUA. Just wanted someone to confirm this, the --thread-cnt=N option
with PJSUA softphone , is this so that one can receive multiple 
calls simultaneously. For example the callback function 

static void on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id,
                             pjsip_rx_data *rdata)


if i have 10 accounts registered, will this callback be called on a different
thread depending on the --thread-cnt=N setting. So if i want to answer 10 calls simultaneously do i need to have --thread-cnt=10. 

1.Is there any limit to the number of registered accounts, can i set it to 1000,10000 ??

2. Is there any limit to the number of sip worker threads

3. Regarding the answering of incoming calls, does the --max-calls=N
affect this and what is its relation to the number of sip worker threads

Thanks
 


      



[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