[sr-dev] [kamailio/kamailio] Dump Configuration and Exit (new flag -C [filename]) (#2546)

CrazyTux notifications at github.com
Mon Nov 9 21:08:33 CET 2020


### Description

Add runtime flag -C [filename] which takes the given file name and dumps its compiled configuration (including include and import files)

### Expected behavior
Dump complete configuration after inclusions to terminal / stdout and exit.

#### Actual observed behavior
Flag does not exist

#### Debugging Data
N/A

### Additional Information

  * **Kamailio Version** - output of `kamailio -v`

version: kamailio 5.5.0-dev3 (x86_64/linux) 76bb9b
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 76bb9b 
compiled on 02:45:06 Oct 24 2020 with gcc 8.3.0

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2546
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20201109/b8621491/attachment.htm>


More information about the sr-dev mailing list