[sr-dev] [kamailio/kamailio] extend siptrace module tracing methods (#1912)
Henning Westerholt
notifications at github.com
Mon Apr 8 21:36:48 CEST 2019
henningw commented on this pull request.
> @@ -304,10 +338,30 @@ static int mod_init(void)
/* register callbacks to TM */
if(load_tm_api(&tmb) != 0) {
LM_WARN("can't load tm api. Will not install tm callbacks.\n");
- } else if(tmb.register_tmcb(0, 0, TMCB_REQUEST_IN, trace_onreq_in, 0, 0)
- <= 0) {
- LM_ERR("can't register trace_onreq_in\n");
- return -1;
+ }
+
+ if (load_dlg_api(&dlgb) < 0) {
+ LM_WARN("can't load dlg api. Will not install dialog callbacks.\n");
It was only a minor comment. But having though about one more time its makes sense now with your comment.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1912#discussion_r273206034
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190408/532dcb47/attachment.html>
More information about the sr-dev
mailing list