<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Schneur,</p>
<p> I've got a few questions for you:<br>
</p>
<p> 1) Do you have a separate capturing node, using siptrace for
sending and sipcapture for recieving?</p>
<p> 2) If so what protocol are you using for sending the packets?
Do you use proto_hep?</p>
<p> 3) Are you calling sip_capture function in one of your
request routes?</p>
<p> 4) Can you send me your debug logs?</p>
<p>Regards,<br>
</p>
<pre class="moz-signature" cols="72">Ionut Ionita
OpenSIPS Developer</pre>
<div class="moz-cite-prefix">On 12/29/2016 04:10 PM, Schneur
Rosenberg wrote:<br>
</div>
<blockquote
cite="mid:CANvjR0X6f-dhExfjSv4C6DJwQp0ro_Nc3q+9wQAPwOVU1VH_sw@mail.gmail.com"
type="cite">
<div dir="ltr">I just added modparam("sipcapture",
"hep_capture_on", 1) and its not crashing anymore but now my
syslog gets flooded with the following error
<div><br>
</div>
<div>WARNING:sipcapture:w_sip_capture: not a hep message!<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Dec 29, 2016 at 3:34 PM,
Schneur Rosenberg <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:rosenberg11219@gmail.com" target="_blank">rosenberg11219@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I'm trying to use Homer on OpenSIPS 2.2 and
when I call sip_capture() the system crashes without
creating a dump and this is what I find in my syslog file
<div><br>
</div>
<div>
<div>Dec 29 08:28:52 sip /sbin/opensips[15524]:
CRITICAL:sipcapture:ip_addr2a: unknown address family
825112372</div>
<div>Dec 29 08:28:52 sip /sbin/opensips[15524]:
CRITICAL:sipcapture:ip_addr2a: unknown address family
775435057</div>
<div>Dec 29 08:28:52 sip kernel: [675596.209597]
opensips[15524]: segfault at 40 ip 00007f361a810e46 sp
00007ffcd8f850a0 error 4 in
sipcapture.so[7f361a7fc000+<wbr>26000]</div>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>