-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Description:
When I create a Custom Global Parameter with Description in my Kamailio configuration file like this:
pstn.gw_ip = "10.0.0.101" desc "My PSTN GW Address"
I can access the description using kamcmd
:
$ kamcmd cfg.help pstn gw_ip
My PSTN GW Address
(parameter type is string)
However, when I use kamcli
or kamctl
, the description is not included in the output:
$ kamcli rpc cfg.help pstn gw_ip
(log): Running JSONRPC command: [cfg.help]
id: 5278
jsonrpc: '2.0'
result: (parameter type is string)
Using kamctl
:
$ kamctl rpc cfg.help pstn gw_ip
{
"jsonrpc": "2.0",
"result": "(parameter type is string)",
"id": 39
}
I do not get the description in the output.
Environment:
- OS: Debian 11(bullseye) docker container
- Python version: Python 3.9.2
- kamcli version: kamcli, version 3.0.0
- kamcmd version: kamcmd 1.5
- kamctl version: 5.7.0
- kamailio version: kamailio 5.7.6 (x86_64/linux) f9e811
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, MEM_JOIN_FREE, 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_BLOCKLIST, 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: f9e811
compiled on 18:01:41 Nov 8 2024 with gcc 10.2.1
Metadata
Metadata
Assignees
Labels
No labels