<div dir="ltr">Hi,<div>using the permissions module with kamailio 4.0.x I realized that both mi and rpc commands to reload address table are not working.</div><div>This is because the function they both call (address_table_reload) assumes that the db connection has already been initiated.</div>

<div>The behavior is the same in the master branch.</div><div>I attach a patch for this.</div><div><br></div><div>Regards,</div><div><br></div><div>Federico Cabiddu</div></div>