Debian Codegraph @

ChangeLog

raw
1 Release: Kamcli v3.0.0 (Feb 21, 2026)
2
3 New features:
4 * cmd_acc: added command to reset missed calls table structure
5 * cmd_acc: added command to reset acc table structure
6 * cmd_pstrap: open subprocess output in text mode
7 * cmd_acc: added report for most active source IP addresses
8 * cmd_acc: rename variable used for query field
9 * ioutils: array for table values of ioutils_dict_print()
10 * cmd_acc: new command method-stats
11 * ioutils: helper function to print a dictionary with different formats
12 * cmd_acc: added report top-odst
13 * cmd_acc: added report for top dst
14 * cmd_acc: check if interval is greater than 0
15 * cmd_acc: added time interval cli option for acc report
16 * cmd_acc: adde command to print acc reports
17 * cmd_acc: added command to list missed calls records
18 * cli.py: replace deprecated SafeConfigParser() with ConfigParser()
19 * iorpc.py: replace deprecated isAlive() with is_alive()
20 * cmd_acc: use short_help for command description
21 * cmd_acc: provide rate_group parameter for rates generate command
22 * cmd_acc: explicit sql transaction begin for cdrs and rates generation
23 * cmd_acc: set default value for table names cli parameters
24 * cmd_db: proper user create for localhost for remote db
25 * cmd_acc: proper name for rates generate function
26 * cmd_acc: use connection to commit call of stored procedures
27 * cmd_acc: explicit commit after store procedure call to go around implicit sqlachemy rollback
28 * cmd_acc: fix use of % inside store procedure create statement
29 * requirements/base: simplify sqlalchemy version condition
30 * requirements: SQLAlchemy version has to be < 2.0.0
31 * kamcli.ini: sample tcp socket for jsonrpc
32 * iorpc: initial support for tcp transport
33 * cmd_pipelimit: update help message for list command
34 * cmd_pipelimit: proper help message for set pipe command
35 * cmd_pipelimit: command to reset the pipe
36 * cmd_apiban: log message with options to set the key
37 * cmd_pstrap: option to print ps line for each pid
38 * cmd_trap: option to print system ps for each pid from rpc ps result
39 * cmd_trap: renaemd option --no-ps to --no-rpc-ps
40 * cmd_trap: option to skip rpc command to get the list of processes
41 * cmd_jsonrpc: use shorter alias command in help message
42 * cmd_jsonrpc: cli option to set store path for rpc commands
43 * iorpc: option to set store path for udp and fifo rpc commands
44 * cmd_srv: reimplemented cmd runinfo to execute rpc core.runinfo
45 * cmd_srv: renamed runinfo to rundetails
46 * cmd_srv: added runinfo command
47 * cmd_htable: added commands for rpc setxs and setxi
48 * kamcli: aliased acl to command group
49 * cmd_speedial: added cli options to set fname and lname
50 * kamcli.ini: added mt command alias to mtree
51 * cmd_db: format the code with black
52 * cmd_acc: no limit condition for cdrs list
53 * cmd_acc: list prints all acc records if --limit=0
54 * cmd_acc: formatted code
55 * cmd_acc: added rates-generate command
56 * cmd_acc: added rates-proc-create command
57 * cmd_acc: renamed rating-table-create to rates-table-create
58 * cmd_acc: added rates-rm command
59 * cmd_acc: added rates-add command
60 * cmd_acc: added cdrs-list command
61 * cmd_acc: added cdrs-generate command
62 * cmd_db: added create-table-like command
63 * cmd_db: updates to grant and revoke commands
64 * cmd_shell: display sip server uptime on start
65 * cmd_htable: added command to set expire
66 * kamcli.ini: sample config and docs for shell options
67 * cmd_shell: get nohistory and nosyntax also from config
68 * kamcli.ini: renamed section to shell.cmdremap
69 * cmd_shell: updates to get the entries for shell.cmdremap
70 * kamcli.ini: config section for shell command
71 * cmd_shell: check the options for no connect and no rpc autocomplete in config
72 * cmd_shell: connect on starting to running kamailio and display its version
73 * cmd_shell: auto-complete options for srv rpchelp
74 * cmd_apiban: try also to get apiban.org key from env variable $APIBANKEY
75 * cmd_shell: info message if it cannot fetch the list of rpc commands
76 * cmd_apiban: added option to set expire for loaded item in htable
77 * cmd_shell: check length of output fetching rpc commands
78 * cmd_sell: set timeout for popen() operations to fetch rpc commands
79 * cmd_shell: option to siable rpc command auto complete
80 * cmd_shell: load the list of rpc commands at init for completion
81 * cmd_jsonrpc: option for not printing log message
82 * cmd_apiban: added check subcommand
83 * kamcli.ini: section for apiban command
84 * cmd_apiban: added command for apiban records management
85 * tls: added subcommand to generate self signed certs using openssl
86 * cmd_acc: added list command
87 * cmd_acc: create cdr_id column for acc and cdrs tables
88 * requirements: set requirement to Click~=7.0
89 * ioutils: convert rows to dict for tabulate output of db result
90 * cmd_subscriber: added cli parameter to specify database table name
91 * cmd_subscriber: use string format to build sql queries
92 * ioutils: add fallback options for getting config outformat and outstyle
93 * cmd_db: list userblocklist module
94 * dbutils: cope with sql files of renamed modules
95 * cmd_srv: added debug subcommand
96 * ioutils: read outstyle db config option
97 * kamcli.ini: config option outstyle for db section
98 * cmd_sipreq: skip adding Contact header if --curi=none
99 * cmd_sipreq: added option to set additional headers
100 * kamcli.ini: added outformat attribute to db section
101 * ioutils: support yaml output for db results
102 * cli: overwrite [jsonrpc/outformat] config value with -F parameter
103 * cmd_sipreq: send SIP request via RPC command
104 * cmd_ping: fix rpc command for nowait option
105 * cmd_ping: --nowait cli option to skip waiting for sip response
106 * cmd_ping: added option to set from uri
107 * kamcli: added ping subcommand
108 * cmd_htable: option to ask confirmation for remove commands
109 * cmd_subscriber: ask confirmation when removing user
110 * cmd_mtree: ask confirmation when removing prefix
111 * cmd_pipelimit: ask confirmation when removing a pipe
112 * cmd_pipelimit: added db-rm command
113 * mtree: db-show with many prefixes
114 * cmd_pipelimit: set type to int for limit argument in set pipe command
115 * cmd_pipelimit: added db add and show commands
116 * kamcli.ini: aliased pl to pipelimit
117 * cmd_pipelimit: added commands for rpc stats and set pipe
118 * cmd_pipelimit: added command for pipelimit management
119 * cmd_db: fix invalid syntax error and some typos
120 * cmd_db: get the scriptsdirectory cfg attribute if not provided as argument
121 * cmd_db: use scripts directory name instead of sql directory
122 * kamcli.ini: scriptsdirectory - new option to set path to db tables create scripts
123 * cmd_db: use psql tool to create database
124 * cmd_db: create subcommand for postgresql, additional options
125 * cmd_db: option to create all tables without interactive confirmation
126 * cmd_db: create functionality for sqlite
127 * cmd_db: option to confirm dropping database
128 * cmd_db: drop for sqlite
129 * cmd_db: no-grant option for create command
130 * cmd_db: postgres support for create-dbonly and drop
131 * cmd_db: use rwurl for version subcommands
132 * cmd_db: show create for postgres and sqlite
133 * cmd_db: slite support for cli subcommands
134 * kamcli.ini: added comments with sqlite options
135 * cmd_db: remove use of CMD_BASE for mysql cli commands
136 * cmd_db: postgresql support for clirun, clishow and clishowg
137 * kamcli: restore default database type to mysql
138 * cmd_db: connect subcommand for postgresql
139 * cmd_db: move CMD_BASE per db dtriver handling
140 * kamcli.ini: showing postgres settings
141 * cmd_shell: create ~/.kamcli folder if not exists and history is enabled
142 * cmd_shm: added subcommand for shm related rpc commands
143 * cmd_pike: removed unused import
144 * cmd_pkg: added subcommand for pkg related rpc commands
145 * Fix small typo on cmd_srv.py comments
146 * README.md: details about the order of how configuration files are loaded
147 * cli: reorder loading paths for config files
148 * cmd_shell: internal command ':c' to print command remapping associations
149 * kamcli.ini: new section [cmd_shell.cmdremap]
150 * cmd_shell: support for commands remapping
151 * cmd_uacreg: added group short help
152 * cmd_tcp: added group short help
153 * cmd_ul: added group short help
154 * cmd_config: print subcommand aliases as an ordered json document
155 * cli: read config at startup and update command aliases
156 * kamcli.ini: section for command aliases
157 * cmd_subscriber: added group short help
158 * cmd_shell: option -S to disable command line syntax highlighting
159 * added pygments to requirements
160 * cmd_shell: bash syntax highlighting for command line using pygments
161 * cmd_shell: added auto suggest from history
162 * cmd_speeddial: added group short help
163 * cmd_shv: added group short help
164 * added -h as option to print help message
165 * cmd_db: added query subcommand
166 * cmd_rtpengine: added group short help
167 * cmd_avp: added db rm and show subcommands
168 * cmd_avp: new command to mange avp records in usr preferences
169 * cmd_trap: reorganize help messages
170 * cmd_pstrap: reorganized help messages
171 * cmd_pike: added group short help
172 * cmd_mtree: added group short help
173 * cmd_jsonrpc: small adjustment to the help text
174 * cmd_htable: added group short help
175 * cmd_group: added group short help
176 * cmd_config: added group short help
177 * cmd_alias: added group short help
178 * cmd_address: added group short help
179 * cmd_domain: added group short help
180 * cmd_dlgs: added group short help
181 * cmd_dialplan: added group short help
182 * cmd_dialog: added group short help
183 * cmd_dispatcher: added group short help
184 * cmd_acc: added group short help
185 * cmd_db: added group short help
186 * cmd_shell: make the prompt bold style
187 * cmd_shell: option to run without saving commands history
188 * cmd_config: option to install config in user directory
189 * added prompt-toolkit to setup requirements
190 * cmd_shell: interactive shell subcommand
191 * cmd_htable: option to set the type for value in db-add
192 * iorpc: allow write to temporary response unixsocket file
193 * cmd_mtree: renamed commands for db operations
194 * cmd_htable: decode database table name value
195 * cmd_htable: added db-show subcommand
196 * cmd_htable: dbtname is now option
197 * cmd_htable: added db-add and db-rm subcommands
198 * iorpc: decode() on read from file
199 * iorpc: encode() on fifo command string
200 * cmd_pike: subcommand to manage the pike module
201 * cmd_dlgs: added briefieng and getall subcommands
202 * cmd_dlgs: update function name to match the command
203 * cmd_dlgs: added dlgs subcommand
204 * cmd_htable: added store subcommand
205 * commands: added pstrap command
206 * cmd_tap: decode() on rpc command response
207 * cmd_trap: option to print more runtime details to output file
208 * cmd_trap: use bytes decode() for string conversion
209 * cmd_trap: convert json reponse to string for writing to file
210 * cmd_trap: print output of core.psx in the trap file
211 * cmd_trap: output file name computed in the main function
212 * cmd_config: command to install config file to /etc/kamcli/kamcli.ini
213 * cmd_htable: command to print htable stats
214 * cmd_htable: command to list the hash tables
215 * ioutils: handle context output format
216 * kamcli: added output format (-F) generic cli option
217 * cmd_htable: added reload subcommand
218 * kamcli: aliased sht to htable command
219 * kamcli: cli - look for kamcli.ini in current directory and ./kamcli/ subfolder
220 * cmd_htable: command to remove an item from hash table
221 * cmd_htable: added flush command to remove all the content from an hash table
222 * cmd_htable: command to manage htable items
223 * cmd_srv: subcommand to manage shared value variables - $shv(name)
224 * cmd_address: fixed mode option name for list command
225 * cmd_stats: option to fetch stats with numeric values
226 * cmd_stats: replaced stats.get_statistics with stats.fetch
227 * iorpc: decode response from the server
228 * iorpc - encode string to be sent on inet sockets
229 * cmd_db: fix version table management
230 * cmd_db: added command to get version number for a table structure
231 * cmd_db: added command to set version number for specific table
232 * cmd_db: added command to revoke access to database
233 * cmd_db: added database drop command
234 * cmd_db: add users in create full database command
235 * cmd_db: use short_help attribute when defining command
236 * cmd_db: added command to create a specific extension group of tables
237 * cmd_db: added commands to create specific group of database tables
238 * cmd_db: added command to create users and grant privileges
239 * kamcli.ini: added db accesshost option
240 * cmd_db: added subcommand to create database only
241 * cmd_db: added subcommand to create database structure
242 * kamcli.ini: add db admin access attributes
243 * cmd_acc: added command to create rating table
244 * cmd_acc: use sql execute to create tables and procedures
245 * cmd_acc: add subcommand to create cdrs stored procedure
246 * cmd_acc: added subcommand to create the cdrs table
247 * cmd_acc: separate commands to update acc or missed_calls tables structures
248 * cmd_acc: command for accounting management
249 * dbutils.py - added file to collect common functions for db operations
250 * cmd_db: run pre-commit hooks for black formatting
251 * cmd_db: added subcommand to update acc and missed calls table structure
252 * cmd_trap: added the gdb trap command
253 * added ctx function to print without new line
254 * cmd_srv: subscommand to print rpc method help
255 * cmd_uacreg: proper function name to match command scope
256 * added srv shm subcommand
257 * requirements strcuture update (#10)
258 * iorpc: remove variables not used
259 * ioutils: remove variable not used
260 * cmd_db: add missing import
261 * cmd_dialplan: fix dialplan_translate cmd
262 * cmd_srv: match function names with commands
263 * cmd_srv: subcommand to print pre-processor defines
264 * cmd_dispatcher: aded subcommands for add/remove in memory records
265 * cmd_dialog: added match subcommand
266 * cmd_dialog: fix terminate function name
267 * add kamgroup config to set group ownership of the file created at path
268
269 Release: Kamcli v2.0.0 (Sep 30, 2019)
270
271 New features:
272 * support for Python 3.x
273 * run sql statements from a file
274 * print command aliases
275 * cmd uacreg: management of uacreg records
276 * cmd srv: server info
277 * cmd rtpengine: management of rtpengine module
278 * cmd tcp: management of tcp connections
279
280 Release: Kamcli v1.1.0 (Oct 16, 2018)
281
282 For more detailed list of changes, see the git log.