release 1788 - possible issues

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

 



Hi all,

I got r1788 and had a few issues here. When I try compiling I get the
error bellow:
../src/pj/ioqueue_select.c:45:5: error: #error
"PJ_IOQUEUE_MAX_HANDLES cannot be greater than FD_SETSIZE"

my config_site.h:

#   define PJ_SCANNER_USE_BITWISE       0
#   undef PJ_OS_HAS_CHECK_STACK
#   define PJ_OS_HAS_CHECK_STACK        0
#   define PJ_LOG_MAX_LEVEL             4
#   define PJ_ENABLE_EXTRA_CHECK        0
#   define PJ_IOQUEUE_MAX_HANDLES       5000
#   define PJSIP_MAX_TSX_COUNT          ((640*1024)-1)
#   define PJSIP_MAX_DIALOG_COUNT       ((640*1024)-1)
#   define PJSIP_UDP_SO_SNDBUF_SIZE     (24*1024*1024)
#   define PJSIP_UDP_SO_RCVBUF_SIZE     (24*1024*1024)
#   define PJ_DEBUG                     0
#   define PJSIP_SAFE_MODULE            0
#   define PJ_HAS_STRICMP_ALNUM         1
#   define PJ_HASH_USE_OWN_TOLOWER      1
#   define PJSIP_UNESCAPE_IN_PLACE      1
#   define PJSUA_MAX_CALLS              512
#   define PJSIP_AUTH_HEADER_CACHING    1
#   define PJSIP_AUTH_AUTO_SEND_NEXT    1


if I comment out the line with PJ_IOQUEUE_MAX_HANDLES it compiles
fine, but then I have problems to start the application with a high
number of calls, saying that I can't create that many objects when it
tries to listen for the udp ports (I've tried using 250 calls in
max_calls).

I also found a thing with the logs. When I set Console Level to 4 and
log level to 0, the console log is also 0. I have to set both console
log level and log level to 4 if I want to have a log level of 4 in my
console. It's not really a problem for my application, but it seems
interesting to point out.

I don't really have the time right now to find the problems in the
code, sorry for just showing them and not fixing anything.


My previous version (that works fine) is release 1629.

regards,

Thiago


      Abra sua conta no Yahoo! Mail, o ?nico sem limite de espa?o para armazenamento!
http://br.mail.yahoo.com/



[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