[OpenSIPS-Devel] pua_publish mi command fails

Juha Heinanen jh at tutpro.com
Fri Sep 11 14:44:16 CEST 2009


has something changed, because i noticed that now with 1.5 and
trunk pua_publish mi command fails.  according to debug, everything goes
fine until 200 ok is received by pua module that then calls
mi_publ_rpl_cback with NULL parameter:

Sep 11 15:16:18 localhost /usr/sbin/pres-serv[3963]: DBG:pua:publ_cback_func: completed with status 200 [contact:sip:jh at vm.test.fi]
Sep 11 15:16:18 localhost /usr/sbin/pres-serv[3963]: DBG:pua:publ_cback_func: update record
Sep 11 15:16:18 localhost /usr/sbin/pres-serv[3963]: DBG:pua:run_pua_callbacks: found callback
Sep 11 15:16:18 localhost /usr/sbin/pres-serv[3963]: ERROR:pua_mi:mi_publ_rpl_cback: NULL parameter

according to the source, the test giving the error message is this:

	if(reply== NULL || hentity== NULL || hentity->cb_param== NULL)
	{
		LM_ERR("NULL parameter\n");
		return -1;
	}

how come that a good 200 ok response to publish calls mi callback with
null parameter(s)?

-- juha





More information about the Devel mailing list