[sr-dev] git:master:284c11ed: siptrace: don't execute core event for net data out for HEP packets

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 6 10:06:17 CET 2016


Module: kamailio
Branch: master
Commit: 284c11ed16bdc5afcc9abf49c9f5c1749ce831e0
URL: https://github.com/kamailio/kamailio/commit/284c11ed16bdc5afcc9abf49c9f5c1749ce831e0

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-01-06T10:05:35+01:00

siptrace: don't execute core event for net data out for HEP packets

---

Modified: modules/siptrace/siptrace.c

---

Diff:  https://github.com/kamailio/kamailio/commit/284c11ed16bdc5afcc9abf49c9f5c1749ce831e0.diff
Patch: https://github.com/kamailio/kamailio/commit/284c11ed16bdc5afcc9abf49c9f5c1749ce831e0.patch

---

diff --git a/modules/siptrace/siptrace.c b/modules/siptrace/siptrace.c
index df6ceff..cc0c0f2 100644
--- a/modules/siptrace/siptrace.c
+++ b/modules/siptrace/siptrace.c
@@ -1790,7 +1790,7 @@ static int trace_send_hep_duplicate(str *body, str *from, str *to, struct dest_i
 	memcpy((void*)(buffer + buflen) , (void*)body->s, body->len);
 	buflen +=body->len;
 
-	if (msg_send(dst_fin, buffer, buflen)<0)
+	if (msg_send_buffer(dst_fin, buffer, buflen, 1)<0)
 	{
 		LM_ERR("cannot send hep duplicate message\n");
 		goto error;




More information about the sr-dev mailing list