[sr-dev] [kamailio/kamailio] Siptrace (#1912)

Ionut Ionita notifications at github.com
Mon Apr 8 13:33:13 CEST 2019


ionutionita92 commented on this pull request.



> @@ -1332,16 +1533,226 @@ static void trace_onreply_out(struct cell *t, int type, struct tmcb_params *ps)
 	sto.stat = siptrace_rpl;
 #endif
 
-	sip_trace_store(&sto, NULL, NULL);
-	return;
+	if (info->uriState == STRACE_RAW_URI) {
+		LM_BUG("uriState must be either UNUSED or PARSED here! must be a bug! Message won't be traced!\n");
+		abort();

This was for debugging purposes, forgot it there. Thanks alot for this one.

-- 
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_r273000642
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190408/1fdc7d7a/attachment.html>


More information about the sr-dev mailing list