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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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;


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to