[sr-dev] mi_fifo dp_reload fails

Juha Heinanen jh at tutpro.com
Fri Apr 2 12:10:43 CEST 2010


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



More information about the sr-dev mailing list