[OpenSIPS-Devel] pua_publish mi command fails
Anca Vamanu
anca at opensips.org
Fri Sep 11 18:39:06 CEST 2009
Hi Juha,
I have fixed the error. It was indeed introduced recently when fixing
some other bug :). I will not port it to 1.5 branch yet because I have
noticed a problem when running with pua_usrloc and I want to fix that
also before porting.
Thanks for the report,
Anca
Juha Heinanen wrote:
> 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
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>
>
More information about the Devel
mailing list