On Thursday 27 October 2011, Daniel-Constantin Mierla wrote:
Module: sip-router
Branch: master
Commit: f5803916a37e0f2151335e65283060c6a88de9e0
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f58039
16a37e0f2151335e65283060c6a88de9e0
core: new command line option -I
- print details about default internal attributes
Hi Daniel,
have you thought about just extending the existing '-V' parameter? You print
some more informations with the new added parameter, but its a bit redundant,
IMHO. Or maybe remove the "non-version" information from the '-V'
parameter?
$ ./kamailio -V
version: kamailio 3.3.0-dev1 (i386/linux) 0b8f2e
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 0b8f2e
compiled on 10:30:32 Oct 28 2011 with gcc 4.4.5
$ ./kamailio -I
Print out of kamailio internals
Version: kamailio 3.3.0-dev1 (i386/linux) 0b8f2e
Default config: /usr/local/etc/kamailio/kamailio.cfg
Default paths to modules:
/usr/local/lib/kamailio/modules:/usr/local/lib/kamailio/modules_s:/usr/local/lib/kamailio/modules_k
Compile flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS,
USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP,
PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
MAX_RECV_BUFFER_SIZE=262144
MAX_LISTEN=16
MAX_URI_SIZE=1024
BUF_SIZE=65535
DEFAULT PKG_SIZE=4MB
DEFAULT SHM_SIZE=32MB
ADAPTIVE_WAIT_LOOPS=1024
TCP poll methods: poll, epoll_lt, epoll_et, sigio_rt, select
Source code revision ID: 0b8f2e
Compiled with: gcc 4.4.5
Compiled on: 10:30:32 Oct 28 2011
Thank you for flying kamailio!
Best regards,
Henning