i noticed that mi_fifo dp_reload command fails, but if i give the same
command using xmlrpc, it works. i have not yet been able to figure out
why.
sip-proxy_ctl> mi_fifo dp_reload
error: 500 - execution failed
sip-proxy_ctl> Apr 2 13:07:21 localhost /usr/sbin/sip-proxy[13359]: ERROR:
<core> [db.c:421]: invalid parameter value
Apr 2 13:07:21 localhost /usr/sbin/sip-proxy[13359]: ERROR: dialplan [dp_db.c:210]: error
in use_table dialplan
Apr 2 13:07:21 localhost /usr/sbin/sip-proxy[13359]: ERROR: dialplan [dialplan.c:471]:
failed to reload database data
looks like dp_db_handle parameter is not initialized properly:
int dp_load_db(void)
...
if (dp_dbf.use_table(dp_db_handle, &dp_table_name) < 0){
LM_ERR("error in use_table %.*s\n", dp_table_name.len, dp_table_name.s);
return -1;
}
-- juha