[sr-dev] missing callback in struct publ_info (module pua)
Marius Ovidiu Bucur
Marius.Bucur at 1and1.ro
Thu Aug 5 18:07:17 CEST 2010
Hello,
It looks like it's missing from the code. You should report this in the tracker or send the patch to the list.
Cheers,
Marius
________________________________________
From: sr-dev-bounces at lists.sip-router.org [sr-dev-bounces at lists.sip-router.org] On Behalf Of nikita [nikita at mbdsys.com]
Sent: Tuesday, August 03, 2010 3:42 PM
To: sr-dev at lists.sip-router.org
Subject: [sr-dev] missing callback in struct publ_info (module pua)
Hello,
I was trying to write a small module using the pua api, unfortunatly I
have found that there is no callback on publish reply (struct publ_info
: publrpl_cb_t* cbrpl;) unlike what is described in the doc.
(http://kamailio.org/docs/modules/devel/modules_k/pua.html#id2556188).
Maybe I have missed an old thread ex plaining that issue ? I have found
that I can do something similar with register_puacb
(modules_k/pua/send_publish.c:341) but in the doc it's said that the
functio||n is for subscribe reply (it's why I was trying to add the
callback in struct publ_info).
If it's a bug, I have already a patch to add the publrpl_cb_t in
publ_info and I guess it's working but I have tested it only with my module.
Please, tell me if you want that I open a new ticket in the bug tracker
about it.
Thanks,
--
nikita
_______________________________________________
sr-dev mailing list
sr-dev at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
More information about the sr-dev
mailing list