Module: kamailio
Branch: master
Commit: 284c11ed16bdc5afcc9abf49c9f5c1749ce831e0
URL:
https://github.com/kamailio/kamailio/commit/284c11ed16bdc5afcc9abf49c9f5c17…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/284c11ed16bdc5afcc9abf49c9f5c17…
Patch:
https://github.com/kamailio/kamailio/commit/284c11ed16bdc5afcc9abf49c9f5c17…
---
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;