Hi,using the permissions module with kamailio 4.0.x I realized that both mi and rpc commands to reload address table are not working.
This is because the function they both call (address_table_reload) assumes that the db connection has already been initiated.
The behavior is the same in the master branch.
I attach a patch for this.
Regards,
Federico Cabiddu